forked from neticdk/k8s-oaas-observability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolaris.yaml
66 lines (63 loc) · 2.12 KB
/
polaris.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
checks:
# reliability
deploymentMissingReplicas: ignore
priorityClassNotSet: warning
tagNotSpecified: danger
pullPolicyNotAlways: warning
readinessProbeMissing: warning
livenessProbeMissing: warning
metadataAndNameMismatched: ignore
pdbDisruptionsIsZero: warning
missingPodDisruptionBudget: ignore
topologySpreadConstraint: warning
# efficiency
cpuRequestsMissing: warning
cpuLimitsMissing: ignore
memoryRequestsMissing: warning
memoryLimitsMissing: warning
# security
automountServiceAccountToken: warning
hostIPCSet: danger
hostPIDSet: danger
linuxHardening: warning
missingNetworkPolicy: warning
notReadOnlyRootFilesystem: warning
privilegeEscalationAllowed: danger
runAsRootAllowed: danger
runAsPrivileged: danger
dangerousCapabilities: danger
insecureCapabilities: warning
hostNetworkSet: danger
hostPortSet: warning
tlsSettingsMissing: warning
sensitiveContainerEnvVar: danger
sensitiveConfigmapContent: danger
clusterrolePodExecAttach: danger
rolePodExecAttach: danger
clusterrolebindingPodExecAttach: danger
rolebindingClusterRolePodExecAttach: danger
rolebindingRolePodExecAttach: danger
clusterrolebindingClusterAdmin: danger
rolebindingClusterAdminClusterRole: danger
rolebindingClusterAdminRole: danger
exemptions:
- controllerNames:
- release-name-prometheus-node-exporter
- release-name-prometheus-node-exporter
rules:
- hostPIDSet
- hostNetworkSet
- controllerNames:
- release-name-vector-agent
rules:
- runAsRootAllowed
- controllerNames:
- release-name-test
- release-name-prometheus-operator-admission-patch
- release-name-prometheus-operator-admission-create
- release-name-opentelemetry-operator-cert-manager # OpenTelemetry Operator chart test
- release-name-opentelemetry-operator-metrics # OpenTelemetry Operator chart test
- release-name-opentelemetry-operator-webhook # OpenTelemetry Operator chart test
- release-name-opentelemetry-operator-cert-manager
- release-name-opentelemetry-operator-metrics
- release-name-opentelemetry-operator-webhook