Get report based on device and tree ID.
Copied to Clipboard
{
"_id": "iosxr0",
"leaf": "7eccd328-d0cb-8262-a164-ccabcbe2f1f2",
"date": "Fri Apr 26 09:56:38 EDT 2019",
"rules": 28962196,
"score": 78.67766324635677,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": true,
"severity": "notices",
"comparison": "string",
"ruleId": "2dab3bcb-2df4-c498-ca75-39c5123ce47b",
"templateVariable": "JHfJZAn"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "YwfBYjmfPU",
"severity": "notices",
"comparison": "string",
"ruleId": "b0a3fe98-5b38-34b7-c51c-e4aa7e0c9b27",
"templateVariable": "lMK"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": -75045.07990549505,
"severity": "error",
"comparison": "regex",
"ruleId": "8dd6ab68-bcd4-6816-27f1-294d62821776",
"templateVariable": "UPXMOk"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": true,
"severity": "warning",
"comparison": "string",
"ruleId": "fcd45d49-4229-404c-5aa1-89e58f2109db",
"templateVariable": "vDrWd"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": true,
"severity": "error",
"comparison": "regex",
"ruleId": "aef87955-6a67-86ff-279b-cd0abb2c236a",
"templateVariable": "jtYpoDNMbP"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": 55017704.24563795,
"severity": "error",
"comparison": "regex",
"ruleId": "dab923f9-fb8f-bf07-3b46-ed44334a22ac",
"templateVariable": "vSVtgTE"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": 65674172.425184906,
"severity": "notices",
"comparison": "string",
"ruleId": "04cd0e67-6d6c-c0b9-1ae5-98a0167b983f",
"templateVariable": "Kh"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": -92220161.4849226,
"severity": "notices",
"comparison": "string",
"ruleId": "d723f35c-5996-7f37-19b4-e116c21d23d8",
"templateVariable": "oLrnit"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": 7337691.771713793,
"severity": "warning",
"comparison": "regex",
"ruleId": "d3e3a94b-c2d2-b06a-6e0f-8732d4bf26c5",
"templateVariable": "RLn"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": true,
"severity": "error",
"comparison": "regex",
"ruleId": "5622d7af-9649-0f1e-8739-bb0828f34bf5",
"templateVariable": "ASCOq"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": 97817815.7084423,
"severity": "error",
"comparison": "string",
"ruleId": "13e12b4e-ef87-9ba6-724b-1c855ffbdb07",
"templateVariable": "Di"
}
]
}