Skip to content

Commit f91a18d

Browse files
Merge branch 'main' into dependabot/go_modules/hook-sdk/golang/golang.org/x/net-0.55.0
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
2 parents 88f6980 + 2871247 commit f91a18d

17 files changed

Lines changed: 272 additions & 225 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ jobs:
605605
# ---- Test | Hooks ----
606606

607607
test-hooks:
608-
name: Test | Hook ${{ matrix.hook }}
608+
name: Test | Hook ${{ matrix.hook.name }}
609609
needs:
610610
- sdk
611611
- operator
@@ -615,14 +615,22 @@ jobs:
615615
fail-fast: false
616616
matrix:
617617
hook:
618-
- cascading-scans
619-
- generic-webhook
620-
- persistence-azure-monitor
621-
- persistence-elastic
622-
- persistence-dependencytrack
623-
- update-field-hook
624-
- finding-post-processing
625-
- notification
618+
- name: cascading-scans
619+
sdkType: nodejs
620+
- name: generic-webhook
621+
sdkType: nodejs
622+
- name: persistence-azure-monitor
623+
sdkType: nodejs
624+
- name: persistence-elastic
625+
sdkType: nodejs
626+
- name: persistence-dependencytrack
627+
sdkType: nodejs
628+
- name: update-field-hook
629+
sdkType: nodejs
630+
- name: finding-post-processing
631+
sdkType: golang
632+
- name: notification
633+
sdkType: nodejs
626634
# - persistence-static-report (WIP)
627635
steps:
628636
- name: Checkout
@@ -633,8 +641,9 @@ jobs:
633641

634642
- name: Go Setup
635643
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
644+
if: matrix.hook.sdkType == 'golang'
636645
with:
637-
go-version-file: "hooks/finding-post-processing/hook/go.mod"
646+
go-version-file: "hooks/${{ matrix.hook.name }}/hook/go.mod"
638647

639648
- name: Install Task
640649
uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e # v2.2.0
@@ -672,7 +681,7 @@ jobs:
672681
helm version
673682
674683
- name: Unit Tests
675-
working-directory: ./hooks/${{ matrix.hook }}/
684+
working-directory: ./hooks/${{ matrix.hook.name }}/
676685
run: task test:unit
677686

678687
- name: Download Parser SDK Image
@@ -712,20 +721,20 @@ jobs:
712721
run: |
713722
task prepare-testing-env
714723
715-
- name: ${{ matrix.hook }} Build Scanner / Parser Images
716-
working-directory: ./hooks/${{ matrix.hook }}/
724+
- name: ${{ matrix.hook.name }} Build Scanner / Parser Images
725+
working-directory: ./hooks/${{ matrix.hook.name }}/
717726
run: task build
718727

719-
- name: ${{ matrix.hook }} Load and Deploy Scanner / Parser Images to kind Cluster
720-
working-directory: ./hooks/${{ matrix.hook }}/
728+
- name: ${{ matrix.hook.name }} Load and Deploy Scanner / Parser Images to kind Cluster
729+
working-directory: ./hooks/${{ matrix.hook.name }}/
721730
run: task deploy
722731

723732
- name: Start Integration Tests
724733
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
725734
with:
726735
timeout_minutes: 15
727736
max_attempts: 3
728-
command: cd ./hooks/${{ matrix.hook }}/ && task test:integration
737+
command: cd ./hooks/${{ matrix.hook.name }}/ && task test:integration
729738

730739
# ---- Debuging Cluster on Failure ----
731740

‎auto-discovery/cloud-aws/go.mod‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module github.com/secureCodeBox/secureCodeBox/auto-discovery/cloud-aws
66

7-
go 1.26.2
7+
go 1.27.1
88

99
require (
1010
github.com/aws/aws-sdk-go v1.55.8
@@ -15,6 +15,8 @@ require (
1515
github.com/secureCodeBox/secureCodeBox/auto-discovery/kubernetes v0.0.0-20260408091312-ed3ef305dfd4
1616
github.com/secureCodeBox/secureCodeBox/operator v0.0.0-20260408091312-ed3ef305dfd4
1717
k8s.io/api v0.37.0
18+
k8s.io/apimachinery v0.37.0
19+
k8s.io/cli-runtime v0.37.0
1820
k8s.io/client-go v0.37.0
1921
k8s.io/klog/v2 v2.140.0
2022
sigs.k8s.io/controller-runtime v0.25.0
@@ -61,6 +63,7 @@ require (
6163
github.com/huandu/xstrings v1.5.0 // indirect
6264
github.com/imdario/mergo v0.3.16 // indirect
6365
github.com/inconshreveable/mousetrap v1.1.0 // indirect
66+
github.com/jmespath/go-jmespath v0.4.0 // indirect
6467
github.com/json-iterator/go v1.1.12 // indirect
6568
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
6669
github.com/mitchellh/copystructure v1.2.0 // indirect
@@ -107,9 +110,3 @@ require (
107110
sigs.k8s.io/randfill v1.0.0 // indirect
108111
sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect
109112
)
110-
111-
require (
112-
github.com/jmespath/go-jmespath v0.4.0 // indirect
113-
k8s.io/apimachinery v0.37.0
114-
k8s.io/cli-runtime v0.37.0
115-
)

‎auto-discovery/kubernetes/go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module github.com/secureCodeBox/secureCodeBox/auto-discovery/kubernetes
66

7-
go 1.26.2
7+
go 1.27.1
88

99
require (
1010
github.com/Masterminds/sprig v2.22.0+incompatible

‎auto-discovery/kubernetes/pull-secret-extractor/go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module github.com/secureCodeBox/auto-discovery/kubernetes/pull-secret-extractor
66

7-
go 1.26.2
7+
go 1.27.1
88

99
require (
1010
k8s.io/api v0.35.3

‎documentation/package-lock.json‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎hook-sdk/golang/go.mod‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,35 @@
44

55
module github.com/secureCodeBox/secureCodeBox/hook-sdk/golang
66

7-
go 1.26.2
7+
go 1.27.1
88

99
require (
10-
k8s.io/apimachinery v0.36.3
11-
k8s.io/client-go v0.36.3
10+
k8s.io/apimachinery v0.37.0
11+
k8s.io/client-go v0.37.0
1212
)
1313

1414
require (
1515
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
16-
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
17-
github.com/go-logr/logr v1.4.3 // indirect
16+
github.com/fxamacker/cbor/v2 v2.9.3 // indirect
17+
github.com/go-logr/logr v1.4.4 // indirect
1818
github.com/json-iterator/go v1.1.12 // indirect
1919
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2020
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
2121
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
2222
github.com/x448/float16 v0.8.4 // indirect
23-
go.yaml.in/yaml/v2 v2.4.3 // indirect
24-
golang.org/x/net v0.55.0 // indirect
25-
golang.org/x/oauth2 v0.34.0 // indirect
26-
golang.org/x/sys v0.45.0 // indirect
27-
golang.org/x/term v0.43.0 // indirect
28-
golang.org/x/text v0.37.0 // indirect
29-
golang.org/x/time v0.14.0 // indirect
23+
go.yaml.in/yaml/v2 v2.4.4 // indirect
24+
golang.org/x/net v0.59.0 // indirect
25+
golang.org/x/oauth2 v0.37.0 // indirect
26+
golang.org/x/sys v0.48.0 // indirect
27+
golang.org/x/term v0.46.0 // indirect
28+
golang.org/x/text v0.42.0 // indirect
29+
golang.org/x/time v0.16.0 // indirect
3030
gopkg.in/inf.v0 v0.9.1 // indirect
3131
k8s.io/klog/v2 v2.140.0 // indirect
32-
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect
33-
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
32+
k8s.io/kube-openapi v0.0.0-20260908163437-c4db2bdfbfe6 // indirect
33+
k8s.io/utils v0.0.0-20260707023825-cf1189d6abe3 // indirect
3434
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
3535
sigs.k8s.io/randfill v1.0.0 // indirect
36-
sigs.k8s.io/structured-merge-diff/v6 v6.3.3 // indirect
36+
sigs.k8s.io/structured-merge-diff/v6 v6.4.2 // indirect
3737
sigs.k8s.io/yaml v1.6.0 // indirect
3838
)

0 commit comments

Comments
 (0)