GetPolicyIssueResponse
Response body for retrieving a policy issue and its associated policy details.
Properties
- The policy issue details
- ↳
idstring requiredThe unique identifier of the policy issue. - ↳
entityTypeenum requiredThe type of entity this issue applies to.Values:stack,insights-account - ↳
entityProjectstring 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,critical - ↳
statusenum requiredThe current status of the policy issue.Values:open,in_progress,by_design,fixed,ignored - ↳
kindenum requiredThe kind of policy issue (audit or preventative).Values:audit,preventative - ↳
priorityenum requiredThe priority level of the policy issue.Values:p0,p1,p2,p3,p4 - The user the policy issue is assigned to.
- ↳
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 - The policy definition that caused this issue. May be null if the policy has been deleted or is unavailable.
- ↳
namestring requiredUnique URL-safe name for the policy. This is unique to a specific version of a Policy Pack. - ↳
displayNamestring requiredThe display name - ↳
descriptionstring requiredDescription is used to provide more context about the purpose of the policy. - ↳
enforcementLevelenum requiredThe enforcement levelValues:advisory,mandatory,remediate,disabled - ↳
messagestring requiredMessage is the message that will be displayed to end users when they violate this policy. - The JSON schema for the Policy’s configuration.
- ↳
severityenum optionalThe severity of the policy.Values:,low,medium,high,critical - The compliance framework that this policy belongs to.
- ↳
tagsarray[string] optionalTags associated with the policy. - ↳
remediationStepsstring optionalA description of the steps to take to remediate a policy violation. - ↳
urlstring optionalA URL to more information about the policy. - The registry policy pack metadata. May be null if the policy pack is unavailable.
- ↳
idstring requiredID is the unique identifier for this policy pack in the registry. This is a UUID that corresponds to the policy pack’s database ID. - ↳
sourcestring requiredSource indicates where this policy pack is hosted (e.g., “private”, “pulumi”). Currently, only “private” policy packs are supported. - ↳
publisherstring requiredPublisher is the organization or user that published this policy pack. This corresponds to the Pulumi organization name. - ↳
namestring requiredName is the unique identifier for this policy pack within the publisher’s namespace. Policy pack names must be URL-safe and unique per publisher. - ↳
versionstring requiredVersion is the semantic version of this policy pack. This represents the latest or specific version being referenced. - ↳
displayNamestring requiredDisplayName is a human-readable name for this policy pack. This is typically more descriptive than the technical name. - ↳
accessLevelenum requiredAccessLevel is the client’s level of access to this policy pack.Values:full,view-only,deny - ↳
enforcementLevelsarray[string] requiredEnforcementLevels are the client’s allowed enforcement levels for this policy pack.
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.