File tree Expand file tree Collapse file tree
app/cli/internal/policydevel/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ result := {
1010 " skipped" : skipped,
1111 " violations" : violations,
1212 " skip_reason" : skip_reason,
13+ " ignore" : ignore,
1314}
1415
1516default skip_reason := " "
@@ -23,17 +24,21 @@ default skipped := true
2324
2425skipped := false if valid_input
2526
27+ default ignore := false
28+
2629# #######################################
2730# EO Common section, custom code below #
2831# #######################################
29-
3032# Validates if the input is valid and can be understood by this policy
3133valid_input if {
32- # insert code here
34+ true
35+ # insert code here
3336}
3437
3538# If the input is valid, check for any policy violation here
36- violations contains msg if {
37- valid_input
38- # insert code here
39- }
39+ default violations := []
40+ # violations contains msg if {
41+ # valid_input
42+ # insert code here
43+ # }
44+
You can’t perform that action at this time.
0 commit comments