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": "8f94ee5a-9a04-746b-c04d-b01a50fb03b0", "reportId": "2f1ebd3e-f776-8c07-ed0d-4e1a97bc9972", "device": "junos0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": -96706278, "score": 99.13930220507979, "grouping": { "tree": "37ac42ea-1436-1b76-cfab-73a3fbd65f07", "leaf": "133ffc3a-2861-6927-cbf8-5f4c13341eb8" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": true, "severity": "warning", "comparison": "string", "ruleId": "ad32ddb6-3606-9d5f-da7b-f3383b2a8065", "templateVariable": "mOTYOyAhr" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "regex", "ruleId": "fec0df86-db41-db4f-33c1-3cae5f0ed42f", "templateVariable": "PeCCbbSI" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "uBwvbLPUC", "severity": "notices", "comparison": "string", "ruleId": "bd77a80c-eed7-ad7f-6f78-449d99ad5eee", "templateVariable": "xU" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "nqYQHroZFW", "severity": "notices", "comparison": "regex", "ruleId": "36bdb305-26d2-9748-e13a-70806e015763", "templateVariable": "iP" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -77553629.3779807, "severity": "error", "comparison": "string", "ruleId": "97fe1a9a-41bf-a35c-3727-c08d89bbc535", "templateVariable": "MnHyjBgjsz" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": 60407649.42778814, "severity": "warning", "comparison": "regex", "ruleId": "f0d6e6f9-045a-2d48-ad27-a03eb6cafdb9", "templateVariable": "UMB" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "l", "severity": "notices", "comparison": "string", "ruleId": "59de7fa5-8335-b699-064d-9937e5d16ca9", "templateVariable": "w" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "914f2d0f-6a57-934e-ec2f-1827199345d2", "templateVariable": "ZlBs" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "error", "comparison": "string", "ruleId": "10a8e129-b816-50d6-b0c3-b8ebdf28117f", "templateVariable": "LWbnAEVF" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "HJPD", "severity": "error", "comparison": "string", "ruleId": "832c7a49-9514-5b78-fdf0-7eaa46a3be2a", "templateVariable": "hcERXPjvj" } ] }, { "_id": "26f13cdc-4834-73f8-0beb-f37b67f82f7d", "reportId": "e0662c6e-b362-c746-0885-a51f6fbf7977", "device": "ios0", "date": "Fri Apr 26 09:56:38 EDT 2019", "ruleCount": 71427960, "score": 37.02151919429548, "grouping": { "tree": "c525dae0-cccc-8075-788c-71de84bbb7a4", "leaf": "0e4d678b-5175-27e5-10df-813b1f8e559d" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "string", "ruleId": "e884601e-3524-70e9-8b7d-f943913e885c", "templateVariable": "PWysfrwWWD" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "error", "comparison": "regex", "ruleId": "4e82694f-f578-a7d8-9c47-c54016a92ba9", "templateVariable": "SIwFcWUSd" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "bl", "severity": "warning", "comparison": "string", "ruleId": "5ee28dda-f706-794e-d5bf-96a295a3ac41", "templateVariable": "QxH" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "l", "severity": "notices", "comparison": "string", "ruleId": "4074ed7c-778f-c4ba-3157-c79cb0f188f0", "templateVariable": "tRUgDm" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": 33985949.82985777, "severity": "warning", "comparison": "regex", "ruleId": "b54d84b0-ffa9-8747-a91e-c9ed7f74256e", "templateVariable": "qhg" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": false, "severity": "notices", "comparison": "string", "ruleId": "e8ef4158-8663-3fce-a083-7acd818b365b", "templateVariable": "Vo" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -39953122.64893229, "severity": "notices", "comparison": "regex", "ruleId": "52d1e7fb-e822-5626-ce59-4830de84b9d6", "templateVariable": "OIrZ" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "ZdZLEJIBOu", "severity": "warning", "comparison": "regex", "ruleId": "40f9ce11-f285-6f04-4ca4-59b83afbca1b", "templateVariable": "FVHoFYTsTf" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "error", "comparison": "regex", "ruleId": "e787c7ae-28b5-8f9f-4082-851715ac5d50", "templateVariable": "k" } ] }, { "_id": "294ae9c7-3b1d-c35c-878e-77f813a528e2", "reportId": "dc1106a8-4bcf-fe43-34a8-df32d4c54826", "device": "ios0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 86791452, "score": 71.15023765266987, "grouping": { "tree": "f16415dc-0415-8ec3-7219-d3dca3089d0e", "leaf": "4cd83f47-09a3-e530-62d6-6903d12a511f" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "myqXRrXbRH", "severity": "error", "comparison": "regex", "ruleId": "3b8d99ef-9505-d65b-2b1c-6047b8a0b11d", "templateVariable": "v" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "PEUrFY", "severity": "notices", "comparison": "string", "ruleId": "9fcb8b33-c982-3d2f-2b42-1dcc203aaee5", "templateVariable": "U" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "error", "comparison": "regex", "ruleId": "fa61f6a8-257d-4485-3326-adcc8bbf1365", "templateVariable": "jWBLLCBq" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "cu", "severity": "notices", "comparison": "string", "ruleId": "dd4cb8d6-614b-5b2d-c2b0-ce1dc30f0265", "templateVariable": "EhNp" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "warning", "comparison": "string", "ruleId": "05535ee9-5bce-3a29-2f9f-03ee410563a4", "templateVariable": "BRyff" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "mjx", "severity": "notices", "comparison": "regex", "ruleId": "d1f18a7e-0c72-0915-172b-c9b8ee85e9dc", "templateVariable": "IcwbTuKWBi" } ] }, { "_id": "c1b7942e-2979-dbc0-06c9-99b550b48b22", "reportId": "7b86e2d7-d8e8-afdb-c40f-aee314bd6559", "device": "ios0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 1093147, "score": 89.11672509414979, "grouping": { "tree": "74b4c6f1-20fb-4663-dde2-91548d4cb0b5", "leaf": "49b59266-c481-cb9c-6b02-2d851194d618" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -50166553.66437357, "severity": "notices", "comparison": "string", "ruleId": "66523f9b-8834-8df3-805d-dfcfb7b21ccc", "templateVariable": "ODuf" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -75586775.59607725, "severity": "notices", "comparison": "string", "ruleId": "fb62c961-c068-650a-35a2-6a8c07429c49", "templateVariable": "pVpByC" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "YrdhYGsOp", "severity": "error", "comparison": "string", "ruleId": "d0aa09a3-1430-90da-7e2c-5def15185b43", "templateVariable": "rmWiS" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -33064482.67319566, "severity": "warning", "comparison": "string", "ruleId": "c0954f43-df45-0499-6ace-c131ed113539", "templateVariable": "WlbB" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "YxN", "severity": "warning", "comparison": "regex", "ruleId": "e146a638-ecb8-b9d1-2914-648f0d28778a", "templateVariable": "vXnCukt" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": false, "severity": "warning", "comparison": "string", "ruleId": "216b750f-99f5-41b0-225c-41558be8a6ff", "templateVariable": "dOwOQoZIj" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "658d7c18-ec33-9840-4ab1-d00442fb2ee0", "templateVariable": "LzNRqKJDX" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": 95603311.41237664, "severity": "warning", "comparison": "string", "ruleId": "8f246031-180d-45f7-28ea-e34b0a19f5fd", "templateVariable": "tBjw" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -85900826.49668652, "severity": "error", "comparison": "regex", "ruleId": "5eb3a3bc-76ca-ba91-9c9e-055cd5a5f4e6", "templateVariable": "gCSRi" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "error", "comparison": "regex", "ruleId": "4d8d4683-8d35-ee35-4aa3-b2c775b53752", "templateVariable": "LSvienYk" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "jgoxH", "severity": "warning", "comparison": "string", "ruleId": "fca07bbf-6f01-a62c-5e89-3555c664877f", "templateVariable": "dLdD" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "jY", "severity": "notices", "comparison": "string", "ruleId": "9e4b0044-fa5e-9e5e-faeb-f7f3dbe0ccea", "templateVariable": "sqeF" } ] }, { "_id": "31c69a8c-76fe-319c-2b2a-ba97f94120d8", "reportId": "9f4d81c3-7270-7681-3a20-37c0b67ae2d4", "device": "iosxr0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 7119273, "score": 84.0287791820136, "grouping": { "tree": "8bb3ce25-e5e2-db85-cfdb-a13780db806a", "leaf": "2508db2b-3aa3-ee9f-8a36-13788a4797ba" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "WTUUV", "severity": "warning", "comparison": "string", "ruleId": "e9221ce1-edd3-9fa5-aadf-cb5d4818d549", "templateVariable": "C" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "7d3ef7cf-7019-4f68-39ff-ae917b31b375", "templateVariable": "A" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "e851d937-5bab-d594-18ec-e9103ecec186", "templateVariable": "dTlhF" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "IcA", "severity": "error", "comparison": "string", "ruleId": "0bb30071-ebd8-fefc-e357-9c3b4176073e", "templateVariable": "XsmNDBOEe" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": 25501818.97724104, "severity": "notices", "comparison": "regex", "ruleId": "7ab537f5-cdc0-8b30-e19c-c9f5e747c0a6", "templateVariable": "EtJ" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -41921240.04191475, "severity": "notices", "comparison": "string", "ruleId": "23aa51b5-9b1a-0700-7e9b-381e1ca12d49", "templateVariable": "MmfEdjF" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "r", "severity": "warning", "comparison": "regex", "ruleId": "c078f1d8-30ab-f26f-16ab-d86e82f14515", "templateVariable": "rDOfgY" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "BlzgQHkmk", "severity": "error", "comparison": "regex", "ruleId": "12172c3c-89d7-9a4c-f441-1fe1f59fdda9", "templateVariable": "vYaqj" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -61761621.23200633, "severity": "notices", "comparison": "string", "ruleId": "3ba2b50e-bc14-9376-ea1f-64e46e8dff28", "templateVariable": "Xxojm" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "58cef065-6bbe-60e6-e70f-a28625f362c1", "templateVariable": "zUq" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }