-
Notifications
You must be signed in to change notification settings - Fork 1
merge: upstream/main + recover wildcards/signing on projection-v1 #43
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
base: main
Are you sure you want to change the base?
Changes from all commits
7c2c899
95c2862
6f9697e
dbe9a16
bfd6059
11e632f
2d768cb
9e85635
b966200
efdae31
f848fd3
8bddfc7
f6d2c96
07d4bc0
bb5702a
f89fc80
4c90e22
cc59fa0
93e6e1b
419ebba
05ce6d9
9c28506
d714d21
f59cc69
8a46346
033eb2f
29a9de4
e28dd10
4f96f8c
31a3fb1
54ab05f
eff03ad
a2ab272
c3b692e
ac911cf
f80f349
290cb61
9a6eb35
656deb5
12cfea6
246f961
f3e3d20
8b34f59
1b8f4b8
6371181
8a63e3c
007d760
2e2077b
92d3aca
ea4e657
6f45ec2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,5 @@ resources/ebpf/falco/* | |
| node-agent | ||
| __pycache__ | ||
| tracers.tar | ||
| vendor | ||
| vendor | ||
| .claude/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ require ( | |
| github.com/go-openapi/strfmt v0.26.0 | ||
| github.com/golang-jwt/jwt/v5 v5.3.0 | ||
| github.com/google/cel-go v0.26.1 | ||
| github.com/google/go-containerregistry v0.21.2 | ||
| github.com/google/go-containerregistry v0.21.3 | ||
| github.com/google/uuid v1.6.0 | ||
| github.com/goradd/maps v1.3.0 | ||
| github.com/grafana/pyroscope-go v1.2.2 | ||
|
|
@@ -35,7 +35,7 @@ require ( | |
| github.com/joncrlsn/dque v0.0.0-20241024143830-7723fd131a64 | ||
| github.com/kubescape/backend v0.0.39 | ||
| github.com/kubescape/go-logger v0.0.28 | ||
| github.com/kubescape/k8s-interface v0.0.208 | ||
| github.com/kubescape/k8s-interface v0.0.207 | ||
| github.com/kubescape/storage v0.0.258 | ||
| github.com/kubescape/workerpool v0.0.0-20250526074519-0e4a4e7f44cf | ||
| github.com/moby/sys/mountinfo v0.7.2 | ||
|
|
@@ -48,10 +48,10 @@ require ( | |
| github.com/prometheus/alertmanager v0.27.0 | ||
| github.com/prometheus/client_golang v1.23.2 | ||
| github.com/prometheus/procfs v0.19.2 | ||
| github.com/sigstore/cosign/v3 v3.0.5 | ||
| github.com/sigstore/cosign/v3 v3.0.6 | ||
| github.com/sigstore/fulcio v1.8.5 | ||
| github.com/sigstore/rekor v1.5.1 | ||
| github.com/sigstore/sigstore v1.10.4 | ||
| github.com/sigstore/sigstore v1.10.5 | ||
| github.com/sirupsen/logrus v1.9.4 | ||
| github.com/spf13/afero v1.15.0 | ||
| github.com/spf13/viper v1.21.0 | ||
|
|
@@ -65,10 +65,11 @@ require ( | |
| google.golang.org/grpc v1.80.0 | ||
| google.golang.org/protobuf v1.36.11 | ||
| gopkg.in/mcuadros/go-syslog.v2 v2.3.0 | ||
| gopkg.in/yaml.v3 v3.0.1 | ||
| istio.io/pkg v0.0.0-20231221211216-7635388a563e | ||
| k8s.io/api v0.35.1 | ||
| k8s.io/apimachinery v0.35.1 | ||
| k8s.io/client-go v0.35.1 | ||
| k8s.io/api v0.35.3 | ||
| k8s.io/apimachinery v0.35.3 | ||
| k8s.io/client-go v0.35.3 | ||
|
Comment on lines
+70
to
+72
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Mixing k8s.io/client-go v0.35.x with k8s.io/kubectl v0.34.1 in a single Go module is not recommended and can lead to dependency resolution conflicts [1][2]. Official Kubernetes guidance requires that all k8s.io/* modules (such as client-go, apimachinery, api, and kubectl) within a single project be kept at the same minor version [1][3]. Kubernetes libraries are designed to be used as a cohesive set, and mixing versions often results in build errors, runtime panics, or "module provides package" errors due to the way these packages share internal dependencies and type definitions [4][2][3]. Key points regarding compatibility: 1. Version Consistency: You should align all k8s.io dependencies to the same minor version (e.g., all at v0.34.x or all at v0.35.x) to ensure they are compatible with each other [3]. 2. Version Skew Policy: While the Kubernetes Version Skew Policy allows for a difference of one minor version between a compiled kubectl binary and a running kube-apiserver [5][6], this policy applies to the operational deployment of components, not to the Go module dependency management of a single application [1]. 3. Dependency Management: Because k8s.io/client-go and other components are often mirrored from the main Kubernetes repository, they share common underlying code [7][8][9]. Using mismatched versions in your go.mod file forces the Go module resolver to attempt to reconcile conflicting requirements, which is frequently unsupported and prone to failure [1][2]. To resolve this, update your go.mod file so that all k8s.io/ dependencies match the same minor version [3]. If you are targeting a specific Kubernetes cluster version, it is best practice to use the corresponding v0.x.y version for all Kubernetes modules [1][7]. Citations:
Align all k8s.io/ modules to the same minor version.* The modules 🤖 Prompt for AI Agents |
||
| k8s.io/cri-api v0.35.0 | ||
| k8s.io/kubectl v0.34.1 | ||
| k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 | ||
|
|
@@ -167,7 +168,7 @@ require ( | |
| github.com/bodgit/sevenzip v1.6.1 // indirect | ||
| github.com/bodgit/windows v1.0.1 // indirect | ||
| github.com/briandowns/spinner v1.23.2 // indirect | ||
| github.com/buildkite/agent/v3 v3.115.4 // indirect | ||
| github.com/buildkite/agent/v3 v3.118.0 // indirect | ||
| github.com/buildkite/go-pipeline v0.16.0 // indirect | ||
| github.com/buildkite/interpolate v0.1.5 // indirect | ||
| github.com/buildkite/roko v1.4.0 // indirect | ||
|
|
@@ -273,7 +274,7 @@ require ( | |
| github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect | ||
| github.com/golang/snappy v1.0.0 // indirect | ||
| github.com/google/btree v1.1.3 // indirect | ||
| github.com/google/certificate-transparency-go v1.3.2 // indirect | ||
| github.com/google/certificate-transparency-go v1.3.3 // indirect | ||
| github.com/google/gnostic-models v0.7.0 // indirect | ||
| github.com/google/go-cmp v0.7.0 // indirect | ||
| github.com/google/go-querystring v1.2.0 // indirect | ||
|
|
@@ -298,7 +299,7 @@ require ( | |
| github.com/huandu/xstrings v1.5.0 // indirect | ||
| github.com/iancoleman/strcase v0.3.0 // indirect | ||
| github.com/in-toto/attestation v1.1.2 // indirect | ||
| github.com/in-toto/in-toto-golang v0.9.0 // indirect | ||
| github.com/in-toto/in-toto-golang v0.10.0 // indirect | ||
| github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
| github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267 // indirect | ||
|
|
@@ -310,7 +311,7 @@ require ( | |
| github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
| github.com/klauspost/compress v1.18.5 // indirect | ||
| github.com/klauspost/pgzip v1.2.6 // indirect | ||
| github.com/letsencrypt/boulder v0.20251110.0 // indirect | ||
| github.com/letsencrypt/boulder v0.20260223.0 // indirect | ||
| github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect | ||
| github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
| github.com/mackerelio/go-osstat v0.2.5 // indirect | ||
|
|
@@ -331,6 +332,7 @@ require ( | |
| github.com/moby/locker v1.0.1 // indirect | ||
| github.com/moby/moby v28.5.2+incompatible // indirect | ||
| github.com/moby/spdystream v0.5.1 // indirect | ||
| github.com/moby/sys/atomicwriter v0.1.0 // indirect | ||
| github.com/moby/sys/sequential v0.6.0 // indirect | ||
| github.com/moby/sys/signal v0.7.1 // indirect | ||
| github.com/moby/sys/user v0.4.0 // indirect | ||
|
|
@@ -395,9 +397,9 @@ require ( | |
| github.com/shibumi/go-pathspec v1.3.0 // indirect | ||
| github.com/shopspring/decimal v1.4.0 // indirect | ||
| github.com/sigstore/protobuf-specs v0.5.0 // indirect | ||
| github.com/sigstore/rekor-tiles/v2 v2.2.0 // indirect | ||
| github.com/sigstore/rekor-tiles/v2 v2.2.1 // indirect | ||
| github.com/sigstore/sigstore-go v1.1.4 // indirect | ||
| github.com/sigstore/timestamp-authority/v2 v2.0.4 // indirect | ||
| github.com/sigstore/timestamp-authority/v2 v2.0.5 // indirect | ||
| github.com/skeema/knownhosts v1.3.1 // indirect | ||
| github.com/sorairolake/lzip-go v0.3.8 // indirect | ||
| github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect | ||
|
|
@@ -442,9 +444,9 @@ require ( | |
| go.opencensus.io v0.24.0 // indirect | ||
| go.opentelemetry.io/auto/sdk v1.2.1 // indirect | ||
| go.opentelemetry.io/contrib/bridges/otelslog v0.18.0 // indirect | ||
| go.opentelemetry.io/contrib/detectors/gcp v1.39.0 // indirect | ||
| go.opentelemetry.io/contrib/detectors/gcp v1.40.0 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect | ||
| go.opentelemetry.io/contrib/instrumentation/runtime v0.68.0 // indirect | ||
| go.opentelemetry.io/contrib/processors/minsev v0.16.0 // indirect | ||
| go.opentelemetry.io/otel v1.43.0 // indirect | ||
|
|
@@ -483,7 +485,6 @@ require ( | |
| gopkg.in/inf.v0 v0.9.1 // indirect | ||
| gopkg.in/warnings.v0 v0.1.2 // indirect | ||
| gopkg.in/yaml.v2 v2.4.0 // indirect | ||
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| k8s.io/apiextensions-apiserver v0.35.0 // indirect | ||
| k8s.io/apiserver v0.35.0 // indirect | ||
| k8s.io/cli-runtime v0.35.0 // indirect | ||
|
|
@@ -507,4 +508,6 @@ replace github.com/inspektor-gadget/inspektor-gadget => github.com/matthyx/inspe | |
|
|
||
| replace github.com/cilium/ebpf => github.com/matthyx/ebpf v0.0.0-20260421101317-8a32d06def6c | ||
|
|
||
| replace github.com/kubescape/storage => github.com/k8sstormcenter/storage v0.0.240-0.20260509184329-a7e6234349ab | ||
| replace github.com/anchore/syft => github.com/kubescape/syft v1.32.0-ks.2 | ||
|
|
||
| replace github.com/kubescape/storage => github.com/k8sstormcenter/storage v0.0.240-0.20260513133617-b23d85f00f6a | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix stale
wasExecutedWithArgsbehavior docs.This table entry contradicts current behavior: argument matching is active (including wildcard-aware matching), not path-only. Keeping this text will mislead rule authors and can cause incorrect detections.
Suggested doc fix
📝 Committable suggestion
🤖 Prompt for AI Agents