-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#312 Add default dashboards during database migration
- Loading branch information
Showing
6 changed files
with
303 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"title":"Alert statistics","definition":{"period":"last3Months","items":[{"type":"container","items":[{"type":"donut","options":{"title":"Alerts by status","entity":"alert","field":"status","query":{},"names":{"New":"New","Updated":"Updated","Ignored":"Ignored","Imported":"Imported"}},"id":"cd063f98-21cc-405c-18a9-af669acae104"},{"type":"donut","options":{"title":"Waiting alerts by type","entity":"alert","field":"type","filters":[{"field":"status","type":"enumeration","value":{"list":[{"text":"New","label":"New"},{"text":"Updated","label":"Updated"}]}}],"query":{"_or":[{"_field":"status","_value":"New"},{"_field":"status","_value":"Updated"}]},"names":{}},"id":"8ca4226f-374e-5315-71b8-5d6a4141d886"},{"type":"donut","options":{"title":"Waiting alerts by source","entity":"alert","field":"source","filters":[{"field":"status","type":"enumeration","value":{"list":[{"text":"New","label":"New"},{"text":"Updated","label":"Updated"}]}}],"query":{"_or":[{"_field":"status","_value":"New"},{"_field":"status","_value":"Updated"}]},"names":{}},"id":"73a986bb-7f53-fc62-6cc8-1e099fadc4b4"}]},{"type":"container","items":[{"type":"bar","options":{"entity":"alert","dateField":"createdAt","interval":"1w","field":"type","stacked":true,"title":"Alert type history","query":{},"names":{}},"id":"62633389-0aa0-827b-ef48-e5bedf7d5e7d"},{"type":"bar","options":{"title":"Alert source history","entity":"alert","dateField":"createdAt","interval":"1w","field":"source","stacked":true,"query":{},"names":{}},"id":"a513f977-e743-9862-0755-9831e9bf080a"}]}],"customPeriod":{"fromDate":null,"toDate":null}},"description":"Alert statistics","status":"Shared"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
{ | ||
"description": "case", | ||
"title": "Case statistics", | ||
"definition": { | ||
"period": "last3Months", | ||
"items": [{ | ||
"type": "container", | ||
"items": [{ | ||
"type": "donut", | ||
"options": { | ||
"title": "Owner of open cases", | ||
"entity": "case", | ||
"field": "owner", | ||
"filters": [{ | ||
"field": "status", | ||
"type": "enumeration", | ||
"value": { | ||
"list": [{ | ||
"text": "Open", | ||
"label": "Open" | ||
}] | ||
} | ||
}], | ||
"query": { | ||
"_field": "status", | ||
"_value": "Open" | ||
}, | ||
"names": {} | ||
}, | ||
"id": "4cb4f7d3-eb21-dd61-2a6f-85cf096a2a6e" | ||
}, { | ||
"type": "donut", | ||
"options": { | ||
"title": "Cases by status", | ||
"entity": "case", | ||
"field": "status", | ||
"filters": [], | ||
"names": { | ||
"NoImpact": "NoImpact", | ||
"WithImpact": "WithImpact", | ||
"NotApplicable": "NotApplicable", | ||
"Open": "Open", | ||
"Resolved": "Resolved", | ||
"Deleted": "Deleted" | ||
}, | ||
"query": {} | ||
}, | ||
"id": "84b81a65-4b3c-2b26-421e-fd7453d92f3e" | ||
}] | ||
}, { | ||
"type": "container", | ||
"items": [{ | ||
"type": "donut", | ||
"options": { | ||
"title": "Revolved cases by resolution", | ||
"entity": "case", | ||
"field": "resolutionStatus", | ||
"filters": [{ | ||
"field": "status", | ||
"type": "enumeration", | ||
"value": { | ||
"list": [{ | ||
"text": "Resolved", | ||
"label": "Resolved" | ||
}] | ||
} | ||
}], | ||
"query": { | ||
"_field": "status", | ||
"_value": "Resolved" | ||
}, | ||
"names": { | ||
"FalsePositive": "FalsePositive", | ||
"Duplicated": "Duplicated", | ||
"Indeterminate": "Indeterminate", | ||
"TruePositive": "TruePositive", | ||
"Other": "Other" | ||
} | ||
}, | ||
"id": "ede6e87a-2e39-5556-b421-1c4cd73a74b1" | ||
}, { | ||
"type": "donut", | ||
"options": { | ||
"title": "Case tags", | ||
"entity": "case", | ||
"field": "tags", | ||
"query": {}, | ||
"names": {} | ||
}, | ||
"id": "a9e47a5d-3c84-4949-b941-a60ea3c41e81" | ||
}] | ||
}, { | ||
"type": "container", | ||
"items": [{ | ||
"type": "bar", | ||
"options": { | ||
"entity": "case", | ||
"dateField": "createdAt", | ||
"interval": "1w", | ||
"field": "owner", | ||
"stacked": true, | ||
"query": {}, | ||
"names": {}, | ||
"title": "Case owner history" | ||
}, | ||
"id": "b5bb88c6-0a76-ca85-c4b6-5096199ddf80" | ||
}, { | ||
"type": "bar", | ||
"options": { | ||
"entity": "case", | ||
"dateField": "createdAt", | ||
"interval": "1w", | ||
"field": "severity", | ||
"stacked": true, | ||
"query": {}, | ||
"names": { | ||
"1": "low", | ||
"2": "medium", | ||
"3": "high" | ||
}, | ||
"title": "Case severity history" | ||
}, | ||
"id": "9bdac0ad-441b-2be3-9e6e-342968be5315" | ||
}, { | ||
"type": "bar", | ||
"options": { | ||
"entity": "case", | ||
"dateField": "createdAt", | ||
"interval": "1w", | ||
"field": "tlp", | ||
"stacked": true, | ||
"title": "Case TLP history", | ||
"query": {}, | ||
"names": { | ||
"0": "white", | ||
"1": "green", | ||
"2": "amber", | ||
"3": "red" | ||
} | ||
}, | ||
"id": "72157fd6-efb4-cf0c-a281-7eacc3c32a4f" | ||
}] | ||
}, { | ||
"type": "container", | ||
"items": [{ | ||
"type": "line", | ||
"options": { | ||
"title": "Case over time", | ||
"entity": "case", | ||
"field": "createdAt", | ||
"interval": "1w", | ||
"series": [{ | ||
"agg": "avg", | ||
"field": "computed.handlingDurationInHours", | ||
"type": "line", | ||
"filters": [{ | ||
"field": "status", | ||
"type": "enumeration", | ||
"value": { | ||
"list": [{ | ||
"text": "Resolved", | ||
"label": "Resolved" | ||
}] | ||
} | ||
}], | ||
"query": { | ||
"_field": "status", | ||
"_value": "Resolved" | ||
} | ||
}, { | ||
"agg": "count", | ||
"field": null, | ||
"type": "bar" | ||
}], | ||
"query": {} | ||
}, | ||
"id": "377784a7-49c2-50aa-2eba-acc862a0b841" | ||
}] | ||
}, { | ||
"type": "container", | ||
"items": [{ | ||
"type": "donut", | ||
"options": { | ||
"title": "TLP of open cases", | ||
"entity": "case", | ||
"field": "tlp", | ||
"filters": [{ | ||
"field": "status", | ||
"type": "enumeration", | ||
"value": { | ||
"list": [{ | ||
"text": "Open", | ||
"label": "Open" | ||
}] | ||
} | ||
}], | ||
"query": { | ||
"_field": "status", | ||
"_value": "Open" | ||
}, | ||
"names": { | ||
"0": "white", | ||
"1": "green", | ||
"2": "amber", | ||
"3": "red" | ||
} | ||
}, | ||
"id": "4c7bb013-c87f-7f17-0892-e20af2a0dcac" | ||
}, { | ||
"type": "donut", | ||
"options": { | ||
"title": "Severity of open cases", | ||
"entity": "case", | ||
"field": "severity", | ||
"filters": [{ | ||
"field": "status", | ||
"type": "enumeration", | ||
"value": { | ||
"list": [{ | ||
"text": "Open", | ||
"label": "Open" | ||
}] | ||
} | ||
}], | ||
"query": { | ||
"_field": "status", | ||
"_value": "Open" | ||
}, | ||
"names": { | ||
"1": "low", | ||
"2": "medium", | ||
"3": "high" | ||
} | ||
}, | ||
"id": "d943c6f4-61d8-b4dd-7a3a-56067829727a" | ||
}] | ||
}], | ||
"customPeriod": { | ||
"fromDate": null, | ||
"toDate": null | ||
} | ||
}, | ||
"status": "Shared" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"definition":{"period":"last3Months","items":[{"type":"container","items":[{"type":"donut","options":{"title":"Top analyzers","entity":"case_artifact_job","field":"analyzerId","query":{},"names":{}},"id":"1eaa4dfa-5b14-50b6-e442-8729363f6f66"},{"type":"donut","options":{"title":"Cortex instance use","entity":"case_artifact_job","field":"cortexId","query":{},"names":{}},"id":"c501c2d3-9779-1d2a-6d85-bb2bd68260f5"}]},{"type":"container","items":[{"type":"bar","options":{"title":"Job owners","entity":"case_artifact_job","dateField":"createdAt","interval":"1w","field":"createdBy","stacked":true,"query":{},"names":{}},"id":"bc10b554-aa4c-6fce-c4bb-b906b9b0e398"},{"type":"bar","options":{"title":"Analyzer history","entity":"case_artifact_job","dateField":"createdAt","interval":"1w","field":"analyzerId","stacked":true,"query":{},"names":{}},"id":"cd6d0dc1-a77d-be9d-e7dd-c6a8c79b0898"}]}],"customPeriod":{"fromDate":null,"toDate":null}},"title":"Job statistics","status":"Shared","description":"Job statistics"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"definition":{"period":"last3Months","items":[{"type":"container","items":[{"type":"donut","options":{"title":"Observables by type","entity":"case_artifact","field":"dataType","query":{},"names":{"fqdn":"fqdn","url":"url","regexp":"regexp","mail":"mail","hash":"hash","registry":"registry","uri_path":"uri_path","truc":"truc","ip":"ip","user-agent":"user-agent","autonomous-system":"autonomous-system","file":"file","mail_subject":"mail_subject","filename":"filename","other":"other","domain":"domain"}},"id":"6ee86a99-3f40-1960-fd4d-398a1da5b76e"},{"type":"donut","options":{"title":"Observables by attachment content type","entity":"case_artifact","field":"attachment.contentType","query":{"_field":"dataType","_value":"file"},"names":{},"filters":[{"field":"dataType","type":"enumeration","value":{"list":[{"text":"file","label":"file"}]}}]},"id":"b6110238-3074-4e85-674f-4bc56829e68a"}]},{"type":"container","items":[{"type":"donut","options":{"title":"Observable tags","entity":"case_artifact","field":"tags","query":{},"names":{}},"id":"70bbc0a5-1692-4e46-ebac-8769952ad9c0"},{"type":"donut","options":{"title":"Observables by TLP","entity":"case_artifact","field":"tlp","query":{},"names":{"0":"white","1":"green","2":"amber","3":"red"},"colors":{"0":"#bdf0ea","1":"#48e80f","2":"#e0a91a","3":"#f02626"}},"id":"633fbe97-805e-6123-3330-29f5c8f45f13"}]},{"type":"container","items":[{"type":"donut","options":{"title":"Observables by IOC flag","entity":"case_artifact","field":"ioc","query":{},"names":{}},"id":"771a3bdf-e437-ac3a-384d-23be91a25b07"},{"type":"line","options":{"title":"Observables over time","entity":"case_artifact","field":"createdAt","interval":"1w","series":[{"agg":"count","field":null,"type":"area-spline","filters":[{"field":"ioc","type":"boolean","value":true}],"label":"IOC","query":{"_field":"ioc","_value":true}},{"agg":"count","field":null,"type":"area-spline","label":"non-IOC","filters":[{"field":"ioc","type":"boolean","value":false}],"query":{"_field":"ioc","_value":false}}],"stacked":true,"query":{}},"id":"e5ed24a6-51ed-ecc4-9db0-ce837fd84214"}]}],"customPeriod":{"fromDate":null,"toDate":null}},"status":"Shared","title":"Observable statistics","description":"Observable statistics"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters