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": "6750b1e0-ee71-680b-3f2d-e65c02485d7d", "reportId": "930e5803-48d0-64b8-7ada-7f225f3b251f", "device": "iosxr0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": 24204683, "score": 31.77858189253331, "grouping": { "tree": "f13d9c84-28d1-e061-9107-af4b65155b97", "leaf": "76ec567c-221b-e114-6c58-e18712716e6b" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": 80752678.01301956, "severity": "notices", "comparison": "string", "ruleId": "f6d17d07-42be-ebc2-b021-a77f988b7a91", "templateVariable": "oa" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": -62876727.950232424, "severity": "warning", "comparison": "regex", "ruleId": "999a44f3-60b1-7938-0376-7b19d722efb8", "templateVariable": "kqb" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 37036716.43057218, "severity": "notices", "comparison": "regex", "ruleId": "639658de-ed4f-80b2-6eae-7a38f4632462", "templateVariable": "YrwKCVe" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": "s", "severity": "notices", "comparison": "regex", "ruleId": "d4d326d8-06c0-23cb-b2c4-8c2908039c7d", "templateVariable": "cpfTtw" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": true, "severity": "notices", "comparison": "regex", "ruleId": "9f2a5ccd-4eb7-147c-6dca-5631010bb8c2", "templateVariable": "AFvPuoOuaW" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "iSMqJSC", "severity": "warning", "comparison": "regex", "ruleId": "c3a7c2df-0e94-416c-b767-5b2f59fba5f4", "templateVariable": "CvExa" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "BhM", "severity": "notices", "comparison": "string", "ruleId": "cecafabf-3c89-4b16-6297-cb5b24efa931", "templateVariable": "DYPbi" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "rqafxi", "severity": "warning", "comparison": "string", "ruleId": "ac9170f9-30d8-48a2-d563-c4c05f493e46", "templateVariable": "d" } ] }, { "_id": "9a8d6195-e8d6-a795-83a2-66b9c738fbeb", "reportId": "05b74343-5d78-4633-5000-466a835ead1f", "device": "ios0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": -83996162, "score": 37.00396286870608, "grouping": { "tree": "565ec2d1-ba54-86f2-4cc7-96d629c9ce62", "leaf": "a2b01e81-4fa3-2fba-0fbc-d3ef138421c5" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "CmfMLarJtg", "severity": "warning", "comparison": "regex", "ruleId": "c964f162-d5cc-0278-a9f8-269fd18913c6", "templateVariable": "LM" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "Izfm", "severity": "warning", "comparison": "string", "ruleId": "4fdeea30-68aa-db0f-5144-5943e45e982a", "templateVariable": "YWBHe" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": 79086129.51833153, "severity": "notices", "comparison": "regex", "ruleId": "ad701fc5-75e8-e0a6-0e7b-0fe90bc7d091", "templateVariable": "gaKnfnIlp" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": 37779140.4621056, "severity": "notices", "comparison": "regex", "ruleId": "b1423220-b8b1-cb1f-5c86-67c9bbc91ed0", "templateVariable": "UlVPST" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": true, "severity": "error", "comparison": "regex", "ruleId": "7a22a000-c8cc-d197-5ca7-3a31dffa246a", "templateVariable": "DRrzvedmJ" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": false, "severity": "warning", "comparison": "regex", "ruleId": "1e856838-68dc-4c32-9b3d-561ab8657da6", "templateVariable": "z" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": "qF", "severity": "notices", "comparison": "string", "ruleId": "97b60971-ec94-cbd7-7e17-0f4508e32457", "templateVariable": "NicxVL" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": "AmzpQyVS", "severity": "error", "comparison": "regex", "ruleId": "86e581ef-9f95-c1ca-7709-6ed0ebe96c23", "templateVariable": "cI" } ] }, { "_id": "25bf4ffd-047d-c173-0c39-5594d819bc07", "reportId": "eaa97108-b699-9706-f22e-bc243097e923", "device": "ios0", "date": "Wed Apr 24 09:56:38 EDT 2019", "ruleCount": -64010561, "score": 18.952210678856197, "grouping": { "tree": "c4af7f9a-6277-7a0d-26e8-498e11306528", "leaf": "85480cde-4db1-908c-9a9c-ccecdb1d82db" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "warning", "comparison": "string", "ruleId": "f3d90241-a0fb-a366-c531-da60bffa20ac", "templateVariable": "QPiA" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": false, "severity": "error", "comparison": "string", "ruleId": "7445550a-3e48-68bb-e8ea-6f3f3ae76ba2", "templateVariable": "CjbTh" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "I", "severity": "notices", "comparison": "regex", "ruleId": "09604381-104f-e6f9-966d-0a28aa30919e", "templateVariable": "QH" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -2576107.7696031034, "severity": "error", "comparison": "string", "ruleId": "61c78a22-571a-6df5-cb54-9f7dde6ef251", "templateVariable": "AvYZqofR" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": "kJhHujmy", "severity": "error", "comparison": "regex", "ruleId": "ad4e8597-3d28-15d5-77c0-946ef0ab80f0", "templateVariable": "CQgQH" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "AewmRMupGiY", "severity": "notices", "comparison": "regex", "ruleId": "a42c38da-31d2-2071-b7aa-00c7f78b9ab7", "templateVariable": "CNovH" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": false, "severity": "notices", "comparison": "string", "ruleId": "eb2364dc-0b20-e252-3081-40ac85ded82a", "templateVariable": "dQaKMiXbzY" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "must", "value": true, "severity": "warning", "comparison": "string", "ruleId": "1c0e41a2-7fd4-2911-21d3-89c969fc0caa", "templateVariable": "SkabSvlYUZ" } ] }, { "_id": "af2736ac-1287-08f1-53fe-3c30f726a039", "reportId": "5a270886-5eaf-8ee2-b99f-94067b49b986", "device": "iosxr0", "date": "Thu Apr 25 09:56:38 EDT 2019", "ruleCount": -34312421, "score": 58.594396524603745, "grouping": { "tree": "fe4e079d-ac9a-ba3d-82de-6be232925bdf", "leaf": "9894ea04-eeed-42ba-2b19-f64aceb17a79" }, "errors": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": false, "severity": "error", "comparison": "regex", "ruleId": "0dfee264-7ab6-9185-9108-29e0652a54e8", "templateVariable": "LT" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "cant", "value": 95356097.0432004, "severity": "notices", "comparison": "regex", "ruleId": "f8e0a29c-6a6e-ed50-c7df-99d846720417", "templateVariable": "P" } ], "warnings": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -14942459.633725494, "severity": "error", "comparison": "string", "ruleId": "f17f3c9c-b9a3-dab1-2b5b-75bc3d37d4d3", "templateVariable": "mLnUY" } ], "notices": [ { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "condition": "must", "value": "nwBXVGJcP", "severity": "warning", "comparison": "regex", "ruleId": "85d3e521-1a02-ce52-b640-0e33c1750a0d", "templateVariable": "xbub" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "must", "value": "KisYQIWZ", "severity": "error", "comparison": "string", "ruleId": "a6e59e5e-700c-2df1-9c30-57a4a5e2f522", "templateVariable": "hkb" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version", "condition": "cant", "value": -73088535.93271776, "severity": "notices", "comparison": "regex", "ruleId": "d8e6efc5-e6ab-bbbe-af99-de3662b17d75", "templateVariable": "kRwaCL" }, { "query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "condition": "cant", "value": -43596640.36477211, "severity": "notices", "comparison": "regex", "ruleId": "be8e6fa5-d386-b963-9f49-d35fd8fd3ed0", "templateVariable": "h" } ] } ]
{ "type": "array", "items": { "$ref": "complianceReport" } }