Update Policy Enforcer Configuration Keys
- Changed configuration key from `policyDir` to `policyPaths` across multiple YAML files and related code to standardize the naming convention. - Updated documentation to reflect the new key name and its usage for specifying local directories containing `.rego` policy files. - Adjusted tests to ensure compatibility with the updated configuration structure.
This commit is contained in:
@@ -69,7 +69,7 @@ modules:
|
||||
policyEnforcer:
|
||||
id: policyenforcer
|
||||
config:
|
||||
policyDir: "./policies"
|
||||
policyPaths: "./policies"
|
||||
middleware:
|
||||
- id: reqpreprocessor
|
||||
config:
|
||||
@@ -170,7 +170,7 @@ modules:
|
||||
policyEnforcer:
|
||||
id: policyenforcer
|
||||
config:
|
||||
policyDir: "./policies"
|
||||
policyPaths: "./policies"
|
||||
steps:
|
||||
- validateSign
|
||||
- policyEnforcer
|
||||
|
||||
Reference in New Issue
Block a user