-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdefault-control-configuration.yaml
131 lines (130 loc) · 2.33 KB
/
default-control-configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
apiVersion: "kubescape.io/v1"
kind: ControlConfiguration
metadata:
name: placeholder
settings:
cpuLimitMax: 5
cpuLimitMin: 1
cpuRequestMax: 5
cpuRequestMin: 0.1
imageRepositoryAllowList:
- gcr.io
- docker.io # Not in Kubescape's initial configuration but added to test as this is an edge case.
insecureCapabilities:
- SETPCAP
- NET_ADMIN
- NET_RAW
- SYS_MODULE
- SYS_RAWIO
- SYS_PTRACE
- SYS_ADMIN
- SYS_BOOT
- MAC_OVERRIDE
- MAC_ADMIN
- PERFMON
- ALL
- BPF
k8sRecommendedLabels:
- app.kubernetes.io/name
- app.kubernetes.io/instance
- app.kubernetes.io/version
- app.kubernetes.io/component
- app.kubernetes.io/part-of
- app.kubernetes.io/managed-by
- app.kubernetes.io/created-by
listOfDangerousArtifacts:
- bin/bash
- sbin/sh
- bin/ksh
- bin/tcsh
- bin/zsh
- usr/bin/scsh
- bin/csh
- bin/busybox
- usr/bin/busybox
maxCriticalVulnerabilities:
- 5
maxHighVulnerabilities:
- 10
memoryLimitMax: 4294967296
memoryLimitMin: 0
memoryRequestMax: 4294967296
memoryRequestMin: 0
publicRegistries:
- docker.io
- gcr.io
- quay.io
- registry.hub.docker.com
recommendedLabels:
- app
- tier
- phase
- version
- owner
- env
sensitiveInterfaces:
- nifi
- argo-server
- weave-scope-app
- kubeflow
- kubernetes-dashboard
- jenkins
- prometheus-deployment
sensitiveKeyNames:
- aws_access_key_id
- aws_secret_access_key
- azure_batchai_storage_account
- azure_batchai_storage_key
- azure_batch_account
- azure_batch_key
- secret
- key
- password
- pwd
- token
- jwt
- bearer
- credential
sensitiveValues:
- BEGIN \w+ PRIVATE KEY
- PRIVATE KEY
- eyJhbGciO
- JWT
- Bearer
- _key_
- _secret_
sensitiveValuesAllowed:
- test-value
- encrypted-password
servicesNames:
- nifi-service
- argo-server
- minio
- postgres
- workflow-controller-metrics
- weave-scope-app
- kubernetes-dashboard
untrustedRegistries:
- docker.io
- gcr.io
- quay.io
- registry.hub.docker.com
wlKnownNames:
- coredns
- kube-proxy
- event-exporter-gke
- kube-dns
- 17-default-backend
- metrics-server
- ca-audit
- ca-dashboard-aggregator
- ca-notification-server
- ca-ocimage
- ca-oracle
- ca-posture
- ca-rbac
- ca-vuln-scan
- ca-webhook
- ca-websocket
- clair-clair
cloudProvider: aks