main
json 953 lines 23.7 KB
Raw
1 {
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": {
7 "type": "grafana",
8 "uid": "-- Grafana --"
9 },
10 "enable": true,
11 "hide": true,
12 "iconColor": "rgba(0, 211, 255, 1)",
13 "name": "Annotations & Alerts",
14 "type": "dashboard"
15 }
16 ]
17 },
18 "editable": false,
19 "fiscalYearStartMonth": 0,
20 "graphTooltip": 0,
21 "id": null,
22 "links": [],
23 "panels": [
24 {
25 "datasource": {
26 "type": "grafana-opensearch-datasource",
27 "uid": "replace_datasource_uid"
28 },
29 "fieldConfig": {
30 "defaults": {
31 "mappings": [
32 {
33 "options": {
34 "match": "null",
35 "result": {
36 "text": "N/A"
37 }
38 },
39 "type": "special"
40 }
41 ],
42 "thresholds": {
43 "mode": "absolute",
44 "steps": [
45 {
46 "color": "orange",
47 "value": null
48 }
49 ]
50 },
51 "unit": "locale"
52 },
53 "overrides": []
54 },
55 "gridPos": {
56 "h": 7,
57 "w": 3,
58 "x": 0,
59 "y": 0
60 },
61 "id": 2,
62 "options": {
63 "colorMode": "value",
64 "graphMode": "area",
65 "justifyMode": "auto",
66 "orientation": "horizontal",
67 "percentChangeColorMode": "standard",
68 "reduceOptions": {
69 "calcs": [
70 "sum"
71 ],
72 "fields": "",
73 "values": false
74 },
75 "showPercentChange": false,
76 "text": {},
77 "textMode": "auto",
78 "wideLayout": true
79 },
80 "pluginVersion": "11.4.0",
81 "targets": [
82 {
83 "bucketAggs": [
84 {
85 "field": "timestamp",
86 "id": "2",
87 "settings": {
88 "interval": "auto",
89 "min_doc_count": 0,
90 "trimEdges": 0
91 },
92 "type": "date_histogram"
93 }
94 ],
95 "datasource": {
96 "type": "grafana-opensearch-datasource",
97 "uid": "replace_datasource_uid"
98 },
99 "metrics": [
100 {
101 "field": "select field",
102 "id": "1",
103 "type": "count"
104 }
105 ],
106 "query": "_exists_:json_description",
107 "refId": "A",
108 "timeField": "timestamp"
109 }
110 ],
111 "title": "ALERTS",
112 "type": "stat"
113 },
114 {
115 "datasource": {
116 "type": "grafana-opensearch-datasource",
117 "uid": "replace_datasource_uid"
118 },
119 "fieldConfig": {
120 "defaults": {
121 "color": {
122 "mode": "thresholds"
123 },
124 "custom": {
125 "align": "auto",
126 "cellOptions": {
127 "type": "auto"
128 },
129 "inspect": false
130 },
131 "mappings": [],
132 "thresholds": {
133 "mode": "absolute",
134 "steps": [
135 {
136 "color": "dark-orange",
137 "value": null
138 }
139 ]
140 }
141 },
142 "overrides": [
143 {
144 "matcher": {
145 "id": "byName",
146 "options": "Time"
147 },
148 "properties": [
149 {
150 "id": "displayName",
151 "value": "Time"
152 },
153 {
154 "id": "unit",
155 "value": "time: YYYY-MM-DD HH:mm:ss"
156 },
157 {
158 "id": "custom.align"
159 }
160 ]
161 },
162 {
163 "matcher": {
164 "id": "byName",
165 "options": "Count"
166 },
167 "properties": [
168 {
169 "id": "displayName",
170 "value": "EVENTS"
171 },
172 {
173 "id": "unit",
174 "value": "short"
175 },
176 {
177 "id": "decimals",
178 "value": -1
179 },
180 {
181 "id": "custom.cellOptions",
182 "value": {
183 "mode": "gradient",
184 "type": "color-background"
185 }
186 },
187 {
188 "id": "custom.align"
189 },
190 {
191 "id": "thresholds",
192 "value": {
193 "mode": "absolute",
194 "steps": [
195 {
196 "color": "dark-orange",
197 "value": null
198 }
199 ]
200 }
201 }
202 ]
203 },
204 {
205 "matcher": {
206 "id": "byName",
207 "options": "agent_name"
208 },
209 "properties": [
210 {
211 "id": "displayName",
212 "value": "AGENT"
213 },
214 {
215 "id": "custom.cellOptions",
216 "value": {
217 "mode": "gradient",
218 "type": "color-background"
219 }
220 },
221 {
222 "id": "custom.align"
223 },
224 {
225 "id": "links",
226 "value": [
227 {
228 "targetBlank": true,
229 "title": "VIEW EVENTS",
230 "url": "https://grafana.morcan.sec/explore?left=%5B%22now-1h%22,%22now%22,%22WAZUH%22,%7B%22refId%22:%22A%22,%22query%22:%22agent_name:${__value.text}%22,%22alias%22:%22%22,%22metrics%22:%5B%7B%22id%22:%221%22,%22type%22:%22logs%22,%22settings%22:%7B%22limit%22:%22500%22%7D%7D%5D,%22bucketAggs%22:%5B%7B%22type%22:%22date_histogram%22,%22id%22:%221%22,%22settings%22:%7B%22interval%22:%22auto%22%7D%7D%5D,%22timeField%22:%22timestamp%22%7D%5D"
231 }
232 ]
233 }
234 ]
235 },
236 {
237 "matcher": {
238 "id": "byName",
239 "options": "Count"
240 },
241 "properties": [
242 {
243 "id": "displayName",
244 "value": "ALERTS"
245 },
246 {
247 "id": "unit",
248 "value": "short"
249 },
250 {
251 "id": "decimals",
252 "value": 0
253 },
254 {
255 "id": "custom.align"
256 }
257 ]
258 },
259 {
260 "matcher": {
261 "id": "byName",
262 "options": "COMPUTER"
263 },
264 "properties": [
265 {
266 "id": "custom.width",
267 "value": 276
268 }
269 ]
270 }
271 ]
272 },
273 "gridPos": {
274 "h": 7,
275 "w": 5,
276 "x": 3,
277 "y": 0
278 },
279 "id": 3,
280 "options": {
281 "cellHeight": "sm",
282 "footer": {
283 "countRows": false,
284 "fields": "",
285 "reducer": [
286 "sum"
287 ],
288 "show": false
289 },
290 "showHeader": true,
291 "sortBy": []
292 },
293 "pluginVersion": "11.4.0",
294 "targets": [
295 {
296 "bucketAggs": [
297 {
298 "fake": true,
299 "field": "json_computerDnsName",
300 "id": "4",
301 "settings": {
302 "min_doc_count": 1,
303 "order": "desc",
304 "orderBy": "_term",
305 "size": "0"
306 },
307 "type": "terms"
308 }
309 ],
310 "datasource": {
311 "type": "grafana-opensearch-datasource",
312 "uid": "replace_datasource_uid"
313 },
314 "metrics": [
315 {
316 "field": "select field",
317 "id": "1",
318 "type": "count"
319 }
320 ],
321 "query": "_exists_:json_description",
322 "refId": "A",
323 "timeField": "timestamp"
324 }
325 ],
326 "title": "ALERTS BY AGENT",
327 "transformations": [
328 {
329 "id": "organize",
330 "options": {
331 "excludeByName": {},
332 "includeByName": {},
333 "indexByName": {},
334 "renameByName": {
335 "json_computerDnsName": "COMPUTER"
336 }
337 }
338 }
339 ],
340 "type": "table"
341 },
342 {
343 "datasource": {
344 "type": "grafana-opensearch-datasource",
345 "uid": "replace_datasource_uid"
346 },
347 "fieldConfig": {
348 "defaults": {
349 "color": {
350 "mode": "palette-classic"
351 },
352 "custom": {
353 "axisBorderShow": false,
354 "axisCenteredZero": false,
355 "axisColorMode": "text",
356 "axisLabel": "",
357 "axisPlacement": "auto",
358 "barAlignment": 0,
359 "barWidthFactor": 0.6,
360 "drawStyle": "bars",
361 "fillOpacity": 0,
362 "gradientMode": "none",
363 "hideFrom": {
364 "legend": false,
365 "tooltip": false,
366 "viz": false
367 },
368 "insertNulls": false,
369 "lineInterpolation": "linear",
370 "lineWidth": 1,
371 "pointSize": 5,
372 "scaleDistribution": {
373 "type": "linear"
374 },
375 "showPoints": "auto",
376 "spanNulls": false,
377 "stacking": {
378 "group": "A",
379 "mode": "normal"
380 },
381 "thresholdsStyle": {
382 "mode": "off"
383 }
384 },
385 "mappings": [],
386 "thresholds": {
387 "mode": "absolute",
388 "steps": [
389 {
390 "color": "green",
391 "value": null
392 },
393 {
394 "color": "red",
395 "value": 80
396 }
397 ]
398 }
399 },
400 "overrides": []
401 },
402 "gridPos": {
403 "h": 17,
404 "w": 16,
405 "x": 8,
406 "y": 0
407 },
408 "id": 4,
409 "options": {
410 "legend": {
411 "calcs": [],
412 "displayMode": "table",
413 "placement": "right",
414 "showLegend": true
415 },
416 "tooltip": {
417 "mode": "single",
418 "sort": "none"
419 }
420 },
421 "pluginVersion": "11.4.0",
422 "targets": [
423 {
424 "alias": "",
425 "bucketAggs": [
426 {
427 "field": "json_computerDnsName",
428 "id": "3",
429 "settings": {
430 "min_doc_count": "1",
431 "order": "desc",
432 "orderBy": "_term",
433 "size": "10"
434 },
435 "type": "terms"
436 },
437 {
438 "field": "timestamp",
439 "id": "2",
440 "settings": {
441 "interval": "5m"
442 },
443 "type": "date_histogram"
444 }
445 ],
446 "datasource": {
447 "type": "grafana-opensearch-datasource",
448 "uid": "replace_datasource_uid"
449 },
450 "metrics": [
451 {
452 "id": "1",
453 "type": "count"
454 }
455 ],
456 "query": "_exists_:json_description",
457 "refId": "A",
458 "timeField": "timestamp"
459 }
460 ],
461 "title": "TOP 10 AGENTS - HISTOGRAM",
462 "transparent": true,
463 "type": "timeseries"
464 },
465 {
466 "datasource": {
467 "type": "grafana-opensearch-datasource",
468 "uid": "replace_datasource_uid"
469 },
470 "fieldConfig": {
471 "defaults": {
472 "color": {
473 "mode": "palette-classic"
474 },
475 "custom": {
476 "hideFrom": {
477 "legend": false,
478 "tooltip": false,
479 "viz": false
480 }
481 },
482 "decimals": 0,
483 "mappings": [],
484 "unit": "short"
485 },
486 "overrides": [
487 {
488 "matcher": {
489 "id": "byName",
490 "options": "1"
491 },
492 "properties": [
493 {
494 "id": "color",
495 "value": {
496 "fixedColor": "#C8F2C2",
497 "mode": "fixed"
498 }
499 }
500 ]
501 },
502 {
503 "matcher": {
504 "id": "byName",
505 "options": "2"
506 },
507 "properties": [
508 {
509 "id": "color",
510 "value": {
511 "fixedColor": "#96D98D",
512 "mode": "fixed"
513 }
514 }
515 ]
516 },
517 {
518 "matcher": {
519 "id": "byName",
520 "options": "3"
521 },
522 "properties": [
523 {
524 "id": "color",
525 "value": {
526 "fixedColor": "#56A64B",
527 "mode": "fixed"
528 }
529 }
530 ]
531 },
532 {
533 "matcher": {
534 "id": "byName",
535 "options": "4"
536 },
537 "properties": [
538 {
539 "id": "color",
540 "value": {
541 "fixedColor": "#37872D",
542 "mode": "fixed"
543 }
544 }
545 ]
546 },
547 {
548 "matcher": {
549 "id": "byName",
550 "options": "5"
551 },
552 "properties": [
553 {
554 "id": "color",
555 "value": {
556 "fixedColor": "#FFF899",
557 "mode": "fixed"
558 }
559 }
560 ]
561 },
562 {
563 "matcher": {
564 "id": "byName",
565 "options": "7"
566 },
567 "properties": [
568 {
569 "id": "color",
570 "value": {
571 "fixedColor": "#F2CC0C",
572 "mode": "fixed"
573 }
574 }
575 ]
576 },
577 {
578 "matcher": {
579 "id": "byName",
580 "options": "9"
581 },
582 "properties": [
583 {
584 "id": "color",
585 "value": {
586 "fixedColor": "#FF9830",
587 "mode": "fixed"
588 }
589 }
590 ]
591 },
592 {
593 "matcher": {
594 "id": "byName",
595 "options": "10"
596 },
597 "properties": [
598 {
599 "id": "color",
600 "value": {
601 "fixedColor": "#FF9830",
602 "mode": "fixed"
603 }
604 }
605 ]
606 },
607 {
608 "matcher": {
609 "id": "byName",
610 "options": "12"
611 },
612 "properties": [
613 {
614 "id": "color",
615 "value": {
616 "fixedColor": "#F2495C",
617 "mode": "fixed"
618 }
619 }
620 ]
621 },
622 {
623 "matcher": {
624 "id": "byName",
625 "options": "13"
626 },
627 "properties": [
628 {
629 "id": "color",
630 "value": {
631 "fixedColor": "#FF7383",
632 "mode": "fixed"
633 }
634 }
635 ]
636 }
637 ]
638 },
639 "gridPos": {
640 "h": 10,
641 "w": 8,
642 "x": 0,
643 "y": 7
644 },
645 "id": 5,
646 "maxDataPoints": 3,
647 "options": {
648 "displayLabels": [],
649 "legend": {
650 "calcs": [],
651 "displayMode": "table",
652 "placement": "right",
653 "showLegend": true,
654 "values": [
655 "value",
656 "percent"
657 ]
658 },
659 "pieType": "donut",
660 "reduceOptions": {
661 "calcs": [
662 "sum"
663 ],
664 "fields": "",
665 "values": false
666 },
667 "text": {},
668 "tooltip": {
669 "mode": "single",
670 "sort": "none"
671 }
672 },
673 "pluginVersion": "11.4.0",
674 "targets": [
675 {
676 "bucketAggs": [
677 {
678 "$$hashKey": "object:235",
679 "fake": true,
680 "field": "json_evidence_entityType",
681 "id": "3",
682 "settings": {
683 "min_doc_count": 1,
684 "order": "desc",
685 "orderBy": "_count",
686 "size": "10"
687 },
688 "type": "terms"
689 },
690 {
691 "$$hashKey": "object:236",
692 "field": "timestamp",
693 "id": "2",
694 "settings": {
695 "interval": "auto",
696 "min_doc_count": 0,
697 "trimEdges": 0
698 },
699 "type": "date_histogram"
700 }
701 ],
702 "datasource": {
703 "type": "grafana-opensearch-datasource",
704 "uid": "replace_datasource_uid"
705 },
706 "metrics": [
707 {
708 "$$hashKey": "object:233",
709 "field": "select field",
710 "id": "1",
711 "meta": {},
712 "settings": {},
713 "type": "count"
714 }
715 ],
716 "query": "_exists_:json_description",
717 "refId": "A",
718 "timeField": "timestamp"
719 }
720 ],
721 "title": "EVENTS BY TYPE",
722 "type": "piechart"
723 },
724 {
725 "datasource": {
726 "type": "grafana-opensearch-datasource",
727 "uid": "replace_datasource_uid"
728 },
729 "fieldConfig": {
730 "defaults": {
731 "color": {
732 "mode": "thresholds"
733 },
734 "custom": {
735 "align": "auto",
736 "cellOptions": {
737 "type": "auto"
738 },
739 "filterable": true,
740 "inspect": false
741 },
742 "mappings": [],
743 "thresholds": {
744 "mode": "absolute",
745 "steps": [
746 {
747 "color": "green",
748 "value": null
749 },
750 {
751 "color": "red",
752 "value": 80
753 }
754 ]
755 }
756 },
757 "overrides": [
758 {
759 "matcher": {
760 "id": "byName",
761 "options": "EVENT ID"
762 },
763 "properties": [
764 {
765 "id": "links",
766 "value": [
767 {
768 "targetBlank": true,
769 "title": "EVENT DETAILS",
770 "url": "https://grafana.morcan.sec/explore?left=%7B%22datasource%22:%22DFE%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22query%22:%22_id:${__value.text}%22,%22alias%22:%22%22,%22metrics%22:%5B%7B%22id%22:%221%22,%22type%22:%22logs%22,%22settings%22:%7B%22limit%22:%22500%22%7D%7D%5D,%22bucketAggs%22:%5B%7B%22type%22:%22date_histogram%22,%22id%22:%221%22,%22settings%22:%7B%22interval%22:%22auto%22%7D%7D%5D,%22timeField%22:%22timestamp%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D"
771 }
772 ]
773 }
774 ]
775 },
776 {
777 "matcher": {
778 "id": "byName",
779 "options": "COMPUTER"
780 },
781 "properties": [
782 {
783 "id": "custom.width",
784 "value": 284
785 }
786 ]
787 },
788 {
789 "matcher": {
790 "id": "byName",
791 "options": "USER"
792 },
793 "properties": [
794 {
795 "id": "custom.width",
796 "value": 129
797 }
798 ]
799 },
800 {
801 "matcher": {
802 "id": "byName",
803 "options": "ENTITY TYPE"
804 },
805 "properties": [
806 {
807 "id": "custom.width",
808 "value": 137
809 }
810 ]
811 }
812 ]
813 },
814 "gridPos": {
815 "h": 17,
816 "w": 24,
817 "x": 0,
818 "y": 17
819 },
820 "id": 1,
821 "options": {
822 "cellHeight": "sm",
823 "footer": {
824 "countRows": false,
825 "enablePagination": true,
826 "fields": "",
827 "reducer": [
828 "sum"
829 ],
830 "show": false
831 },
832 "showHeader": true,
833 "sortBy": []
834 },
835 "pluginVersion": "11.4.0",
836 "targets": [
837 {
838 "alias": "",
839 "bucketAggs": [{"type": "date_histogram", "id": "1", "settings": {"interval": "auto"}}],
840 "datasource": {
841 "type": "grafana-opensearch-datasource",
842 "uid": "replace_datasource_uid"
843 },
844 "format": "table",
845 "metrics": [
846 {
847 "id": "1",
848 "settings": {
849 "order": "desc",
850 "size": "500",
851 "useTimeRange": true
852 },
853 "type": "raw_data"
854 }
855 ],
856 "query": "_exists_:json_description",
857 "queryType": "lucene",
858 "refId": "A",
859 "timeField": "timestamp"
860 }
861 ],
862 "title": "EVENTS",
863 "transformations": [
864 {
865 "id": "filterFieldsByName",
866 "options": {
867 "include": {
868 "names": [
869 "timestamp",
870 "_id",
871 "json_computerDnsName",
872 "json_description",
873 "json_detectionSource",
874 "json_evidence_detectionStatus",
875 "json_evidence_entityType",
876 "json_evidence_fileName",
877 "json_evidence_filePath",
878 "json_investigationState",
879 "json_mitreTechniques",
880 "json_severity",
881 "json_threatFamilyName",
882 "json_threatName",
883 "json_title",
884 "json_loggedOnUsers_0_accountName"
885 ]
886 }
887 }
888 },
889 {
890 "id": "organize",
891 "options": {
892 "excludeByName": {},
893 "includeByName": {},
894 "indexByName": {
895 "_id": 1,
896 "json_computerDnsName": 2,
897 "json_description": 4,
898 "json_detectionSource": 8,
899 "json_evidence_detectionStatus": 9,
900 "json_evidence_entityType": 10,
901 "json_evidence_fileName": 11,
902 "json_evidence_filePath": 12,
903 "json_investigationState": 13,
904 "json_loggedOnUsers_0_accountName": 3,
905 "json_mitreTechniques": 14,
906 "json_severity": 15,
907 "json_threatFamilyName": 6,
908 "json_threatName": 5,
909 "json_title": 7,
910 "timestamp": 0
911 },
912 "renameByName": {
913 "_id": "EVENT ID",
914 "json_computerDnsName": "COMPUTER",
915 "json_description": "DESCRIPTION",
916 "json_detectionSource": "DETECTION SOURCE",
917 "json_evidence_detectionStatus": "STATUS",
918 "json_evidence_entityType": "ENTITY TYPE",
919 "json_evidence_fileName": "FILE NAME",
920 "json_evidence_filePath": "PATH",
921 "json_evidence_url": "",
922 "json_investigationState": "STATE",
923 "json_loggedOnUsers": "USER",
924 "json_loggedOnUsers_0_accountName": "USER",
925 "json_mitreTechniques": "TTPs",
926 "json_severity": "SEVERITY",
927 "json_threatFamilyName": "FAMILY",
928 "json_threatName": "THREAT",
929 "json_title": "TITLE",
930 "timestamp": "DATE/TIME"
931 }
932 }
933 }
934 ],
935 "type": "table"
936 }
937 ],
938 "preload": false,
939 "schemaVersion": 40,
940 "tags": [],
941 "templating": {
942 "list": []
943 },
944 "time": {
945 "from": "now-7d",
946 "to": "now"
947 },
948 "timepicker": {},
949 "timezone": "browser",
950 "title": "EDR - MS DFE _SUMMARY",
951 "version": 2,
952 "weekStart": ""
953 }