1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. GetRegistryPolicyPackVersionResponse

GetRegistryPolicyPackVersionResponse

    GetRegistryPolicyPackVersionResponse contains detailed information about a specific version of a policy pack, optionally including the actual policy definitions.

    Properties

    • policyPack RegistryPolicyPack required
      PolicyPack contains the metadata for this specific version.
    • id string required
      ID is the unique identifier for this policy pack in the registry. This is a UUID that corresponds to the policy pack’s database ID.
    • source string required
      Source indicates where this policy pack is hosted (e.g., “private”, “pulumi”). Currently, only “private” policy packs are supported.
    • publisher string required
      Publisher is the organization or user that published this policy pack. This corresponds to the Pulumi organization name.
    • name string required
      Name is the unique identifier for this policy pack within the publisher’s namespace. Policy pack names must be URL-safe and unique per publisher.
    • version string required
      Version is the semantic version of this policy pack. This represents the latest or specific version being referenced.
    • displayName string required
      DisplayName is a human-readable name for this policy pack. This is typically more descriptive than the technical name.
    • accessLevel enum required
      AccessLevel is the client’s level of access to this policy pack.
      Values: full, view-only, deny
    • enforcementLevels array[string] required
      EnforcementLevels are the client’s allowed enforcement levels for this policy pack.
    • policies array[AppPolicy] optional
      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.
    • name string required
      Unique URL-safe name for the policy. This is unique to a specific version of a Policy Pack.
    • displayName string required
      The display name
    • description string required
      Description is used to provide more context about the purpose of the policy.
    • enforcementLevel enum required
      The enforcement level
      Values: advisory, mandatory, remediate, disabled
    • message string required
      Message is the message that will be displayed to end users when they violate this policy.
    • configSchema AppPolicyConfigSchema optional
      The JSON schema for the Policy’s configuration.
    • severity enum optional
      The severity of the policy.
      Values: , low, medium, high, critical
    • framework AppPolicyComplianceFramework optional
      The compliance framework that this policy belongs to.
    • tags array[string] optional
      Tags associated with the policy.
    • remediationSteps string optional
      A description of the steps to take to remediate a policy violation.
    • url string optional
      A URL to more information about the policy.