Skip to content

Commit 5f7f30e

Browse files
committed
format
1 parent 6614703 commit 5f7f30e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/formats/simplejsonapi.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ type SimpleJsonResults struct {
2828
}
2929

3030
type ScanStatus struct {
31-
// If not nil, the scan was preformed. The value is the status code of the scans.
32-
ScaStatusCode *int `json:"scaStatusCode,omitempty"`
33-
SastStatusCode *int `json:"sastStatusCode,omitempty"`
34-
IacStatusCode *int `json:"iacStatusCode,omitempty"`
35-
SecretsStatusCode *int `json:"secretsStatusCode,omitempty"`
36-
ApplicabilityStatusCode *int `json:"applicabilityStatusCode,omitempty"`
31+
// If not nil, the scan was performed. The value is the status code of the scans. if not 0, the scan failed.
32+
ScaStatusCode *int `json:"scaScanStatusCode,omitempty"`
33+
SastStatusCode *int `json:"sastScanStatusCode,omitempty"`
34+
IacStatusCode *int `json:"iacScanStatusCode,omitempty"`
35+
SecretsStatusCode *int `json:"secretsScanStatusCode,omitempty"`
36+
ApplicabilityStatusCode *int `json:"ContextualAnalysisScanStatusCode,omitempty"`
3737
}
3838

3939
type ViolationContext struct {

0 commit comments

Comments
 (0)