Policy API shows prior violation, Policy UI shows no current violations
search cancel

Policy API shows prior violation, Policy UI shows no current violations

book

Article ID: 283647

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

 

This is expected behavior.  The API will return the last violation that occurred even if it is far in the past.

 

When you access the API endpoint for violations, it returns the most recent evaluation of the policy_block that includes violations. It's important to note that this may not necessarily be the most recent evaluation of the policy_block overall.