-
Notifications
You must be signed in to change notification settings - Fork 7
/
board.json
550 lines (550 loc) · 15.3 KB
/
board.json
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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
{
"widgets": [
{
"description": "this is an example description",
"id": "f45cbe51-e558-44fc-9be5-49b36c507cee",
"title": "Resources/assets with full admin perms",
"type": "number",
"config": {
"queries": [
{
"name": "query1",
"query": "find * with _class!='AccessPolicy' as asset \n(that (ASSIGNED|USES) AccessRole)? \nthat ASSIGNED AccessPolicy that \nALLOWS as rule Account \nwhere rule.permission='FULL_CONTROL'\nreturn\ncount(asset) as value"
}
],
"settings": {
"number": {
"error": {
"limitCondition": "greaterThan",
"val1": "50"
},
"warning": {
"limitCondition": "greaterThan",
"val1": "10"
},
"default": {
"limitCondition": "lessThan",
"val1": "10"
}
}
}
}
},
{
"id": "2159be72-de67-4dae-92f4-5f5188e8adac",
"title": "Resources/assets with full admin perms",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find * with _class!='AccessPolicy' (that (ASSIGNED|USES) AccessRole)? that ASSIGNED AccessPolicy that ALLOWS as rule Account where rule.permission='FULL_CONTROL'"
}
]
}
},
{
"id": "6d9ad9e6-95f9-4056-857a-f232715723b3",
"title": "Nonpublic S3 buckets accessible via public EC2 instances",
"type": "graph",
"config": {
"queries": [
{
"name": "query1",
"query": "find Internet\n that allows >> aws_security_group\n that protects aws_instance with active=true\n that uses aws_iam_role that assigned AccessPolicy\n that allows (aws_s3|aws_s3_bucket) with public != true\nreturn tree"
}
]
}
},
{
"description": "",
"id": "53a59bff-1184-452d-a418-78b9949f0243",
"title": "Local accounts from inactive employees that still need to be de-provisioned",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find okta_user with active = false that is Person that is User with active = true as b return count(b), b._type"
}
]
}
},
{
"description": "Production Datastores NOT encrypted",
"id": "de8fedf1-c1d1-4b04-b662-c994e4827692",
"title": "Public, production data stores not encrypted, grouped by type",
"type": "pie",
"config": {
"queries": [
{
"name": "query1",
"query": "find DataStore with encrypted != true and tag.Production = true and public = false as a \n return a._type as name, count(a) as value"
}
]
}
},
{
"description": "",
"noResultMessage": "No cross-account VPC Peering conns!",
"id": "43131fa4-762a-4113-8eb0-1c9d54c14a64",
"title": "Are there cross-account VPC Peering connections?",
"type": "graph",
"config": {
"queries": [
{
"name": "query1",
"query": "Find aws_vpc as vpc1 that connects aws_vpc as vpc2\nwhere vpc1.awsAccountId != vpc2.awsAccountId\nreturn tree"
}
]
}
},
{
"description": "",
"id": "0d12a7cf-582a-49a0-8a96-59a4ea0ed1f1",
"title": "Who has installed application <X>",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "FIND Person THAT OWNS Device THAT INSTALLED Application with _type ~= '{{ApplicationType}}'"
}
]
}
},
{
"description": "Which PRs contained self-approved commits that were merged last week?",
"id": "83cb6ada-9c58-4ff2-b8d5-efa21eb8dba2",
"title": "Which PRs contained self-approved commits that were merged last week?",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "FIND PR WITH (approved = false OR allCommitsApproved = false) AND merged = true AND updatedOn > date.now - 7 days\n"
}
]
}
},
{
"description": "",
"id": "68308ca6-131f-434e-b3a5-2a5fa6753f12",
"title": "Users without MFA",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find User with active = true and mfaEnabled != true\n that !(ASSIGNED|USES|HAS) mfa_device"
}
]
}
},
{
"description": "GitHub findings",
"id": "3dacbfc3-15fc-4265-83fd-d10dd92cf410",
"title": "GitHub Findings to review",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find github_finding as f that has github_repo as r (that has github_branch_protection_rule as b)? (that uses Secret as s)? that has github_pullrequest as pr that opened github_user as u return count(f) as ct, r.displayName order by ct desc"
}
]
}
},
{
"id": "0cc1b05b-c2f7-4030-a15d-e446d21fd227",
"title": "Assets with findings from multiple sources",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find Finding as a that has (CodeRepo|Host|HostAgent|Application|Project|Service|Alert) that has Finding as b where a._integrationType != b._integrationType"
}
]
}
},
{
"id": "413eb139-646d-42f1-8049-1b2e9ba730d2",
"title": "Public, production, critical data stores",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find DataStore with encrypted!=true and tag.Production=true and public=false and classification='critical'"
}
]
}
},
{
"id": "c76af3a6-a698-430b-9186-68b14d6e6a60",
"title": "Terminated Okta users that have lingering access",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find okta_user with active!=true that is Person that is User with active=true"
}
]
}
},
{
"id": "932a3e45-7bcb-4dcf-87d8-1b3e36909385",
"title": "AWS Cross-Account Assume Role Trusts Diagram",
"type": "graph",
"config": {
"queries": [
{
"name": "query1",
"query": "Find aws_account that has aws_iam that has aws_iam_role as a that (trusts|assigned) (Account|AccessRole|User|UserGroup) as b where a.tag.AccountName!=b.tag.AccountName return tree"
}
]
}
},
{
"id": "b4f31bfb-5bc3-447f-a70c-c97c53ce4922",
"title": "EC2 instances accessible from the Internet via load balancer",
"type": "graph",
"config": {
"queries": [
{
"name": "query1",
"query": "Find aws_alb with public=true that has aws_vpc that contains aws_subnet with public=true as n that HAS aws_instance as i that PROTECTS aws_security_group as sg that ALLOWS as rule Internet return tree"
}
]
}
},
{
"id": "89c3fbf6-b2a6-4c47-9c09-b2ff9cb5be2a",
"title": "Any resources with admin perms",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find * with _class!='AccessPolicy' that ASSIGNED AccessRole that ASSIGNED AccessPolicy that ALLOWS as rule Account where rule.permission='FULL_CONTROL'"
}
]
}
},
{
"description": "findings",
"id": "08048683-ef4c-4d63-8460-28c637fbf0a1",
"title": "Open findings by type",
"type": "pie",
"config": {
"queries": [
{
"name": "query1",
"query": "Find Finding with open!=false as f \n return f._type as name, count(f) as value"
}
]
}
},
{
"description": "Google users that aren't active but still have provisioned token access to apps",
"id": "08b32e4a-3ba2-4576-bebe-33feb0fcae47",
"title": "Google users that aren't active but still have provisioned token access to apps",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "FIND google_user WITH active!=true OR archived!=false THAT ASSIGNED google_token THAT ALLOWS *"
}
]
}
},
{
"description": "Google users with admin access token to Google Calendar or Drive",
"id": "187633fc-c7e9-4c01-a217-0cc725891186",
"title": "Google users with admin access token to Google Calendar or Drive",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find google_user as user THAT ASSIGNED google_token with scopes^=( \"https://mail.google.com\" OR \"https://www.googleapis.com/auth/gmail.\" OR \"https://www.googleapis.com/auth/drive\" OR \"https://www.googleapis.com/auth/ediscovery\" OR \"https://www.googleapis.com/auth/admin.\" ) return user.email, user.name, google_token.name, google_token.scopes"
}
]
}
},
{
"description": "Top vendors with admin access to your Google Calendar",
"id": "b52a6cdc-3385-412c-bd57-d64225e1a3e1",
"title": "Top vendors with admin access to your Google Calendar",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find UNIQUE google_token WITH (scopes=\"https://www.googleapis.com/auth/calendar\" and displayName != (\"macOS\" OR \"iOS\")) as t RETURN t.displayName as Vendor, count(t) as NumUsers"
}
]
}
},
{
"description": "Top vendors with admin access to your Google Drive",
"id": "f0afcf0d-9442-4caf-b81b-f8d88afaa9fe",
"title": "Top vendors with admin access to your Google Drive",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find UNIQUE google_token WITH scopes=\"https://www.googleapis.com/auth/drive\" as t RETURN t.displayName as Vendor, count(t) as NumUsers"
}
]
}
},
{
"description": "Top vendors with read access to your Google Drive",
"id": "3d13876f-ff29-4814-b2b2-9b407a0883d3",
"title": "Top vendors with read access to your Google Drive",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "Find UNIQUE google_token WITH scopes~=(\"drive\" AND \"readonly\") as t RETURN t.displayName as Vendor, count(t) as NumUsers"
}
]
}
},
{
"description": "Slack users without corporate email address",
"id": "3eb492b8-7d14-46db-a1a9-e44e69c1c51c",
"title": "Slack users without corporate email address",
"type": "table",
"config": {
"queries": [
{
"name": "query1",
"query": "find slack_user with emailDomain !~= 'jupiterone.com' and active = true and bot != true"
}
]
}
}
],
"layouts": {
"sm": [],
"xs": [],
"lg": [
{
"static": false,
"w": 3,
"moved": false,
"h": 2,
"x": 0,
"y": 8,
"i": "f45cbe51-e558-44fc-9be5-49b36c507cee"
},
{
"static": false,
"w": 9,
"moved": false,
"h": 2,
"x": 3,
"y": 8,
"i": "2159be72-de67-4dae-92f4-5f5188e8adac"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 0,
"y": 2,
"i": "6d9ad9e6-95f9-4056-857a-f232715723b3"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 0,
"y": 10,
"i": "53a59bff-1184-452d-a418-78b9949f0243"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 0,
"y": 19,
"i": "de8fedf1-c1d1-4b04-b662-c994e4827692"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 6,
"y": 4,
"i": "43131fa4-762a-4113-8eb0-1c9d54c14a64"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 6,
"y": 10,
"i": "0d12a7cf-582a-49a0-8a96-59a4ea0ed1f1"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 0,
"y": 22,
"i": "83cb6ada-9c58-4ff2-b8d5-efa21eb8dba2"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 2,
"x": 6,
"y": 13,
"i": "68308ca6-131f-434e-b3a5-2a5fa6753f12"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 6,
"y": 22,
"i": "3dacbfc3-15fc-4265-83fd-d10dd92cf410"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 4,
"x": 6,
"y": 0,
"i": "0cc1b05b-c2f7-4030-a15d-e446d21fd227"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 6,
"y": 19,
"i": "413eb139-646d-42f1-8049-1b2e9ba730d2"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 2,
"x": 6,
"y": 15,
"i": "c76af3a6-a698-430b-9186-68b14d6e6a60"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 4,
"x": 0,
"y": 13,
"i": "932a3e45-7bcb-4dcf-87d8-1b3e36909385"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 3,
"x": 0,
"y": 5,
"i": "b4f31bfb-5bc3-447f-a70c-c97c53ce4922"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 17,
"i": "89c3fbf6-b2a6-4c47-9c09-b2ff9cb5be2a"
},
{
"static": false,
"w": 6,
"moved": false,
"h": 2,
"x": 0,
"y": 0,
"i": "08048683-ef4c-4d63-8460-28c637fbf0a1"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 25,
"i": "08b32e4a-3ba2-4576-bebe-33feb0fcae47"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 27,
"i": "187633fc-c7e9-4c01-a217-0cc725891186"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 29,
"i": "b52a6cdc-3385-412c-bd57-d64225e1a3e1"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 31,
"i": "f0afcf0d-9442-4caf-b81b-f8d88afaa9fe"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 33,
"i": "3d13876f-ff29-4814-b2b2-9b407a0883d3"
},
{
"static": false,
"w": 12,
"moved": false,
"h": 2,
"x": 0,
"y": 35,
"i": "3eb492b8-7d14-46db-a1a9-e44e69c1c51c"
}
],
"xl": [],
"md": []
}
}