File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -99,3 +99,12 @@ const (
99
99
ScanInProgressScore = 2
100
100
ScanSuccessScore = 3
101
101
)
102
+
103
+ type CSPMExceptionPolicy struct {
104
+ BaseExceptionPolicy `json:",inline"`
105
+ Name string `json:"name"` // rule name
106
+ Controls []string `json:"controls"` // affected controls
107
+ Severity string `json:"severity"`
108
+ SeverityScore int `json:"severityScore"`
109
+ RuleHash string `json:"ruleHash"`
110
+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ const (
12
12
13
13
// RuntimeIncidentPolicy - policy for runtime incidents
14
14
RuntimeIncidentExceptionPolicyType PolicyType = "runtimeIncidentExceptionPolicy"
15
+
16
+ // CSPM - policy for CSPM
17
+ CSPMExceptionPolicyType PolicyType = "cspmExceptionPolicy"
15
18
)
16
19
17
20
type BaseExceptionPolicy struct {
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ const (
104
104
AttributeProjectID = "projectId" // Jira project ID
105
105
AttributeIssueTypeID = "issueTypeId" // Jira issue type ID
106
106
AttributeWorkflowGUID = "workflowGUID" // workflow GUID
107
+ AttributeAccount = "account"
107
108
)
108
109
109
110
// Repository scan related attributes
You can’t perform that action at this time.
0 commit comments