Return a list of compliance reports.
Copied to Clipboard
[
{
"_id": "224fb92d-f8a1-d234-3d2e-4665c26ee419",
"reportId": "5c7510da-fc0c-4015-93ad-1e906ba5bc69",
"device": "arista0",
"date": "Thu Apr 25 09:56:38 EDT 2019",
"ruleCount": -4554674,
"score": 41.02402657642061,
"grouping": {
"tree": "026071ba-45f4-9904-7c73-ef7c04e6bb42",
"leaf": "054fa429-4d60-dbe3-4bdb-9b2112aa97cc"
},
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": false,
"severity": "warning",
"comparison": "regex",
"ruleId": "105190cb-10e2-5061-a6b0-23f557fc2103",
"templateVariable": "kKiknl"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": true,
"severity": "notices",
"comparison": "string",
"ruleId": "99856fd8-5c00-0ec2-ec85-a7f2db5090a9",
"templateVariable": "grfCBqAiQkW"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": false,
"severity": "error",
"comparison": "regex",
"ruleId": "1bec1227-2353-286d-e6ab-8528b5cc0a71",
"templateVariable": "cfi"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": true,
"severity": "warning",
"comparison": "regex",
"ruleId": "45c42fb9-63bf-d150-7b91-dabc97bc0c76",
"templateVariable": "vMvcgxvI"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": "YcHOVVRMdQk",
"severity": "warning",
"comparison": "string",
"ruleId": "56dd7e1c-c5e4-850e-e9ed-23e8a3939997",
"templateVariable": "FuqdN"
}
]
},
{
"_id": "eca81088-7ccb-1db0-08a5-fe698c562a88",
"reportId": "639b7cd8-df3d-66ee-26d6-d0292114dd85",
"device": "arista0",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"ruleCount": -54345726,
"score": 97.20395474236625,
"grouping": {
"tree": "e7077a74-ee9c-a8eb-aed4-e004ad83893e",
"leaf": "7bbcbcac-4955-f6ad-4b2e-f131e225888e"
},
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": true,
"severity": "warning",
"comparison": "regex",
"ruleId": "7662a5ff-3300-f59c-8eb9-e81e5ceb23c1",
"templateVariable": "RojIS"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": -67309526.761575,
"severity": "notices",
"comparison": "string",
"ruleId": "6c5465c7-d90f-15d1-2ab0-47fcdc3dbab1",
"templateVariable": "jcPCaPkgNW"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "mw",
"severity": "error",
"comparison": "regex",
"ruleId": "ff25da2e-4a6c-44df-2b81-fc2f30fcc466",
"templateVariable": "rOYMo"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": 68256618.39804074,
"severity": "error",
"comparison": "regex",
"ruleId": "a1f0a680-3811-0f63-6e27-0deb10677a55",
"templateVariable": "wYVYbquZt"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "jcTuALfYy",
"severity": "error",
"comparison": "string",
"ruleId": "f317ab64-013d-5b02-940e-0f9028715853",
"templateVariable": "UMPw"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": true,
"severity": "error",
"comparison": "string",
"ruleId": "f419d6bc-ab9c-e820-4291-71b7e159e4c7",
"templateVariable": "CZVJd"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "uTCNj",
"severity": "error",
"comparison": "string",
"ruleId": "dffaaee4-1ae9-c2ed-186c-5368607775e7",
"templateVariable": "EyblEryvAyF"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": true,
"severity": "error",
"comparison": "regex",
"ruleId": "ba18e00d-fb37-cb76-3e47-b6d1e7f85a22",
"templateVariable": "tJVcZ"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": true,
"severity": "notices",
"comparison": "regex",
"ruleId": "4bbe6ca4-4f21-3bb2-f402-d9b2c87d954a",
"templateVariable": "cDn"
}
]
}
]