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": "fbbac966-5b4e-c92c-edee-e2f8808e694a", "reportId": "9dce0536-e3c0-9c29-4ce9-7ca7f83c0a00", "device": "junos0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": -8366677, "score": 22.490183885699878, "grouping": { "tree": "8f665615-007a-67d2-f4a4-687027d48e55", "leaf": "b1ff3ce2-5964-911b-2428-a5c7f6d7d0ca" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "kU", "severity": "warning", "comparison": "string", "ruleId": "f496ef9e-b02b-bb37-1177-cf935756f950", "templateVariable": "qnar" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "be47fd2c-aa60-2347-3077-934b71d7e86a", "templateVariable": "ee" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "EqOItS", "severity": "notices", "comparison": "string", "ruleId": "bbe53dc2-e586-2d79-0b5a-9d1a08bd1ff6", "templateVariable": "IXuKOrrbn" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "sU", "severity": "notices", "comparison": "regex", "ruleId": "89b44fbd-3e00-eab1-4051-2203bc1d72b6", "templateVariable": "aNWBlYxceRd" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "WQ", "severity": "warning", "comparison": "regex", "ruleId": "23e5fb82-55ae-0ad0-321a-63b82e60575f", "templateVariable": "mgWq" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "PCE", "severity": "notices", "comparison": "string", "ruleId": "a05d2228-44f5-ce39-934c-1c53a57694f8", "templateVariable": "tn" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": "qR", "severity": "notices", "comparison": "regex", "ruleId": "2c07b4da-1ba2-a063-1b52-b22e2709ad55", "templateVariable": "RZfgYvMDoeR" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -64802114.02524585, "severity": "warning", "comparison": "regex", "ruleId": "de9f932e-42a4-00fc-779b-47c5240a1565", "templateVariable": "haunJfe" } ] }, { "_id": "025824a0-89e3-d9d6-292d-1c507024cd22", "reportId": "31349837-a879-6eb9-7bb8-6478c58070f6", "device": "ios0", "date": "Fri Apr 26 09:56:38 EDT 2019", "ruleCount": 63224413, "score": 44.10956764580578, "grouping": { "tree": "7655a979-cae0-ee14-a8d7-a14ca3f1e2cd", "leaf": "c7e5187a-ba58-f24f-9b5f-81390cf2d034" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "gDK", "severity": "warning", "comparison": "regex", "ruleId": "f3ce8d8d-c674-0e69-4ce5-c35505c961cc", "templateVariable": "jT" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "e33f3135-0b2c-493e-c83f-bab4ab71f0c9", "templateVariable": "eJDvmYokRA" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": true, "severity": "notices", "comparison": "regex", "ruleId": "c2546cad-4bed-0313-0cd9-fef022c27811", "templateVariable": "qOJtNjDaxkU" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": -6789727.48566103, "severity": "notices", "comparison": "string", "ruleId": "01e7da1a-dfab-8b58-f3ed-ccbc938963a5", "templateVariable": "BiczlqJiL" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "b2174d17-70ca-ec9d-cb9c-5a5fc43eeafb", "templateVariable": "ehO" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -46554497.233210765, "severity": "error", "comparison": "regex", "ruleId": "cb3ad85b-a2ee-288a-9b4d-bdf03c0bbed2", "templateVariable": "hgsItm" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": 21731261.811461613, "severity": "error", "comparison": "string", "ruleId": "3d6e4bb9-75e8-4d5a-5e03-a8a60985a30f", "templateVariable": "OmzuS" } ] }, { "_id": "8a682d81-04ca-26de-ce99-9eed5bbb42a0", "reportId": "21d4b349-aa26-5714-70b0-62aac1738882", "device": "iosxr0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": 17927113, "score": 61.9610017246347, "grouping": { "tree": "057c8b39-cd36-99f9-e66b-2ab013c307dd", "leaf": "22fe1a79-6d0f-c9b2-4189-37f1750f89a9" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": true, "severity": "notices", "comparison": "string", "ruleId": "9ca2e9a4-0b57-87dd-3063-348c81f72afe", "templateVariable": "pL" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": false, "severity": "error", "comparison": "regex", "ruleId": "55b24945-e8e7-7332-89ac-42d06e60287e", "templateVariable": "nPfqUMgbK" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": 86709448.37414125, "severity": "warning", "comparison": "regex", "ruleId": "eb2d3929-7c76-e668-044a-5ed0207605e1", "templateVariable": "xccmYpqr" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "cxnzpcA", "severity": "notices", "comparison": "string", "ruleId": "538a7c2c-1e18-23f0-4347-131c9dfe9233", "templateVariable": "OsCHc" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": false, "severity": "notices", "comparison": "regex", "ruleId": "2fe5e364-2c22-025f-985c-d317b10cceec", "templateVariable": "tcxqdcEiQin" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "VSwSPe", "severity": "notices", "comparison": "regex", "ruleId": "fb350f6b-cdca-814e-142b-1e4d26da1733", "templateVariable": "IRGCbCJC" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": true, "severity": "notices", "comparison": "regex", "ruleId": "658c6448-6ce4-2076-6cca-9cd2a3c800d1", "templateVariable": "RBW" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "OySzrzwfmJq", "severity": "warning", "comparison": "string", "ruleId": "88c8d0dd-8ad4-5950-59ff-f49ceb93d575", "templateVariable": "h" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "776cc618-91f1-612b-bb53-332c9b23c447", "templateVariable": "nUjQEjXB" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "6233118e-d1a0-6972-c91b-223614d2bf82", "templateVariable": "jigomo" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": 43330105.317329556, "severity": "warning", "comparison": "string", "ruleId": "36b3b102-3f42-3ea0-49ad-e4f01ce722a4", "templateVariable": "uuABgU" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -76455455.46153581, "severity": "notices", "comparison": "string", "ruleId": "80244e94-bfa3-6125-30a8-ecfa639eb17e", "templateVariable": "LHAmRW" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }