开源软件名称(OpenSource Name):GoogleCloudPlatform/policy-library开源软件地址(OpenSource Url):https://github.com/GoogleCloudPlatform/policy-library开源编程语言(OpenSource Language):TypeScript 66.5%开源软件介绍(OpenSource Introduction):Config Validator Policy LibraryBundles | Templates | Sample ConstraintsThis repo contains a library of constraint templates and sample constraints. For information on setting up Config Validator to secure your environment, see the User Guide. Initializing a policy libraryYou can easily set up a new (local) policy library by downloading a bundle using kpt. Download the full policy library and install the Forseti bundle:
Once you have initialized a library, you might want to save it to git. Developing a ConstraintIf this library doesn't contain a constraint that matches your use case, you can develop a new one using the Constraint Template Authoring Guide. Available Commands
InliningYou can run This is done by finding a For example, running Raw:
Replaced:
Linting PoliciesConfig Validator provides a policy linter. You can invoke it as:
Local CIYou can run the cloudbuild CI locally as follows:
Updating CI ImagesYou can update the CI images to add new versions of rego/opa as they are released.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论