AppCreatePolicyPackRequest
CreatePolicyPackRequest defines the request body for creating a new Policy Pack for an organization. The request contains the metadata related to the Policy Pack.
Properties
namestring requiredName is a unique URL-safe identifier (at the org level) for the package. If the name has already been used by the organization, then the request will create a new version of the Policy Pack (incremented by one). This is supplied by the CLI.displayNamestring requiredA pretty name for the Policy Pack that is supplied by the package.versionTagstring optionalVersionTag is the semantic version of the Policy Pack. One a version is published, it cannot never be republished. Older clients will not have a version tag.- The Policies outline the specific Policies in the package, and are derived from the package by the CLI.
- ↳
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. descriptionstring optionalA brief description of the policy pack.readmestring optionalREADME text about the policy pack.providerstring optionalThe cloud provider/platform this policy pack is associated with, e.g. AWS, Azure, etc.tagsarray[string] optionalTags for this policy pack.repositorystring optionalA URL to the repository where the policy pack is defined.metadatamap[string]string optionalMetadata contains optional data about the environment performing the publish operation, e.g. the current source code control commit information.
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.