Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump defsec-0.87.0 #1199

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/aquasecurity/trivy-operator
go 1.20

require (
github.com/aquasecurity/defsec v0.86.0
github.com/aquasecurity/defsec v0.87.0
github.com/aquasecurity/trivy v0.40.0
github.com/aquasecurity/trivy-kubernetes v0.4.1-0.20230419091002-7e427c2a4f61
github.com/bluele/gcache v0.0.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuW
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
github.com/aquasecurity/defsec v0.86.0 h1:VgPe+znlRMCyIuxhEsOWvSsoVvgamDHq9fJBMEFBAyQ=
github.com/aquasecurity/defsec v0.86.0/go.mod h1:uzQN/hXdCzdgIATpkoLs907+XuKljg99gTwb2o/iCfU=
github.com/aquasecurity/defsec v0.87.0 h1:pGBbXys+x+N2XiqJ6EuuFvYqSa0MVgRIiE+W+xNN6Zo=
github.com/aquasecurity/defsec v0.87.0/go.mod h1:fDZzCbVsJm/uTDzxi2kjSNShCvKMD/mrBaIjLI6TQCI=
github.com/aquasecurity/go-dep-parser v0.0.0-20230413091456-df0396537e15 h1:umuByPARbGs3sE9BgtrDg6n0rR//O79ONFuWG+SU88I=
github.com/aquasecurity/go-dep-parser v0.0.0-20230413091456-df0396537e15/go.mod h1:lI+o04X85vxgx2jPji9G0tZ6AqqhVcXn8A88qimWfOM=
github.com/aquasecurity/table v1.8.0 h1:9ntpSwrUfjrM6/YviArlx/ZBGd6ix8W+MtojQcM7tv0=
Expand Down
2 changes: 1 addition & 1 deletion pkg/policy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (r *Policies) HasSeverity(resultSeverity severity.Severity) bool {
}

func getScannerOptions(hasExternalPolicies bool, useDefaultPolicies bool, policiesFolder string) []options.ScannerOption {
optionsArray := []options.ScannerOption{options.ScannerWithEmbeddedPolicies(useDefaultPolicies)}
optionsArray := []options.ScannerOption{options.ScannerWithEmbeddedPolicies(useDefaultPolicies), options.ScannerWithEmbeddedLibraries(useDefaultPolicies)}
if hasExternalPolicies {
optionsArray = append(optionsArray, options.ScannerWithPolicyDirs(policiesFolder))
optionsArray = append(optionsArray, options.ScannerWithPolicyNamespaces(externalPoliciesNamespace))
Expand Down