-
Notifications
You must be signed in to change notification settings - Fork 6
Policy as Code
graju256 edited this page Sep 16, 2024
·
1 revision
Policy code can be represented in newer formats i.e., json and yaml. By default, it will be in xml. Client can be configured to work with these newer formats. Use policyCodeFormat global option to choose one of these formats. Exploding the bundle with level 2 makes the policy code separate from the usual configuration when needed. When the policy code is authored outside the Layer7, it can be validated using the below operation.
graphman.sh validate --input mybundle.json
Note
This operation requires third-party node package i.e., ajv json schema validator.