8000 Let AutoDiscovery create ScheduledScans with `RetriggerOnScanTypeChange` enabled by J12934 · Pull Request #748 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ func generateScanSpec(autoDiscoveryConfig configv1.AutoDiscoveryConfig, scanConf
ScanType: scanConfig.ScanType,
Parameters: params,
},
RetriggerOnScanTypeChange: true,
}

return scheduledScanSpec
Expand Down
6 changes: 3 additions & 3 deletions auto-discovery/kubernetes/demo/juice-shop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ spec:
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: zap-advanced-scan
name: zap-advanced
namespace: juice-shop
spec:
chart:
repository: https://charts.securecodebox.io
version: 2.7.2
name: zap-advanced-scan
version: 3.2.0
name: zap-advanced
15 changes: 7 additions & 8 deletions auto-discovery/kubernetes/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/go-logr/logr v0.3.0
github.com/go-logr/logr v0.4.0
github.com/huandu/xstrings v1.3.2 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/onsi/ginkgo v1.14.1
github.com/onsi/gomega v1.10.2
github.com/secureCodeBox/secureCodeBox/operator v0.0.0-20210512114551-f7af2ead2c3d
github.com/stretchr/testify v1.5.1
k8s.io/api v0.19.2
k8s.io/apimachinery v0.19.2
k8s.io/client-go v0.19.2
sigs.k8s.io/controller-runtime v0.7.2
github.com/secureCodeBox/secureCodeBox/operator v0.0.0-20211020071729-60497d02f10d
github.com/stretchr/testify v1.6.1
k8s.io/api v0.20.2
k8s.io/apimachinery v0.20.2
k8s.io/client-go v0.20.2
sigs.k8s.io/controller-runtime v0.8.3
)
Loading
0