PolicyIssue
PolicyIssue represents a policy violation or issue detected during policy evaluation.
Properties
idstring requiredThe unique identifier of the policy issue.entityTypeenum requiredThe type of entity this issue applies to.Values:stack,insights-accountentityProjectstring requiredThe project name (for stack entities) or parent Insights account name (for resource entities).entityIdstring requiredThe identifier of the entity this issue applies to.stackVersioninteger optionalThe stack version where the issue was detected.resourceVersioninteger optionalThe resource version where the issue was detected.policyPackstring requiredThe name of the policy pack that produced this issue.policyPackTagstring requiredThe tag of the policy pack version that produced this issue.policyNamestring requiredThe name of the policy that was violated.resourceURNstring requiredThe URN of the resource that violated the policy.resourceProviderstring requiredThe provider of the resource that violated the policy.resourceTypestring requiredThe type of the resource that violated the policy.resourceNamestring requiredThe name of the resource that violated the policy.messagestring optionalA human-readable message describing the policy violation.observedAtstring requiredThe timestamp when the issue was first observed.lastModifiedstring optionalThe timestamp when the issue was last modified.levelstring requiredThe enforcement level of the policy (e.g. advisory, mandatory, disabled).severityenum requiredThe severity of the policy violation.Values:,low,medium,high,criticalstatusenum requiredThe current status of the policy issue.Values:open,in_progress,by_design,fixed,ignoredkindenum requiredThe kind of policy issue (audit or preventative).Values:audit,preventativepriorityenum requiredThe priority level of the policy issue.Values:p0,p1,p2,p3,p4- The user the policy issue is assigned to.
- ↳
namestring requiredThe user’s display name. - ↳
githubLoginstring requiredThe user’s login name. - ↳
avatarUrlstring requiredThe URL of the user’s avatar image. - ↳
emailstring optionalIMPORTANT: The email address of the user is only included on a few admin-only APIs. For nearly all APIs that return a UserInfo object, this will not be provided. considered sensitive information. policyGroupNamestring optionalThe name of the policy group this issue belongs to.policyGroupTypeenum optionalThe type of the policy group this issue belongs to.Values:audit,preventative
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.