-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathBaseline - Falco Alerts.json
More file actions
327 lines (327 loc) · 11.1 KB
/
Baseline - Falco Alerts.json
File metadata and controls
327 lines (327 loc) · 11.1 KB
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
{
"flows": [
{
"name": "Baseline - Falco Alerts",
"nodes": [
{
"id": "94110332-c1e1-4ba6-a110-70e8c51af521",
"name": "Ensure_final_fields",
"kind": "augmentation",
"lql": "ensureTableHasColumns(Extract_JSON_from_output_fields, \"_raw, _raw__log, _raw__log__output_fields, _raw__log__output_fields__container_image_repository, _raw__log__output_fields__k8s_ns_name, _raw__log__output_fields__k8s_pod_name, _raw__log__output_fields__proc_cmdline, _raw__log__output_fields__user_name, _raw__log__output, _raw__log__priority, _raw__log__rule, cluster, container, host, namespace, node, pod\")",
"operator": "ensureTableHasColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 824,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "ensureTableHasColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Ensure Table Has Columns",
"usedByEventTypes": []
},
{
"id": "8444ee37-15f2-4f5b-9158-faafffffd02e",
"name": "Extract_JSON_from_log",
"kind": "augmentation",
"lql": "jsonToColumns(Ensure_Raw_Log_Field, \"_raw__log\")",
"operator": "jsonToColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 468,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "jsonToColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Json To Columns",
"usedByEventTypes": []
},
{
"id": "239cada8-0c01-40ea-867e-4d4d284a1548",
"name": "Normalize_fields",
"kind": "augmentation",
"lql": "`SELECT lhub_ts, _raw__log__output_fields__container_image_repository AS container_image_repository, _raw__log__output_fields__k8s_ns_name AS k8s_namespace, _raw__log__output_fields__k8s_pod_name AS k8s_podname, _raw__log__output_fields__proc_cmdline AS proc_cmdline, _raw__log__output_fields__user_name AS username, _raw__log__output AS log_output, _raw__log__priority AS priority, _raw__log__rule AS log_rule, cluster, container, host, namespace, node, pod FROM Ensure_final_fields`",
"operator": "SELECT",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 936,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "LQLEditor",
"categoryKind": "Code",
"iconTitle": "Code: SQL",
"usedByEventTypes": []
},
{
"id": "1ba1049f-0258-4433-ae0f-85342868f5cd",
"name": "Ensure_Output_Fields",
"kind": "augmentation",
"lql": "ensureTableHasColumns(Extract_JSON_from_log, \"_raw__log__output_fields\")",
"operator": "ensureTableHasColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 580,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "ensureTableHasColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Ensure Table Has Columns",
"usedByEventTypes": []
},
{
"id": "0145acc5-3176-4edb-82a4-56cf40a8c0fe",
"name": "Extract_JSON_from_raw",
"kind": "augmentation",
"lql": "jsonToColumns(Ensure_Falco_Has_Raw_Columns, \"_raw\")",
"operator": "jsonToColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 240,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "jsonToColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Json To Columns",
"usedByEventTypes": []
},
{
"id": "b9e5008d-e5dc-415b-bc47-21eed28150c3",
"name": "Ensure_Falco_Has_Raw_Columns",
"kind": "augmentation",
"lql": "ensureTableHasColumns(Falco, \"_raw\")",
"operator": "ensureTableHasColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 112,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "ensureTableHasColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Ensure Table Has Columns",
"usedByEventTypes": []
},
{
"id": "a599eb23-643b-47e2-9650-725c246acb92",
"name": "Ensure_Raw_Log_Field",
"kind": "augmentation",
"lql": "ensureTableHasColumns(Extract_JSON_from_raw, \"_raw__log\")",
"operator": "ensureTableHasColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 356,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "ensureTableHasColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Ensure Table Has Columns",
"usedByEventTypes": []
},
{
"id": "e2512cf8-f0f1-4b80-becf-6de843d1eafb",
"name": "Extract_JSON_from_output_fields",
"kind": "augmentation",
"lql": "jsonToColumns(Ensure_Output_Fields, \"_raw__log__output_fields\")",
"operator": "jsonToColumns",
"isLeaf": false,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 692,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "OperatorForm",
"contentItemIdentifier": {
"kind": "OperatorContentKind",
"id": "jsonToColumns"
},
"categoryKind": "Transform",
"iconTitle": "Transform: Json To Columns",
"usedByEventTypes": []
},
{
"id": "6c0a8848-4d12-4704-930b-b2b6c0108a9e",
"name": "Aggregate_baseline_output",
"kind": "augmentation",
"lql": "`select count(*) _count from Normalize_fields group by container_image_repository, k8s_namespace, k8s_podname, proc_cmdline, username, priority, log_rule, cluster, container, host, namespace, node, pod`",
"operator": "SELECT",
"isLeaf": true,
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 1048,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"formType": "LQLEditor",
"categoryKind": "Code",
"iconTitle": "Code: SQL",
"usedByEventTypes": []
},
{
"id": "fa65675d-1b47-4002-b18c-6cc0fd264973",
"name": "Falco",
"kind": "eventType",
"isLeaf": false,
"eventType": "eventType-27",
"warnings": [],
"description": "",
"isExplainable": true,
"x": 0,
"y": 0,
"vertices": [],
"isEditable": false,
"isStepImplementable": true,
"executionDependsOn": [],
"outputtedNode": false,
"contentItemIdentifier": {
"kind": "EventTypeContentKind",
"id": "eventType-27"
},
"categoryKind": "FetchData",
"linkToTrigger": true,
"iconTitle": "Fetch Data: Falco",
"usedByEventTypes": []
}
],
"oldId": "flow-1035",
"listNames": [],
"dependentCommands": [],
"resourceFormatVersion": 2,
"fileDataSeq": []
}
],
"baselines": [],
"eventTypes": [
{
"id": "eventType-27",
"data": {
"name": "Falco",
"query": "_sourceCategory = *falco* output_fields rule priority output NOT \"Falco internal\"",
"keyColumns": "lhub_ts,_blockid,_collector,_collectorid,_format,_messagecount,_messageid,_messagetime,_raw,_receipttime,_size,_source,_sourcecategory,_sourcehost,_sourceid,_sourcename,_view,cluster,container,host,namespace,node,pod",
"connection": "connection-5",
"connectionTypeEntities": {
"entities": [
{
"connectionType": {
"connectionType": "sumologic",
"value": "query"
},
"connectionTypeDetail": {
"query": "_sourceCategory = *falco* output_fields rule priority output NOT \"Falco internal\"",
"connection": "connection-5"
}
}
]
},
"defaultConnectionType": {
"connectionType": "sumologic",
"value": "query"
}
}
}
],
"connections": [
{
"id": "connection-5",
"data": {
"connectionType": "sumologic",
"name": "Sumo",
"isActive": false,
"account": "",
"secret": "",
"url": "https://api.us2.sumologic.com/api/v1"
}
}
],
"modules": [],
"annotations": [],
"filters": [],
"ruleSets": [],
"integrationInstances": [],
"customLists": [],
"streams": [],
"dashboards": [],
"images": [],
"codeBlobs": {},
"customListsData": {},
"executionScripts": [],
"userForms": [],
"flowNodeReferences": [],
"destinations": [],
"fileResources": [],
"fileDataSeq": [],
"eventModels": [],
"version": 1
}