Skip to content

Commit

Permalink
CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Dec 26, 2024
1 parent 70ed109 commit bd3dd56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions xray/services/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ const (
scanTechQueryParam = "tech="

gitRepoKeyQueryParam = "git_repo="
MinXrayVersionGitRepoKey = "3.108.0" // Actual: "3.111.0"

XscVersionAPI = "system/version"
MinXrayVersionGitRepoKey = "3.111.0"
)

type ScanType string
Expand Down
2 changes: 1 addition & 1 deletion xray/services/utils/policybody.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func CreateSeverityPolicyCriteria(minSeverity Severity) *PolicyCriteria {
}
}

func CreateExposuresPolicyCriteria(minSeverity Severity, secrets, applications, services, iac, maliciousCode bool) *PolicyCriteria {
func CreateExposuresPolicyCriteria(minSeverity Severity, secrets, applications, services, iac bool) *PolicyCriteria {
criteria := &PolicyCriteria{Exposures: &PolicyExposureCriteria{MinSeverity: minSeverity}}
if secrets {
criteria.Exposures.Secrets = &secrets
Expand Down

0 comments on commit bd3dd56

Please sign in to comment.