Get latest compliance report for all devices on a tree.
Copied to Clipboard
[
{
"_id": "iosxr0",
"leaf": "ae39c4cd-80f6-eb63-faaf-ed6335b9061c",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": 94120408,
"score": 91.26819769555365,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": 67476035.40772581,
"severity": "warning",
"comparison": "string",
"ruleId": "211bb4dd-f187-d317-6b15-4b1ebb31bda8",
"templateVariable": "ehV"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": true,
"severity": "warning",
"comparison": "regex",
"ruleId": "c205e4c9-9626-c743-bbe3-867ae685abbf",
"templateVariable": "OprEJNTW"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": "gjBaPtRvHe",
"severity": "warning",
"comparison": "string",
"ruleId": "78c16cbe-18d3-6309-176e-51898ad4620b",
"templateVariable": "gYpmpSsdlM"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": -59306405.011101715,
"severity": "error",
"comparison": "regex",
"ruleId": "5aa0234b-5b04-24e3-b2bc-c4b6a8b91792",
"templateVariable": "UONiGbsrYs"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": -6913202.625535637,
"severity": "error",
"comparison": "string",
"ruleId": "6f561a7e-606c-70aa-485d-2e066ea4f9ba",
"templateVariable": "EHWRknZvc"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "zJc",
"severity": "notices",
"comparison": "regex",
"ruleId": "2d9e4318-7020-c566-ed9d-8be224662e41",
"templateVariable": "ZJoClkwX"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": 69387908.29993567,
"severity": "error",
"comparison": "string",
"ruleId": "6c45e049-ff11-72a8-1794-a413f6bb9538",
"templateVariable": "j"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": 71784978.46805266,
"severity": "warning",
"comparison": "string",
"ruleId": "1bfd87fd-850d-3117-3744-1d7c0ba3b6c9",
"templateVariable": "bcZFz"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "zDAISptyp",
"severity": "notices",
"comparison": "regex",
"ruleId": "f6fa5d30-c8f5-34ca-53d0-b6833aecab75",
"templateVariable": "fDqnsY"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": true,
"severity": "notices",
"comparison": "regex",
"ruleId": "deae56ae-a6a9-775b-e9d9-d97c989f2d5e",
"templateVariable": "GJvnEooZy"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": -76556636.9112718,
"severity": "notices",
"comparison": "regex",
"ruleId": "8431584e-3e67-1c6d-26e3-bd981a076a49",
"templateVariable": "LYuGnNUAQ"
}
]
}
]