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": "b3ba56ae-a367-6c48-96ab-485889ebf746", "reportId": "df3a3e0c-ae61-870c-d4c8-a644a1355c1a", "device": "junos0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": -42753548, "score": 46.75853430864609, "grouping": { "tree": "78740f31-eb8e-ab30-13a8-c51efd89cc76", "leaf": "873a23b9-0d2d-72fa-ad05-aae882028597" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "cH", "severity": "warning", "comparison": "regex", "ruleId": "47db6e43-839a-a9f0-1acf-f28507a37e6a", "templateVariable": "sGxtaOdYG" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "xzdZSJV", "severity": "notices", "comparison": "regex", "ruleId": "b437da81-5c7b-89f0-3461-045ab75eacc8", "templateVariable": "juIG" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": "lLCV", "severity": "warning", "comparison": "regex", "ruleId": "d74acacc-7e7e-e531-9922-12b835097e7c", "templateVariable": "suABZWWin" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 3776972.801093057, "severity": "warning", "comparison": "string", "ruleId": "97b50838-9fc3-2c2d-c42d-2a5f68ccf527", "templateVariable": "vEpFo" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "string", "ruleId": "5868edab-d21f-c089-a9a0-6b661aaaafa4", "templateVariable": "YpYffi" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "regex", "ruleId": "4f256e99-768f-f639-7db0-2018be519231", "templateVariable": "eQlqLl" } ] }, { "_id": "1ec15a65-eef1-6068-257e-44e44138dfe7", "reportId": "f52be9d5-729b-5e75-1273-4798c04695b4", "device": "iosxr0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 66956080, "score": 17.564190993423768, "grouping": { "tree": "a72f6e38-24cb-b669-db5c-d2cb58fc00b4", "leaf": "8ee094ae-c797-604a-200d-6fa95f6f55fa" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": true, "severity": "error", "comparison": "regex", "ruleId": "3eb2b391-0aa8-3263-61ad-68919bf0c2e6", "templateVariable": "UPnL" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -89603162.80653955, "severity": "warning", "comparison": "regex", "ruleId": "2487def1-ae09-76bf-ac22-9feb9dd8b94a", "templateVariable": "ocvefOdls" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "YCwtKe", "severity": "error", "comparison": "string", "ruleId": "2c6e93a2-ea42-36a1-f454-c96b8de16815", "templateVariable": "g" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 36098924.89560366, "severity": "notices", "comparison": "string", "ruleId": "a45f15e9-1728-2c65-e494-716db7886ac5", "templateVariable": "pFQknK" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 17669311.182312384, "severity": "notices", "comparison": "string", "ruleId": "0cc14d26-4f93-8775-e09a-58a4cb73dff9", "templateVariable": "n" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -75449548.59027748, "severity": "error", "comparison": "regex", "ruleId": "f328fe60-f5ae-17ac-d048-53abe88ede63", "templateVariable": "ReHBRm" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -1566306.750967428, "severity": "warning", "comparison": "string", "ruleId": "55703aae-810a-2f77-e642-b5e7f10acc45", "templateVariable": "pBgEFNsw" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": -81117668.84783451, "severity": "warning", "comparison": "regex", "ruleId": "8510ff17-a0c8-56fd-f658-6eb8404feb5e", "templateVariable": "c" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": false, "severity": "warning", "comparison": "string", "ruleId": "123a0392-7f72-9eb2-7b34-6281c0cc7763", "templateVariable": "KbXodZWiD" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -87421348.35804535, "severity": "notices", "comparison": "regex", "ruleId": "d59a382a-5cb8-c810-444d-82848d56ecf3", "templateVariable": "kYj" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }