File tree 4 files changed +8
-8
lines changed
pkg/apis/compliance/v1alpha1
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 58
58
description :
59
59
description : The description of the Rule
60
60
type : string
61
- evaluation :
61
+ evaluations :
62
62
description : |-
63
- Evaluation is the list of CEL expressions that will be used
63
+ Evaluations is the list of CEL expressions that will be used
64
64
to evaluate the rule
65
65
items :
66
66
properties :
Original file line number Diff line number Diff line change 58
58
description :
59
59
description : The description of the Rule
60
60
type : string
61
- evaluation :
61
+ evaluations :
62
62
description : |-
63
- Evaluation is the list of CEL expressions that will be used
63
+ Evaluations is the list of CEL expressions that will be used
64
64
to evaluate the rule
65
65
items :
66
66
properties :
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ const CmScanResultAnnotation = "compliance.openshift.io/scan-result"
89
89
// CmScanResultErrMsg holds the processed scanner error message
90
90
const CmScanResultErrMsg = "compliance.openshift.io/scan-error-msg"
91
91
92
- // compliance.openshift.io/cel-feature-enable annotation is used to enable the CEL feature
93
- const CelFeatureEnableAnnotation = "compliance.openshift.io/cel-feature-enable"
92
+ // CELFeatureEnableAnnotation is used to enable the CEL feature
93
+ const CELFeatureEnableAnnotation = "compliance.openshift.io/cel-feature-enable"
94
94
95
95
const (
96
96
// ResultNot available represents the compliance scan not having finished yet
Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ type RulePayload struct {
76
76
// Defaults to OpenSCAP
77
77
// +kubebuilder:default=OpenSCAP
78
78
Scanner ScannerType `json:"scanner,omitempty"`
79
- // Evaluation is the list of CEL expressions that will be used
79
+ // Evaluations is the list of CEL expressions that will be used
80
80
// to evaluate the rule
81
81
// +nullable
82
82
// +optional
83
83
// +listType=atomic
84
- Evaluation []Evaluation `json:"evaluation ,omitempty"`
84
+ Evaluatiosn []Evaluation `json:"evaluations ,omitempty"`
85
85
// Inputs represent the input parameters for the CEL expression
86
86
// +nullable
87
87
// +optional
You can’t perform that action at this time.
0 commit comments