Aerleon Policy
Aerleon policy file
| Type | policyTermIncludeFile | policyFilterIncludeFile | policyFile |
|---|---|
| File match |
**/policies/**/*.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/aerleon-policy/latest.json |
| Source | https://raw.githubusercontent.com/aerleon/aerleon/main/schemas/aerleon-policies.schema.json |
Validate with Lintel
npx @lintel/lintel check
One of
Definitions
A policy file contains one or more filters. Each filter has a header that lists the generator target platforms and their options. The filter ACL rules appear in the terms section.
A policy file contains one or more filters. Each filter has a header that lists the generator target platforms and their options. The filter ACL rules appear in the terms section.
filters_include_only defines a list of filters that will not be directly converted into an ACL, but can be included by other files.
A policy include file contains a single list of terms. Other policy files can insert this list using the include directive. This file can include other files, but be careful not to exceed the include depth limit of 5.
Each entry in this list is a term and must have a 'name' property defined.
Common lists of terms shared between policy files can be placed in an include file. Create an item in the list with a single property, 'include', that references the path to the include file.