forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-CrowdStrike_Endpoint_Enrichment_-_Test.yml
232 lines (232 loc) · 4.81 KB
/
playbook-CrowdStrike_Endpoint_Enrichment_-_Test.yml
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
id: CrowdStrike Endpoint Enrichment - Test
version: -1
rolename: []
name: CrowdStrike Endpoint Enrichment - Test
fromversion: 3.5.0
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 82d14d08-e086-413e-8f6f-cb7c9309303a
type: start
task:
id: 82d14d08-e086-413e-8f6f-cb7c9309303a
version: -1
name: ""
description: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "8"
separatecontext: false
view: |-
{
"position": {
"x": 265,
"y": 50
}
}
note: false
"7":
id: "7"
taskid: ed0336e2-778b-4c07-86ad-511d86cd520c
type: regular
task:
id: ed0336e2-778b-4c07-86ad-511d86cd520c
version: -1
name: cs-device-search
description: Search for devices in your environment by platform, host name,
IP, or a number of other parameters
script: FalconHost|||cs-device-search
type: regular
iscommand: true
brand: FalconHost
nexttasks:
'#none#':
- "9"
scriptarguments:
filter: {}
limit: {}
offset: {}
query: {}
separatecontext: false
view: |-
{
"position": {
"x": 265,
"y": 370
}
}
note: false
"8":
id: "8"
taskid: e3edaafa-0d2a-44b8-8317-9d73ff3dcf0f
type: regular
task:
id: e3edaafa-0d2a-44b8-8317-9d73ff3dcf0f
version: -1
name: DeleteContext
description: Delete field from context
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "7"
scriptarguments:
all:
simple: "yes"
key: {}
separatecontext: false
view: |-
{
"position": {
"x": 265,
"y": 195
}
}
note: false
"9":
id: "9"
taskid: fc7af480-343f-4bed-8081-b53cbd6e8b5f
type: playbook
task:
id: fc7af480-343f-4bed-8081-b53cbd6e8b5f
version: -1
name: CrowdStrike Endpoint Enrichment
description: Enrich Endpoint with CrowdStrike
playbookName: CrowdStrike Endpoint Enrichment
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "13"
scriptarguments:
Hostname:
simple: ${Endpoint.Hostname}
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
view: |-
{
"position": {
"x": 265,
"y": 545
}
}
note: false
"12":
id: "12"
taskid: afed1757-85c5-40a8-82ff-be7f8a00fb8e
type: regular
task:
id: afed1757-85c5-40a8-82ff-be7f8a00fb8e
version: -1
name: cs-detection-search
description: String search through all Crowdstrike Detection fields. For example,
provide a sensor ID to search for all detections that contain that sensor
ID (and any other fields that would happen to contain it)
script: FalconHost|||cs-detection-search
type: regular
iscommand: true
brand: FalconHost
scriptarguments:
first_behavior: {}
query:
simple: "1"
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 895
}
}
note: false
"13":
id: "13"
taskid: a9ab8750-2d51-4bbb-85c1-2e77591cf409
type: condition
task:
id: a9ab8750-2d51-4bbb-85c1-2e77591cf409
version: -1
name: Context check
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "14"
"yes":
- "12"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: containsGeneral
left:
value:
simple: Endpoint.OS
iscontext: true
right:
value:
simple: Windows
- operator: containsGeneral
left:
value:
simple: Endpoint.OS
iscontext: true
right:
value:
simple: Linux
view: |-
{
"position": {
"x": 265,
"y": 720
}
}
note: false
"14":
id: "14"
taskid: 49c635f7-d828-4351-8099-c7b15595facd
type: regular
task:
id: 49c635f7-d828-4351-8099-c7b15595facd
version: -1
name: raise an error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: No endpoint data
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 895
}
}
note: false
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 940,
"width": 810,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []