Skip to main content

PolicyRun Table

This table stores metadata about policy runs, including the policy ID, name, description, run time, snapshot time, object type, and statistics about the run.

Fields

FieldBQ TypeCA TypeDescription
policyIdSTRINGPolicy IDThe unique identifier of the policy
policyNameSTRINGThe display name of the policy
policyDescriptionSTRINGA brief description of the policy
runTimeTIMESTAMPThe date and time the policy run was executed
snapshotTimeTIMESTAMPThe date and time the snapshot was taken for the policy run
objectTypeSTRINGType API NameThe type of cloud resource the policy is evaluating
masterTypeType API NameThe type of the master object associated with the cloud resource.
completedBOOLEANIndicates whether the policy run was completed successfully.
statsRECORDA nested record containing statistics about the policy run.
stats.disappearedINTEGERThe number of resources that were no longer present in the cloud environment during the policy run.
stats.compliantINTEGERThe number of resources that were compliant with the policy during the policy run.
stats.incompliantINTEGERThe number of resources that were non-compliant with the policy during the policy run.
stats.inapplicableINTEGERThe number of resources that were not applicable to the policy during the policy run.
stats.undeterminedINTEGERThe number of resources for which the compliance status could not be determined during the policy run.

Data Source

This table is populated by the Compliance Engine's policy evaluation process.

Purpose

This table is used to:

  • Track policy execution history.
  • Analyze compliance trends over time.
  • Identify policies that are consistently failing or producing errors.
  • Monitor the overall health of the compliance engine.

Notes

  • The stats field provides valuable insights into the performance and effectiveness of individual policies.
  • The snapshotTime field indicates the point in time the data was collected for the policy run.