diff --git a/xray/services/utils/ignorerulebody.go b/xray/services/utils/ignorerulebody.go index 8102f9e9d..1ac2f5e23 100644 --- a/xray/services/utils/ignorerulebody.go +++ b/xray/services/utils/ignorerulebody.go @@ -26,12 +26,19 @@ type IgnoreFilters struct { DockerLayers []string `json:"docker-layers,omitempty"` OperationalRisks []string `json:"operational_risk,omitempty"` Exposures []ExposuresFilterName `json:"exposures,omitempty"` + Sast []SastFilterName `json:"sast,omitempty"` ReleaseBundles []IgnoreFilterNameVersion `json:"release-bundles,omitempty"` Builds []IgnoreFilterNameVersion `json:"builds,omitempty"` Components []IgnoreFilterNameVersion `json:"components,omitempty"` Artifacts []IgnoreFilterNameVersionPath `json:"artifacts,omitempty"` } +type SastFilterName struct { + Fingerprint []string `json:"fingerprint,omitempty"` + Rule []string `json:"rule,omitempty"` + FilePath []string `json:"file_path,omitempty"` +} + type IgnoreFilterNameVersion struct { Name string `json:"name"` Version string `json:"version,omitempty"`