Summary
Get list of reports
Description
Return a list of compliance reports.
Route
GET /golden_config/gc/compliance/reports
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
This method has no parameters |
null
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
data | array | List of all the compliance reports. |
[ { "_id": "fe0609e2-2fdc-7cc1-c699-62f0a32d5cef", "reportId": "249f84f5-58d8-3df1-4f4c-d3b9005f8fd7", "device": "iosxr0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": 4270495, "score": 84.50113411653426, "grouping": { "tree": "3f257dc5-2741-5798-8623-ec037dd156bb", "leaf": "fbdc0f45-1290-8221-fe6b-c9498aa1cebf" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "XbzTa", "severity": "notices", "comparison": "string", "ruleId": "9682b2c4-97de-6836-79a1-a39e57951584", "templateVariable": "dQtFnV" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "ibuV", "severity": "notices", "comparison": "regex", "ruleId": "f39aed06-bf3c-17d8-4f8b-2b3941b58141", "templateVariable": "bQHqFv" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": 66794933.830164224, "severity": "notices", "comparison": "string", "ruleId": "4e78932f-adcc-9cca-5ba6-848c5f29a6d4", "templateVariable": "VYFKrj" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "pqhBaXwZ", "severity": "notices", "comparison": "string", "ruleId": "82f1f108-cbb1-c4b7-0589-a4012ed12a2e", "templateVariable": "chPh" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "warning", "comparison": "string", "ruleId": "e7c82f3c-0e0f-3c94-5f59-ec30296c198c", "templateVariable": "JqDymcwjEl" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -79001308.26405282, "severity": "notices", "comparison": "string", "ruleId": "454c398c-56f9-b2ab-3e80-77aed1f24178", "templateVariable": "G" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "notices", "comparison": "regex", "ruleId": "8b799910-d22d-fdcd-6cae-ee2e945f7158", "templateVariable": "KcUQjdXryfQ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "cdb24f10-71e9-9b68-0435-b14494a7e6ea", "templateVariable": "PBODUwULOJ" } ] }, { "_id": "f5ad2d91-e039-7816-d881-168ab7f671ed", "reportId": "f460cb94-e0f2-2cfa-fb5c-12df61bd157b", "device": "junos0", "date": "Fri Apr 26 09:56:38 EDT 2019", "ruleCount": 59325987, "score": 49.41530133645075, "grouping": { "tree": "8671a1dd-8095-977a-18ac-7376e2b319bb", "leaf": "aaca8107-4fd0-9080-900f-ad26f6b5a8ff" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "error", "comparison": "regex", "ruleId": "b757bd82-f77b-c98b-b37d-f81e91c37845", "templateVariable": "MRb" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "notices", "comparison": "regex", "ruleId": "0b351348-a162-5b11-925d-15f1ea523fea", "templateVariable": "dVMOmLPrrp" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 77784580.38329786, "severity": "warning", "comparison": "string", "ruleId": "b74e066b-dabf-634d-5dd9-3a43e4a4fb6c", "templateVariable": "vOxYNQ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "ebRKyFTIQH", "severity": "error", "comparison": "string", "ruleId": "ac302f5e-e68d-af7b-120c-62d1b92a7357", "templateVariable": "qcUTwHBQ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -42843056.474018134, "severity": "error", "comparison": "string", "ruleId": "1a604141-9488-7e89-e67a-62756f1b4699", "templateVariable": "APeNlCY" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "CNGwuf", "severity": "warning", "comparison": "string", "ruleId": "5403df5f-67a3-e597-acfe-3ef2e481eeaa", "templateVariable": "aotqs" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -47775592.043487735, "severity": "error", "comparison": "string", "ruleId": "8ce7a624-b6cd-2939-ef3e-e39bb57c24b7", "templateVariable": "OUoDRDvyxZK" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "cxq", "severity": "warning", "comparison": "regex", "ruleId": "e3b89b5e-0a6b-15a3-ef7f-0e0d4a2f0202", "templateVariable": "sGrnOqBXXl" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "warning", "comparison": "string", "ruleId": "6867d6b4-ba69-50f3-bf65-216906aeca63", "templateVariable": "lEWhu" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "tEW", "severity": "error", "comparison": "regex", "ruleId": "c3ed26d9-bc20-efc0-ab4d-ce9e775489e2", "templateVariable": "JtgDy" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": -94752173.98278181, "severity": "warning", "comparison": "string", "ruleId": "d73c9a9b-5b99-945e-cb34-df6864a7fe36", "templateVariable": "bjxTF" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "6b077816-e54f-f6e9-6622-da13c8236a6c", "templateVariable": "qcSakd" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }