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": "f55e5a5d-184f-7978-e3da-f74d7cd507eb", "reportId": "64a96010-648b-4868-10d3-bdb87f17ba37", "device": "ios0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": -70304067, "score": 80.59985152316267, "grouping": { "tree": "848f8c1e-b69b-2e35-b18f-95df4984b996", "leaf": "3f068d8d-5da8-a16a-6c47-be2d43bc8618" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": "tuRPVrQs", "severity": "notices", "comparison": "regex", "ruleId": "59809aa9-d926-131f-3e7d-c80e64d45745", "templateVariable": "ZxR" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "dz", "severity": "notices", "comparison": "string", "ruleId": "1b3f13e6-dfd3-b535-2098-a214d010ed82", "templateVariable": "NRZpL" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "ztMeW", "severity": "notices", "comparison": "string", "ruleId": "c21e554c-3f9c-1a15-0944-837e1ea4616b", "templateVariable": "HWuIoUjv" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "kUqJUFCDsUd", "severity": "error", "comparison": "regex", "ruleId": "0c94f7be-746b-b9ea-95bf-41e794651fa0", "templateVariable": "RJd" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -40534450.09755996, "severity": "error", "comparison": "string", "ruleId": "da592204-d6c8-7216-18f7-5162fc671e8e", "templateVariable": "AVzlOZOmeWb" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "rULc", "severity": "warning", "comparison": "regex", "ruleId": "9b38e832-405b-0a60-73c0-c0e42f66537d", "templateVariable": "YUGEr" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": "eMzIg", "severity": "notices", "comparison": "string", "ruleId": "aca5dc43-6b0e-f806-0b05-171c346cac3b", "templateVariable": "s" } ] }, { "_id": "e33882db-e240-bb5a-bf44-f7126703f7b8", "reportId": "79ddee5e-742d-0a30-92fe-740680a5cb5d", "device": "arista0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": -90151291, "score": 33.96493567414378, "grouping": { "tree": "0e2d4773-41e7-c881-8a48-2ddff86a89ea", "leaf": "2ac87da9-2f55-3f15-8b9b-9ca2c7982703" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "OQnmfPq", "severity": "error", "comparison": "regex", "ruleId": "f6991311-acd4-1133-a1e7-ed65765f722c", "templateVariable": "XPMzzDGXIhy" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "QZ", "severity": "notices", "comparison": "string", "ruleId": "1906c14e-64b5-35c0-64fa-2b36829fdf78", "templateVariable": "urLmgbjbZt" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "aIBsPNu", "severity": "notices", "comparison": "string", "ruleId": "86748a6c-f134-5e2e-538b-8a5daeb0e7dd", "templateVariable": "u" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "ig", "severity": "warning", "comparison": "regex", "ruleId": "3d864b08-407a-d2fd-5c30-1bac02809b85", "templateVariable": "l" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "notices", "comparison": "string", "ruleId": "00649d6a-8365-c560-43a9-8fffaa98e867", "templateVariable": "dJxKJ" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "warning", "comparison": "string", "ruleId": "5f1e8fd1-ce6d-a7bb-926b-8a8134c02190", "templateVariable": "gJxrVglqGr" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -92695800.76265083, "severity": "error", "comparison": "regex", "ruleId": "d724f260-a947-b8be-d5b7-666f18a45b37", "templateVariable": "hgYy" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "notices", "comparison": "regex", "ruleId": "e3617051-8ba8-7371-9137-1ca680a5d17b", "templateVariable": "IuWOfPzTx" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 62070631.51135203, "severity": "warning", "comparison": "regex", "ruleId": "334b2bd0-cc2b-9a0d-91f2-f459e21e9241", "templateVariable": "HkbUnqluMWV" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 40146407.555374205, "severity": "notices", "comparison": "string", "ruleId": "e93af49f-6668-7bb8-3e78-6d85a0b374ec", "templateVariable": "IcvGI" } ] }, { "_id": "c30c2d41-237c-3b13-bb66-0097617fe631", "reportId": "fc54059e-de02-9196-e1d8-9cdf33fc8ff8", "device": "ios0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": 62920249, "score": 1.3989274843132282, "grouping": { "tree": "bcd2a4cb-9773-78cb-1738-243036115e08", "leaf": "55289a12-bbce-77cf-af83-b208b7a96e94" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "notices", "comparison": "string", "ruleId": "e82a41d2-09ca-4f72-dd16-72a0485c85d1", "templateVariable": "ED" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": -20525642.41462931, "severity": "error", "comparison": "regex", "ruleId": "a39fa27b-bf20-214c-5b61-4d114bb6df71", "templateVariable": "DdPbEuHc" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "BUTbvN", "severity": "warning", "comparison": "regex", "ruleId": "ba5dce32-225c-ec0e-538e-9ff1f867f592", "templateVariable": "mwpyyMQfshy" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": false, "severity": "notices", "comparison": "string", "ruleId": "4e14bf48-ddc1-5ec6-3484-3d0bd934223f", "templateVariable": "WbIVkmBsTpw" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "Km", "severity": "error", "comparison": "regex", "ruleId": "b3013e17-24e6-98c2-6626-ea56f9022d53", "templateVariable": "rGeT" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 31499132.44834344, "severity": "warning", "comparison": "regex", "ruleId": "03b947c7-87cd-9dc3-2a5d-30612f3d625b", "templateVariable": "AKnrM" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": -99446603.73889151, "severity": "error", "comparison": "regex", "ruleId": "2b597015-f731-bd7b-35cc-c34eb09e99ee", "templateVariable": "KIqZOCsNTE" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": -24608315.93559836, "severity": "error", "comparison": "regex", "ruleId": "0a6dd36f-713b-4408-8de9-c06eb6792a29", "templateVariable": "QKeaafM" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "warning", "comparison": "string", "ruleId": "9247ae8b-7a53-4d19-9116-9844c9bc9748", "templateVariable": "lzNNFHWzf" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "error", "comparison": "regex", "ruleId": "761cf681-b726-1f41-c49d-071efb4c69d3", "templateVariable": "UP" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }