Skip to content

Instantly share code, notes, and snippets.

@iamfuzz
Created November 6, 2023 18:17
Show Gist options
  • Save iamfuzz/38fd582f1403a69a2bc27225439cd1f2 to your computer and use it in GitHub Desktop.
Save iamfuzz/38fd582f1403a69a2bc27225439cd1f2 to your computer and use it in GitHub Desktop.
{
"name": "Anchore - Policy Report",
"description": null,
"permissions": "PUBLIC_READ_WRITE",
"pages": [
{
"name": "Anchore - Policy Report",
"description": null,
"widgets": [
{
"title": "Vulnerabilities by Severity",
"layout": {
"column": 1,
"row": 1,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.pie"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": true
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountIds": [
2448291
],
"query": "FROM Anchore1698686488 SELECT count(*) Facet severity"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Policy failures by image",
"layout": {
"column": 7,
"row": 1,
"width": 6,
"height": 4
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.bar"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
2448291
],
"query": "FROM Anchore1698686488 SELECT count(*) FACET tag"
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
},
{
"title": "Common poliy failures",
"layout": {
"column": 1,
"row": 5,
"width": 12,
"height": 5
},
"linkedEntityGuids": null,
"visualization": {
"id": "viz.table"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"nrqlQueries": [
{
"accountIds": [
2448291
],
"query": "FROM Anchore1698686488 SELECT count(*) FACET description SINCE 1 week ago "
}
],
"platformOptions": {
"ignoreTimeRange": false
}
}
}
]
}
],
"variables": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment