Skip to content

Commit 505d5c7

Browse files
authored
New Analysis Rules for Admission Policies (#104)
* Update deps * Added analysis rules for admission policy (Kyverno, Kubernetes native) * Use plural
1 parent 98ac2d8 commit 505d5c7

File tree

3 files changed

+224
-124
lines changed

3 files changed

+224
-124
lines changed

go.mod

+43-39
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,77 @@ go 1.19
44

55
require (
66
github.com/Masterminds/sprig v2.22.0+incompatible
7-
github.com/antonmedv/expr v1.8.9
8-
github.com/emicklei/dot v0.10.2
9-
github.com/fatih/color v1.7.0
7+
github.com/antonmedv/expr v1.15.5
8+
github.com/emicklei/dot v1.6.2
9+
github.com/fatih/color v1.16.0
1010
github.com/fatih/structs v1.1.0
11-
github.com/google/cel-go v0.7.3
12-
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
13-
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5
14-
github.com/spf13/cobra v1.1.1
15-
google.golang.org/protobuf v1.28.0
11+
github.com/google/cel-go v0.20.1
12+
github.com/kylelemons/godebug v1.1.0
13+
github.com/olekukonko/tablewriter v0.0.5
14+
github.com/spf13/cobra v1.8.0
15+
google.golang.org/protobuf v1.34.0
1616
k8s.io/api v0.20.15
1717
k8s.io/apimachinery v0.20.15
1818
k8s.io/apiserver v0.20.15
1919
k8s.io/client-go v0.20.15
2020
k8s.io/component-helpers v0.20.15
2121
k8s.io/klog v1.0.0
2222
k8s.io/kubernetes v1.20.15
23-
sigs.k8s.io/yaml v1.3.0
23+
sigs.k8s.io/yaml v1.4.0
2424
)
2525

2626
require (
27-
cloud.google.com/go v0.54.0 // indirect
27+
cloud.google.com/go/compute/metadata v0.3.0 // indirect
2828
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
29-
github.com/Azure/go-autorest/autorest v0.11.1 // indirect
30-
github.com/Azure/go-autorest/autorest/adal v0.9.5 // indirect
29+
github.com/Azure/go-autorest/autorest v0.11.29 // indirect
30+
github.com/Azure/go-autorest/autorest/adal v0.9.23 // indirect
3131
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
32-
github.com/Azure/go-autorest/logger v0.2.0 // indirect
32+
github.com/Azure/go-autorest/logger v0.2.1 // indirect
3333
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
3434
github.com/Masterminds/goutils v1.1.1 // indirect
3535
github.com/Masterminds/semver v1.5.0 // indirect
36-
github.com/antlr/antlr4 v0.0.0-20200503195918-621b933c7a7f // indirect
36+
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
3737
github.com/davecgh/go-spew v1.1.1 // indirect
38-
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
39-
github.com/go-logr/logr v1.2.4 // indirect
38+
github.com/go-logr/logr v1.4.1 // indirect
4039
github.com/gogo/protobuf v1.3.2 // indirect
41-
github.com/golang/protobuf v1.5.3 // indirect
42-
github.com/google/go-cmp v0.5.9 // indirect
40+
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
41+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
42+
github.com/golang/protobuf v1.5.4 // indirect
43+
github.com/google/go-cmp v0.6.0 // indirect
4344
github.com/google/gofuzz v1.2.0 // indirect
44-
github.com/google/uuid v1.3.0 // indirect
45-
github.com/googleapis/gnostic v0.4.1 // indirect
46-
github.com/hashicorp/golang-lru v0.5.1 // indirect
47-
github.com/huandu/xstrings v1.3.2 // indirect
48-
github.com/imdario/mergo v0.3.5 // indirect
49-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
45+
github.com/google/uuid v1.6.0 // indirect
46+
github.com/googleapis/gnostic v0.5.5 // indirect
47+
github.com/hashicorp/golang-lru v1.0.2 // indirect
48+
github.com/huandu/xstrings v1.4.0 // indirect
49+
github.com/imdario/mergo v0.3.16 // indirect
50+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5051
github.com/json-iterator/go v1.1.12 // indirect
51-
github.com/mattn/go-colorable v0.0.9 // indirect
52-
github.com/mattn/go-isatty v0.0.4 // indirect
53-
github.com/mattn/go-runewidth v0.0.8 // indirect
52+
github.com/mattn/go-colorable v0.1.13 // indirect
53+
github.com/mattn/go-isatty v0.0.20 // indirect
54+
github.com/mattn/go-runewidth v0.0.15 // indirect
5455
github.com/mitchellh/copystructure v1.2.0 // indirect
5556
github.com/mitchellh/reflectwalk v1.0.2 // indirect
5657
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5758
github.com/modern-go/reflect2 v1.0.2 // indirect
59+
github.com/rivo/uniseg v0.4.7 // indirect
5860
github.com/spf13/pflag v1.0.5 // indirect
59-
github.com/stoewer/go-strcase v1.2.0 // indirect
60-
golang.org/x/crypto v0.17.0 // indirect
61-
golang.org/x/net v0.19.0 // indirect
62-
golang.org/x/oauth2 v0.8.0 // indirect
63-
golang.org/x/sys v0.15.0 // indirect
64-
golang.org/x/term v0.15.0 // indirect
61+
github.com/stoewer/go-strcase v1.3.0 // indirect
62+
golang.org/x/crypto v0.22.0 // indirect
63+
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
64+
golang.org/x/net v0.24.0 // indirect
65+
golang.org/x/oauth2 v0.19.0 // indirect
66+
golang.org/x/sys v0.19.0 // indirect
67+
golang.org/x/term v0.19.0 // indirect
6568
golang.org/x/text v0.14.0 // indirect
66-
golang.org/x/time v0.3.0 // indirect
67-
google.golang.org/appengine v1.6.7 // indirect
68-
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a // indirect
69+
golang.org/x/time v0.5.0 // indirect
70+
google.golang.org/genproto/googleapis/api v0.0.0-20240429193739-8cf5692501f6 // indirect
71+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect
6972
gopkg.in/inf.v0 v0.9.1 // indirect
7073
gopkg.in/yaml.v2 v2.4.0 // indirect
71-
k8s.io/klog/v2 v2.100.1 // indirect
72-
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
73-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
74+
gopkg.in/yaml.v3 v3.0.1 // indirect
75+
k8s.io/klog/v2 v2.120.1 // indirect
76+
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22 // indirect
77+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
7478
)
7579

7680
replace (

0 commit comments

Comments
 (0)