Retrieve a policy with all its rules and dirty state indicator
dirty flag indicating whether the policy has been modified since the last completed scan.
401 UNAUTHORIZED if not authenticated.
pdf or prebuiltaml, gdpr, or soc2structuring, retention, encryption)CRITICAL, HIGH, or MEDIUMtrue: Policy has been updated (rules added/removed/modified) since last scanfalse: Policy unchanged since last scan, or no scans exist yetdirty flag helps track whether a policy needs to be rescanned:
policy.updated_at against the latest completed scan’s completed_at timestamptrue if the policy was modified after the last scanfalse if unchanged or if no scans exist yetcreated_at in ascending order (oldest first)threshold field is parsed as a float for numeric compatibility[] if no rules exist for the policy