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": "c48ec0f8-d98d-b48d-7967-8c5517e12fc9", "reportId": "0e196a65-abef-d589-5db6-a95ce0ecb27e", "device": "arista0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": 63390036, "score": 83.07227441160494, "grouping": { "tree": "c2331b4a-9663-3d99-fca6-67b0097dc8fb", "leaf": "df7cde5d-812e-0efd-ba98-950bc831d52f" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "4a9fc5f3-30a5-3d4c-d269-b88e9f620827", "templateVariable": "CmD" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": 41912760.27312583, "severity": "notices", "comparison": "string", "ruleId": "521f666f-8dcb-3c3b-7b6c-401cd05e34f9", "templateVariable": "v" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 90636175.44963777, "severity": "warning", "comparison": "string", "ruleId": "af4bdea4-4f4c-5fc2-a499-8774749fe62f", "templateVariable": "vxcqUUCK" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -54372359.069330715, "severity": "warning", "comparison": "string", "ruleId": "dc3c30bf-e580-be7f-64b9-42463bc27a9d", "templateVariable": "oyRkI" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "pzP", "severity": "warning", "comparison": "string", "ruleId": "f95d1a7c-708f-65b3-a65d-4ff83130f5b9", "templateVariable": "BeSoMsuAd" } ] }, { "_id": "382f6dd1-31b7-cf7d-feea-6e23515485c9", "reportId": "3d7199f5-abb0-0544-b0e0-6c03bbd33bed", "device": "ios0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": 4070778, "score": 72.02266532168777, "grouping": { "tree": "cb207062-adaf-22ce-e197-f199d109d4b1", "leaf": "d660df5a-9211-d744-90b5-918224ab2c88" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "Qq", "severity": "warning", "comparison": "regex", "ruleId": "9afc6802-74e9-7935-9436-1d774854081b", "templateVariable": "asvN" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -56745849.49289532, "severity": "warning", "comparison": "string", "ruleId": "d1149dde-4169-61db-cb9f-5f679cea81fe", "templateVariable": "OinVzsSpxg" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "CjcA", "severity": "warning", "comparison": "regex", "ruleId": "cd85f1ff-a48f-e3cc-0548-186b58e90459", "templateVariable": "qIeB" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": false, "severity": "notices", "comparison": "string", "ruleId": "a953645b-ebff-a887-71bc-51787878051e", "templateVariable": "EMbmngrII" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": true, "severity": "notices", "comparison": "regex", "ruleId": "a31d56d9-715e-9ebf-27e0-d54cb09e067f", "templateVariable": "Ahcoltc" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "warning", "comparison": "string", "ruleId": "c06398b2-c7b5-db7d-779d-99f01bdf4f1b", "templateVariable": "QhgEfbKr" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "11de8932-64ea-bdd0-b1e1-b769de495771", "templateVariable": "NerE" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "rOLiZs", "severity": "warning", "comparison": "regex", "ruleId": "55370b76-82cf-eb2b-90e8-76aef8caaced", "templateVariable": "iPphLZLoV" } ] }, { "_id": "35532fb4-ffea-7318-7252-d0435876d746", "reportId": "f7a5e695-dbf2-f455-40b5-a2fdc71d9c34", "device": "ios0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 89345915, "score": 76.57806344831309, "grouping": { "tree": "c0d7b62e-6f5d-9ab2-09c7-bf252bcab3af", "leaf": "9058674a-1ace-3434-72db-06a14423da86" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": false, "severity": "error", "comparison": "regex", "ruleId": "239bf518-51f9-2b28-1b15-4acad019ec5e", "templateVariable": "DNidkx" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "zjGWYxOjqoE", "severity": "error", "comparison": "string", "ruleId": "983a58c6-ee19-80ba-1a6c-f0f097ae5d77", "templateVariable": "rVGFll" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "a88551ec-37d1-23b6-7f11-38572196248b", "templateVariable": "Af" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -54978413.59333382, "severity": "warning", "comparison": "string", "ruleId": "b69dea1c-e86e-2b34-d3ea-798fe03c4dd9", "templateVariable": "SGU" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": true, "severity": "error", "comparison": "regex", "ruleId": "dab32958-d82b-8d0b-77a4-634a6c651bb5", "templateVariable": "La" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "string", "ruleId": "00ead56e-ebc5-4691-ad34-b372726afde2", "templateVariable": "aN" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -90534519.90786016, "severity": "warning", "comparison": "regex", "ruleId": "314e3703-15e0-c56b-ef64-a065f10ce94d", "templateVariable": "dEjLDxxYy" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": true, "severity": "warning", "comparison": "regex", "ruleId": "4f174339-9cc0-d9bd-9f5a-9dfd95befc4c", "templateVariable": "Jbj" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "dJdbhB", "severity": "notices", "comparison": "regex", "ruleId": "339bb3cd-7030-f835-118a-40e416de3f6b", "templateVariable": "tiJtWdgy" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "eVM", "severity": "warning", "comparison": "string", "ruleId": "185f9f53-6588-caad-2be4-1d25e99e152a", "templateVariable": "qZ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 94658867.81122142, "severity": "error", "comparison": "string", "ruleId": "2c74b1a3-a64f-7f4f-cd28-0bd27e025bd4", "templateVariable": "YGwamnugFZ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "W", "severity": "notices", "comparison": "regex", "ruleId": "ee938c81-6be0-fdfc-385e-1bbb49b22438", "templateVariable": "ChssNAMane" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }