-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
karmor recommend: handling policy-templates
- Updated `policy recommend` with `--update` flag - Added functions to check for new policy-template releases - Added functions to generate rules.yaml from metadata.yaml in policy-templates - Updated policy creation logic will select embeded rules.yaml if it cannot generate rules.yaml from policy-templates - Updated rules structure to include policy-template policies - Updated runtime policy generation logic - added ability to continue generate policies from rules.yaml even if runtime policy generation fails - Included `and operation` on preconditions while creating policy - Updated code to use existing rules.yaml if user doesnt want to downlaod policy-templates Fixes: #176 Signed-off-by: vishnusomank <[email protected]>
- Loading branch information
1 parent
b9fb711
commit ba6ce81
Showing
13 changed files
with
421 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.