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": "371f02be-fd44-4ddc-a2a8-72ce447ca30f", "reportId": "22ab88ae-cb9a-8ed2-34cd-e6485f22a117", "device": "arista0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 69128951, "score": 39.256840435286854, "grouping": { "tree": "a8ad31a0-fd5f-ce8d-85ed-5c81ba5147ce", "leaf": "c515e4aa-e805-20d1-d057-129edfeb9ac6" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -61793033.06236576, "severity": "warning", "comparison": "regex", "ruleId": "8f40a61b-4315-806a-3c30-2cc95349d133", "templateVariable": "eKrWIegR" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": true, "severity": "error", "comparison": "regex", "ruleId": "ce27a6e1-37c9-437c-dd73-2f9efd895c34", "templateVariable": "LNdDpW" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "notices", "comparison": "string", "ruleId": "8354a037-bb76-d967-adca-ffa3f485a71d", "templateVariable": "PSwGPwTUmPt" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "wrSvArba", "severity": "notices", "comparison": "string", "ruleId": "ddb0c8b0-e925-bdad-503a-567a007ae0c2", "templateVariable": "mET" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "xMvul", "severity": "error", "comparison": "regex", "ruleId": "c9fce5b0-1b52-fb59-1323-d64c17314d3e", "templateVariable": "h" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "error", "comparison": "string", "ruleId": "f385432a-c561-3205-a68c-735859a2e62d", "templateVariable": "BKLthF" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "xrMxxE", "severity": "error", "comparison": "regex", "ruleId": "ff20e748-3ec1-ecea-edc0-527ee237bd14", "templateVariable": "kZOgjviej" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -95204034.12262772, "severity": "error", "comparison": "string", "ruleId": "15f40828-313e-c1cd-1616-5415274ddda8", "templateVariable": "RQtabHNkjgP" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "RKWbGsi", "severity": "error", "comparison": "string", "ruleId": "0be5f1a7-07a8-b736-2ff9-19e9cf80abea", "templateVariable": "JaMdkIVv" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": 62844449.66424641, "severity": "error", "comparison": "string", "ruleId": "f615ea04-c8e1-8f47-b245-96a3020909e2", "templateVariable": "TaEUGQzaJgq" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": 45321352.30876365, "severity": "warning", "comparison": "regex", "ruleId": "c40520e7-8816-58d7-82a4-2f65b8f222ac", "templateVariable": "zkS" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -75338536.5900312, "severity": "error", "comparison": "regex", "ruleId": "7013df7e-3c84-4ac0-d7cd-1976acb5b314", "templateVariable": "kvM" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": 57811905.821836054, "severity": "notices", "comparison": "regex", "ruleId": "4a051a4c-bade-b35a-2c6d-6773d01389de", "templateVariable": "sohePCed" } ] }, { "_id": "a5964966-eb8b-e20d-3c02-b39bf457d98c", "reportId": "9a9b2d32-2515-fdcf-ac18-6b1f4dbe3b2e", "device": "junos0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": -28433385, "score": 65.05678696677745, "grouping": { "tree": "fd5c5ed0-0687-9fe1-4b50-6cf2bf22bec1", "leaf": "ba576310-50db-6d6b-3a85-12de9a5d7307" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -86737824.98510292, "severity": "notices", "comparison": "regex", "ruleId": "6cd1c1cd-2b46-7d7a-b8dc-f35973508ad1", "templateVariable": "xSsT" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -10885019.40068248, "severity": "warning", "comparison": "regex", "ruleId": "51898779-2a47-77b5-87d5-6bf2c80be477", "templateVariable": "rcsJTbjdTM" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "ddca6298-b82a-2927-8fc9-5e7c12558141", "templateVariable": "ZBizRb" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "error", "comparison": "string", "ruleId": "9f52644f-941f-1dcc-7381-6b46c1f31262", "templateVariable": "Ggeq" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "notices", "comparison": "regex", "ruleId": "eb240c39-9a88-ff64-94ef-95efe5db5a9e", "templateVariable": "qcm" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": 84646023.8370263, "severity": "error", "comparison": "string", "ruleId": "ec9ce209-b8b8-383f-fcef-9bfed8c9a1b5", "templateVariable": "HM" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "W", "severity": "notices", "comparison": "string", "ruleId": "9a7cbfce-8373-515a-22b2-ecd702fb0c08", "templateVariable": "HdwAqtlIb" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "error", "comparison": "string", "ruleId": "4809f60d-3eae-aaaf-9469-b4fefefd914b", "templateVariable": "ybCARSOwHyE" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "EXpLvUXqnwA", "severity": "warning", "comparison": "regex", "ruleId": "be127262-8c37-8ed6-cfd7-a1e65af99db4", "templateVariable": "Ns" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }