-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix more integration dashboards' json definition (#1825)
- Loading branch information
Showing
29 changed files
with
10,023 additions
and
83 deletions.
There are no files selected for viewing
175 changes: 174 additions & 1 deletion
175
adaptive_shield/assets/dashboards/adaptive_shield_overview.json
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 |
---|---|---|
@@ -1 +1,174 @@ | ||
{"title":"Adaptive Shield Alerts Dashboard","description":"## Adaptive Shield Alerts Dashboard\n\nMonitor and analyze alerts from Adaptive Shield: configuration drifts, integration failures and security check degradations.\n","widgets":[{"id":1027599137725360,"definition":{"type":"image","url":"https://7938840.fs1.hubspotusercontent-na1.net/hubfs/7938840/Adaptive%20Shield%20-%20Main%20Logo@4x%20(2)%20(1).png","url_dark_theme":"https://7938840.fs1.hubspotusercontent-na1.net/hubfs/7938840/Logo%[email protected]","sizing":"contain","has_background":true,"has_border":true,"vertical_align":"center","horizontal_align":"center"},"layout":{"x":0,"y":0,"width":12,"height":2}},{"id":5819790721138146,"definition":{"title":"Adaptive Shield Alerts Stream","title_size":"16","title_align":"left","type":"event_stream","query":"source:adaptive_shield","event_size":"s"},"layout":{"x":0,"y":2,"width":4,"height":4}},{"id":2633793451677842,"definition":{"title":"Alerts Count Per Type","title_size":"16","title_align":"left","requests":[{"formulas":[{"formula":"query1","limit":{"order":"desc"}}],"style":{"palette":"classic"},"response_format":"scalar","queries":[{"search":{"query":"source:adaptive_shield"},"data_source":"events","compute":{"metric":"@evt.id","aggregation":"cardinality"},"name":"query1","indexes":["*"],"group_by":[{"facet":"type","sort":{"metric":"@evt.id","aggregation":"cardinality","order":"desc"},"limit":10}]}]}],"type":"sunburst","legend":{"type":"automatic"}},"layout":{"x":4,"y":2,"width":4,"height":4}},{"id":5325858656995348,"definition":{"title":"Alerts Count Per Integration","title_size":"16","title_align":"left","type":"query_table","requests":[{"formulas":[{"formula":"query1","conditional_formats":[],"limit":{"count":25,"order":"desc"},"cell_display_mode":"bar"}],"response_format":"scalar","queries":[{"search":{"query":"source:adaptive_shield"},"data_source":"events","compute":{"metric":"@evt.id","aggregation":"cardinality"},"name":"query1","indexes":["*"],"group_by":[{"facet":"@aggregation_key","sort":{"metric":"@evt.id","aggregation":"cardinality","order":"desc"},"limit":10}]}]}],"has_search_bar":"auto"},"layout":{"x":8,"y":2,"width":4,"height":4}},{"id":2809903660624346,"definition":{"title":"Alerts Over Time","title_size":"16","title_align":"left","show_legend":true,"legend_layout":"auto","legend_columns":["avg","min","max","value","sum"],"type":"timeseries","requests":[{"formulas":[{"formula":"query1"}],"response_format":"timeseries","queries":[{"search":{"query":"source:adaptive_shield"},"data_source":"events","compute":{"metric":"@evt.id","aggregation":"cardinality"},"name":"query1","indexes":["*"],"group_by":[{"facet":"type","sort":{"metric":"@evt.id","aggregation":"cardinality","order":"desc"},"limit":100}]}],"style":{"palette":"cool","line_type":"solid","line_width":"normal"},"display_type":"bars"}],"yaxis":{"include_zero":false,"scale":"log"}},"layout":{"x":0,"y":6,"width":12,"height":5}}],"template_variables":[],"layout_type":"ordered","is_read_only":false,"notify_list":[],"reflow_type":"fixed","id":"xnt-cru-ef7"} | ||
{ | ||
"title": "Adaptive Shield Alerts Dashboard", | ||
"description": "## Adaptive Shield Alerts Dashboard\n\nMonitor and analyze alerts from Adaptive Shield: configuration drifts, integration failures and security check degradations.\n", | ||
"widgets": [ | ||
{ | ||
"id": 1027599137725360, | ||
"definition": { | ||
"type": "image", | ||
"url": "https://7938840.fs1.hubspotusercontent-na1.net/hubfs/7938840/Adaptive%20Shield%20-%20Main%20Logo@4x%20(2)%20(1).png", | ||
"url_dark_theme": "https://7938840.fs1.hubspotusercontent-na1.net/hubfs/7938840/Logo%[email protected]", | ||
"sizing": "contain", | ||
"has_background": true, | ||
"has_border": true, | ||
"vertical_align": "center", | ||
"horizontal_align": "center" | ||
}, | ||
"layout": { "x": 0, "y": 0, "width": 12, "height": 2 } | ||
}, | ||
{ | ||
"id": 5819790721138146, | ||
"definition": { | ||
"title": "Adaptive Shield Alerts Stream", | ||
"title_size": "16", | ||
"title_align": "left", | ||
"type": "event_stream", | ||
"query": "source:adaptive_shield", | ||
"event_size": "s" | ||
}, | ||
"layout": { "x": 0, "y": 2, "width": 4, "height": 4 } | ||
}, | ||
{ | ||
"id": 2633793451677842, | ||
"definition": { | ||
"title": "Alerts Count Per Type", | ||
"title_size": "16", | ||
"title_align": "left", | ||
"requests": [ | ||
{ | ||
"formulas": [{ "formula": "query1", "limit": { "order": "desc" } }], | ||
"style": { "palette": "classic" }, | ||
"response_format": "scalar", | ||
"queries": [ | ||
{ | ||
"search": { "query": "source:adaptive_shield" }, | ||
"data_source": "events", | ||
"compute": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality" | ||
}, | ||
"name": "query1", | ||
"indexes": ["*"], | ||
"group_by": [ | ||
{ | ||
"facet": "type", | ||
"sort": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality", | ||
"order": "desc" | ||
}, | ||
"limit": 10 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"type": "sunburst", | ||
"legend": { "type": "automatic" } | ||
}, | ||
"layout": { "x": 4, "y": 2, "width": 4, "height": 4 } | ||
}, | ||
{ | ||
"id": 5325858656995348, | ||
"definition": { | ||
"title": "Alerts Count Per Integration", | ||
"title_size": "16", | ||
"title_align": "left", | ||
"type": "query_table", | ||
"requests": [ | ||
{ | ||
"formulas": [ | ||
{ | ||
"formula": "query1", | ||
"conditional_formats": [], | ||
"limit": { "count": 25, "order": "desc" }, | ||
"cell_display_mode": "bar" | ||
} | ||
], | ||
"response_format": "scalar", | ||
"queries": [ | ||
{ | ||
"search": { "query": "source:adaptive_shield" }, | ||
"data_source": "events", | ||
"compute": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality" | ||
}, | ||
"name": "query1", | ||
"indexes": ["*"], | ||
"group_by": [ | ||
{ | ||
"facet": "@aggregation_key", | ||
"sort": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality", | ||
"order": "desc" | ||
}, | ||
"limit": 10 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"has_search_bar": "auto" | ||
}, | ||
"layout": { "x": 8, "y": 2, "width": 4, "height": 4 } | ||
}, | ||
{ | ||
"id": 2809903660624346, | ||
"definition": { | ||
"title": "Alerts Over Time", | ||
"title_size": "16", | ||
"title_align": "left", | ||
"show_legend": true, | ||
"legend_layout": "auto", | ||
"legend_columns": ["avg", "min", "max", "value", "sum"], | ||
"type": "timeseries", | ||
"requests": [ | ||
{ | ||
"formulas": [{ "formula": "query1" }], | ||
"response_format": "timeseries", | ||
"queries": [ | ||
{ | ||
"search": { "query": "source:adaptive_shield" }, | ||
"data_source": "events", | ||
"compute": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality" | ||
}, | ||
"name": "query1", | ||
"indexes": ["*"], | ||
"group_by": [ | ||
{ | ||
"facet": "type", | ||
"sort": { | ||
"metric": "@evt.id", | ||
"aggregation": "cardinality", | ||
"order": "desc" | ||
}, | ||
"limit": 100 | ||
} | ||
] | ||
} | ||
], | ||
"style": { | ||
"palette": "cool", | ||
"line_type": "solid", | ||
"line_width": "normal" | ||
}, | ||
"display_type": "bars" | ||
} | ||
], | ||
"yaxis": { "include_zero": false, "scale": "log" } | ||
}, | ||
"layout": { "x": 0, "y": 6, "width": 12, "height": 5 } | ||
} | ||
], | ||
"template_variables": [], | ||
"layout_type": "ordered", | ||
"is_read_only": false, | ||
"notify_list": [], | ||
"reflow_type": "fixed" | ||
} |
Oops, something went wrong.