-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZabbix_SecurityScorecard_API.yaml
1939 lines (1935 loc) · 68.8 KB
/
Zabbix_SecurityScorecard_API.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
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
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
zabbix_export:
version: '5.4'
date: '2021-11-17T20:31:13Z'
groups:
-
uuid: c1042abaca9d435ca00326c24768d8b8
name: 'API Providers'
templates:
-
uuid: a21c841cec6046e3b4245fd2ebabab5b
template: 'Security Scorecard API'
name: 'Security Scorecard API'
description: 'Security Scorecard API Provider'
groups:
-
name: 'API Providers'
items:
-
uuid: 2ca7db241b9744f99882864724fc4ef5
name: 'Security Scorecard Competitor Count'
type: DEPENDENT
key: securityscorecard.api.portfolio.competitor.count
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.total
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Count
-
uuid: 5f318a94dad342eaa827a3522944ce6d
name: securityscorecard.api.portfolio.competitor.data
type: HTTP_AGENT
key: securityscorecard.api.portfolio.competitor.data
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/portfolios/{$SECURITYSCORECARD_PORTFOILIO_MONITOR_COMPETITOR}/companies'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: data
-
uuid: b7ef737e29644f7c9423833e31a4ce89
name: 'Security Scorecard Competitor Score Average'
type: CALCULATED
key: securityscorecard.api.portfolio.competitor.score.avg
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.competitor.score[*]))'
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Competitor
-
uuid: 82f1f2fc2b564b1892b12f9cfd1c346d
name: 'Security Scorecard Competitor Score Average Change'
type: CALCULATED
key: securityscorecard.api.portfolio.competitor.score.avg.change
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.competitor.score[*]))'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Competitor
-
uuid: 1ccda36f78b24611aac460c1f02f6234
name: 'Security Scorecard Portolios Count'
type: DEPENDENT
key: securityscorecard.api.portfolio.count
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.total
master_item:
key: securityscorecard.api.portfolios.data
tags:
-
tag: SecurityScorecard
value: Count
-
tag: SecurityScorecard
value: Portfolios
-
uuid: 08a2b470ec2e404db972da93eaab72c5
name: 'Security Scorecard Prmary Count'
type: DEPENDENT
key: securityscorecard.api.portfolio.primary.count
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.total
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Count
-
tag: SecurityScorecard
value: Primary
-
uuid: 144edc86f68541e2b39f2d0bfeeaa82d
name: securityscorecard.api.portfolio.primary.data
type: HTTP_AGENT
key: securityscorecard.api.portfolio.primary.data
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/portfolios/{$SECURITYSCORECARD_PORTFOILIO_MONITOR_PRIMARY}/companies'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: data
-
tag: SecurityScorecard
value: Primary
-
uuid: ce1f5ad8e88c427f89a31ebd7412a1d4
name: 'Security Scorecard Primary Score Average'
type: CALCULATED
key: securityscorecard.api.portfolio.primary.score.avg
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.primary.score[*]))'
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Primary
triggers:
-
uuid: 24664afa1d804ac5a29f9ef469534cf7
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg)<{$SECURITYSCORECARD_PRIMARY_AVG_ALERT}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg)>={$SECURITYSCORECARD_PRIMARY_AVG_ALERT}'
name: 'Security Scorecard Primary Score Average Below Threshold ({ITEM.LASTVALUE1} < {$SECURITYSCORECARD_PRIMARY_AVG_ALERT})'
opdata: '{ITEM.LASTVALUE1}'
priority: WARNING
-
uuid: 7c7fa1655289457aa1f6827eb32eb5e5
name: 'Security Scorecard Primary Score Average Change'
type: CALCULATED
key: securityscorecard.api.portfolio.primary.score.avg.change
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.primary.score[*]))'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Primary
-
uuid: 08a3f65dd3dc42c9ba387ca5b70398c8
name: 'Primary Scorecard Average Score vs Competitor Scorecard Average Score'
type: CALCULATED
key: securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor
delay: 1h
units: '%'
params: '100*(last(//securityscorecard.api.portfolio.primary.score.avg)) /( last(//securityscorecard.api.portfolio.competitor.score.avg))'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Primary
triggers:
-
uuid: 8b81977c8c28422da5d8f4186eb222f7
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor)<{$SECURITYSCORECARD_PRIMARY_PRCNT_COMP}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor)<={$SECURITYSCORECARD_PRIMARY_PRCNT_COMP}'
name: 'Security Scorecard Primary Perecent of Competitor Dropped Below Threshold ( {ITEM.LASTVALUE1}< {$SECURITYSCORECARD_PRIMARY_PRCNT_COMP})'
opdata: '{ITEM.LASTVALUE1}'
priority: INFO
-
uuid: f4b60fcf81e94ef892bfc9e310a41056
name: 'Primary Scorecard Average Score vs Competitor Scorecard Average Score Chnage'
type: CALCULATED
key: securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor.change
delay: 1h
units: '%'
params: '100*(last(//securityscorecard.api.portfolio.primary.score.avg)) /( last(//securityscorecard.api.portfolio.competitor.score.avg))'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Primary
triggers:
-
uuid: b2a26b5bbd7240ca9939a7fdc96b0d8f
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor.change)<0'
name: 'Security Scorecard Primary Average Score Dropped ({ITEM.LASTVALUE1})'
opdata: '{ITEM.LASTVALUE1}'
priority: INFO
manual_close: 'YES'
-
uuid: efd1ba400af64655b9be9a5723d38883
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.avg.prcntof.competitor.change)<={$SECURITYSCORECARD_PRIMARY_AVG_SCORE_DROP}'
name: 'Security Scorecard Primary Average Score Dropped More than Threshold ({ITEM.LASTVALUE1} <= {$SECURITYSCORECARD_PRIMARY_AVG_SCORE_DROP}'
opdata: '{ITEM.LASTVALUE1}'
priority: WARNING
manual_close: 'YES'
-
uuid: 2335d410f34e490daf93333739804a0f
name: 'Security Scorecard Vendor Count'
type: DEPENDENT
key: securityscorecard.api.portfolio.vendor.count
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.total
master_item:
key: securityscorecard.api.portfolio.vendor.data
tags:
-
tag: SecurityScorecard
value: Count
-
tag: SecurityScorecard
value: Vendor
-
uuid: c8a8396703c0492897d29e7630094ca9
name: securityscorecard.api.portfolio.vendor.data
type: HTTP_AGENT
key: securityscorecard.api.portfolio.vendor.data
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/portfolios/{$SECURITYSCORECARD_PORTFOILIO_MONITOR_VENDOR}/companies'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: data
-
tag: SecurityScorecard
value: Vendor
-
uuid: 47016cc47336479ba91b3c8a1a9b8c20
name: 'Security Scorecard Vendor Score Average'
type: CALCULATED
key: securityscorecard.api.portfolio.vendor.score.avg
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.vendor.score[*]))'
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Vendor
-
uuid: 10a03a66bc484534842c2c21e80aed21
name: 'Security Scorecard Vendor Score Average Change'
type: CALCULATED
key: securityscorecard.api.portfolio.vendor.score.avg.change
delay: 1h
params: 'avg(last_foreach(//securityscorecard.api.portfolio.vendor.score[*]))'
preprocessing:
-
type: SIMPLE_CHANGE
parameters:
- ''
tags:
-
tag: SecurityScorecard
value: AverageScore
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Vendor
-
uuid: 056873e219544dd5ad0726ee4a1e27aa
name: securityscorecard.api.portfolios.data
type: HTTP_AGENT
key: securityscorecard.api.portfolios.data
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/portfolios'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: data
discovery_rules:
-
uuid: d8a251322e14425b89ff635eb7afb4c0
name: securityscorecard.api.portfolio.competitor.discovery
type: DEPENDENT
key: securityscorecard.api.portfolio.competitor.discovery
delay: '0'
item_prototypes:
-
uuid: 88254341a5b542e9b97e84605184abba
name: 'Competitor Scorecard - {#COMP_NAME} Domain'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.domain[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["domain"].first()'
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Domain
-
uuid: 7a18a2e701994033855938d7b70cf126
name: 'Competitor Scorecard - {#COMP_NAME} Grade'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.grade[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["grade"].first()'
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Grade
-
uuid: 0daa797b80b7465599097745416afad7
name: 'Competitor Scorecard - {#COMP_NAME} Industry'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.industry[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["industry"].first()'
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
-
uuid: 4959aec9af324d858842c2a56a64bf45
name: 'Competitor Scorecard - {#COMP_NAME} Score Change'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.score.change[{#COMP_DOM}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["score"].first()'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Score
-
uuid: 681ec4bed2894d539af340866ff3f897
name: 'Competitor Scorecard - {#COMP_NAME} Score'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.score[{#COMP_DOM}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["score"].first()'
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Score
-
uuid: f5f77753135b4eb8a95c25e9680f85fd
name: 'Competitor Scorecard - {#COMP_NAME} Services - Cloud Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.service.cloud[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''cloud'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Services
-
uuid: 153b413e7f8641b8940e9945b62c0c70
name: 'Competitor Scorecard - {#COMP_NAME} Services - Mail Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.service.mail[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''mail'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Services
-
uuid: f3de291f2bbc421ebdcabd0b84866496
name: 'Competitor Scorecard - {#COMP_NAME} Services - NS Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.service.ns[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''name'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Services
-
uuid: 9ab27643738d485c80ab2c4893031be1
name: 'Competitor Scorecard - {#COMP_NAME} Services - Registrar'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.service.registar[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''registrar'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: Services
-
uuid: 600903a4944a413d9c63e61c652b0daf
name: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
type: HTTP_AGENT
key: 'securityscorecard.api.portfolio.competitor.services.data[{#COMP_DOM}]'
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/companies/{#COMP_DOM}/services'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: Competitor
-
tag: SecurityScorecard
value: data
-
tag: SecurityScorecard
value: Services
-
uuid: b5037c57d8db49d2aa35d3dddbea8b4e
name: 'Competitor Scorecard - {#COMP_NAME} Size'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.competitor.size[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["size"].first()'
master_item:
key: securityscorecard.api.portfolio.competitor.data
tags:
-
tag: SecurityScorecard
value: Competitor
graph_prototypes:
-
uuid: 33b630a8380e44ceb6666ea57b4d378a
name: 'Competitor Scorecard - {#COMP_NAME} Score'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
-
sortorder: '1'
color: 1A7C11
item:
host: 'Security Scorecard API'
key: 'securityscorecard.api.portfolio.competitor.score[{#COMP_DOM}]'
-
sortorder: '2'
color: F63100
item:
host: 'Security Scorecard API'
key: securityscorecard.api.portfolio.competitor.score.avg
master_item:
key: securityscorecard.api.portfolio.competitor.data
preprocessing:
-
type: STR_REPLACE
parameters:
- '"entries":'
- '"data":'
-
type: STR_REPLACE
parameters:
- '"domain"'
- '"{#COMP_DOM}"'
-
type: STR_REPLACE
parameters:
- '"name"'
- '"{#COMP_NAME}"'
-
uuid: 5c0d5a554af54524bd4e651ca658df78
name: securityscorecard.api.portfolio.primary.discovery
type: DEPENDENT
key: securityscorecard.api.portfolio.primary.discovery
delay: '0'
item_prototypes:
-
uuid: 6ad2f390f9f748bcb5dca60028d17f17
name: 'Primary Scorecard - {#COMP_NAME} Domain'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.domain[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["domain"].first()'
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Domain
-
tag: SecurityScorecard
value: Primary
-
uuid: 356edce6b91a4d8da86a180bde6fc82f
name: 'Primary Scorecard - {#COMP_NAME} Grade'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.grade[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["grade"].first()'
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Grade
-
tag: SecurityScorecard
value: Primary
-
uuid: ce5601391bee4b36ba6a1811cab95e85
name: 'Primary Scorecard - {#COMP_NAME} Industry'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.industry[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["industry"].first()'
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Primary
-
uuid: 0e016abeca4c443dbd836bd724dc50f4
name: 'Primary Scorecard - {#COMP_NAME} Score Change'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.score.change[{#COMP_DOM}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["score"].first()'
-
type: SIMPLE_CHANGE
parameters:
- ''
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Change
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Score
trigger_prototypes:
-
uuid: e47adefb5d0f41bca339d46b7906be07
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.change[{#COMP_DOM}])<={$SECURITYSCORECARD_PRIMARY_ALERT_SCORE_DROP}'
name: 'Security Scorecard Primary - {#COMP_NAME$} Dropped Points Greater than Threshold ({ITEM.LASTVALUE1} < {$SECURITYSCORECARD_PRIMARY_ALERT_SCORE_DROP})'
opdata: '{ITEM.LASTVALUE1}'
priority: WARNING
manual_close: 'YES'
-
uuid: 30c5b600a5904c0eb599ec28ecb9f3ab
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score.change[{#COMP_DOM}])<0'
name: 'Security Scorecard Primary - {#COMP_NAME$} Score Dropped {ITEM.LASTVALUE1}'
opdata: '{ITEM.LASTVALUE1}'
priority: INFO
manual_close: 'YES'
-
uuid: f54f5e633d0549ab9d1b6e29dbbf94f1
name: 'Primary Scorecard - {#COMP_NAME} Score'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.score[{#COMP_DOM}]'
delay: '0'
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["domain"] == ''{#COMP_DOM}'')].["score"].first()'
master_item:
key: securityscorecard.api.portfolio.primary.data
tags:
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Score
trigger_prototypes:
-
uuid: 87910284100c40ac9ff890d5b6a449ab
expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score[{#COMP_DOM}])<{$SECURITYSCORECARD_PRIMARY_ALERT}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/Security Scorecard API/securityscorecard.api.portfolio.primary.score[{#COMP_DOM}])>={$SECURITYSCORECARD_PRIMARY_ALERT}'
name: 'Security Scorecard - {#COMP_NAME$} Dropped Below Score Threshold ({ITEM.LASTVALUE1} < {$SECURITYSCORECARD_PRIMARY_ALERT})'
opdata: '{ITEM.LASTVALUE1}'
priority: WARNING
-
uuid: a55641db0abb423185735b5baef201bf
name: 'Primary Scorecard - {#COMP_NAME} Services - Cloud Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.service.cloud[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''cloud'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Services
-
uuid: 7df035ef0db046ab88dfae0abb224a75
name: 'Primary Scorecard - {#COMP_NAME} Services - Mail Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.service.mail[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''mail'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Services
-
uuid: b9b68ecd403643578a91a8bfac0a63e9
name: 'Primary Scorecard - {#COMP_NAME} Services - NS Provider'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.service.ns[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''nameserver'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Services
-
uuid: fa040b17a7f94074bc054534308cad18
name: 'Primary Scorecard - {#COMP_NAME} Services - Registrar'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.service.registar[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-
type: JSONPATH
parameters:
- $.entries
-
type: JSONPATH
parameters:
- '$[?(@.["categories"] =~ ''registrar'')].["vendor_domain"].first()'
master_item:
key: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
tags:
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Services
-
uuid: d927d5bf81084fa9bbf52856015d920e
name: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
type: HTTP_AGENT
key: 'securityscorecard.api.portfolio.primary.services.data[{#COMP_DOM}]'
delay: 1h
history: 1d
trends: '0'
value_type: TEXT
url: '{$SECURITYSCORECARD_URI}/companies/{#COMP_DOM}/services'
headers:
-
name: Accept
value: 'application/json; charset=utf-8'
-
name: Authorization
value: 'Token {$SECURITYSCORECARD_API}'
tags:
-
tag: SecurityScorecard
value: data
-
tag: SecurityScorecard
value: Primary
-
tag: SecurityScorecard
value: Services
-
uuid: ee1fb0abca7147c4a8c9650462053f0c
name: 'Primary Scorecard - {#COMP_NAME} Size'
type: DEPENDENT
key: 'securityscorecard.api.portfolio.primary.size[{#COMP_DOM}]'
delay: '0'
trends: '0'
value_type: TEXT
preprocessing:
-