-
Notifications
You must be signed in to change notification settings - Fork 255
/
policy-crowdstrike-falcon-rhmp.yaml
131 lines (130 loc) · 5.47 KB
/
policy-crowdstrike-falcon-rhmp.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
# This policy installs the CrowdStrike Falcon Operator. For more information about
# CrowdStrike, see https://crowdstrike.com/
#
# This policy is set to inform by default. If necessary, update the placement rule.
#
# Please make sure to configure the following if using the Falcon API:
#
# falcon_api:
# client_id: PLEASE_FILL_IN
# client_secret: PLEASE_FILL_IN
#
# Alternatively, you can set the following if using your own registry:
#
# node:
# image: <myimage>
# falcon:
# cid: <my_CS_Falcon_CID>
apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
name: policy-crowdstrike-falcon-rhmp
annotations:
policy.open-cluster-management.io/standards: "NIST SP 800-53, NIST SP 800-171, ISO/IEC 27001"
policy.open-cluster-management.io/categories: "AU - AUDIT AND ACCOUNTABILITY, CA - ASSESSMENT AUTHORIZATION AND MONITORING, IA - IDENTIFICATION AND AUTHENTICATION, IR - INCIDENT RESPONSE, SI - SYSTEM AND INFORMATION INTEGRITY"
policy.open-cluster-management.io/controls: "AU-2, AU-3, AU-4, AU-5, AU-6, AU-9, AU-12, AU-14, AU-15, CA-7, IA-10, IR-4, IR-5, SI-3, SI-4, 3.3.1, 3.3.2, 3.3.4, 3.3.8, 3.6.1, 3.6.2, 3.14.2, 3.14.3, 3.14.4, 3.14.5, 3.14.6, A.12.4.1, A.16.1.4, A.16.1.5, A.12.2.1"
spec:
remediationAction: inform
disabled: false
policy-templates:
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: policy-crowdstrike-falcon-rhmp-namespace
spec:
remediationAction: enforce # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction.
severity: low
object-templates:
- complianceType: musthave
objectDefinition:
apiVersion: v1
kind: Namespace
metadata:
name: falcon-operator
annotations:
openshift.io/node-selector: ""
labels:
security.openshift.io/scc.podSecurityLabelSync: "false"
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged
pod-security.kubernetes.io/enforce: privileged
spec: {}
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: policy-crowdstrike-falcon-rhmp-operatorgroup
spec:
remediationAction: enforce # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction.
severity: low
object-templates:
- complianceType: musthave
objectDefinition:
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: falcon-operatorgroup
namespace: falcon-operator
spec:
targetNamespaces:
- falcon-operator
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: policy-crowdstrike-falcon-rhmp-subscription
spec:
remediationAction: enforce # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction.
severity: low
object-templates:
- complianceType: musthave
objectDefinition:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: falcon-operator
namespace: falcon-operator
spec:
channel: alpha
installPlanApproval: Automatic
name: falcon-operator-rhmp
source: redhat-marketplace
sourceNamespace: openshift-marketplace
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: policy-crowdstrike-falcon-rhmp-daemonset-install
spec:
remediationAction: enforce # the policy-template spec.remediationAction is overridden by the preceding parameter value for spec.remediationAction.
severity: low
object-templates:
- complianceType: musthave
objectDefinition:
apiVersion: falcon.crowdstrike.com/v1alpha1
kind: FalconNodeSensor
metadata:
name: falcon-node-sensor
namespace: falcon-operator
spec:
falcon:
apd: false
trace: none
falcon_api:
client_id: PLEASE_FILL_IN
client_secret: PLEASE_FILL_IN
cloud_region: autodiscover
node:
imagePullPolicy: Always
terminationGracePeriod: 30
disableCleanup: false
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
updateStrategy:
type: RollingUpdate