GetRegistryPolicyPackVersionResponse
GetRegistryPolicyPackVersionResponse contains detailed information about a specific version of a policy pack, optionally including the actual policy definitions.
Properties
- PolicyPack contains the metadata for this specific version.
- ↳
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. - Policies contains the individual policy definitions in this version. Each policy includes its configuration schema and enforcement rules. This field is optional and may be omitted for lightweight responses that only provide registry metadata.
- ↳
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.
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.