Get report based on device and tree ID.
Copied to Clipboard
{
"_id": "ios0",
"leaf": "f3aa3b63-cf4a-bfdf-5b0d-5f6371519592",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": -39569506,
"score": 29.06933879628475,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": "jC",
"severity": "warning",
"comparison": "string",
"ruleId": "026d34b3-8ded-06ba-bd7d-1d5ab6530050",
"templateVariable": "IcR"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": -71652709.71526776,
"severity": "error",
"comparison": "string",
"ruleId": "b6b41f16-fb93-5bf6-cadd-ffab843ea08c",
"templateVariable": "k"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": true,
"severity": "warning",
"comparison": "regex",
"ruleId": "3043cc61-164c-4206-7613-8d332d994a54",
"templateVariable": "tCqswLxc"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": "eVoFO",
"severity": "notices",
"comparison": "string",
"ruleId": "0e2c8c55-74cd-ceff-3253-5984048e6896",
"templateVariable": "TmgQJIPTcM"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": "tVbYJuVsbEF",
"severity": "warning",
"comparison": "regex",
"ruleId": "6258223a-ab61-eaf1-4796-0d4ccf88640e",
"templateVariable": "CmcgXM"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "uWFrrWAx",
"severity": "notices",
"comparison": "regex",
"ruleId": "ef1b890c-c106-0425-a2b9-5b73bfe9430a",
"templateVariable": "qDq"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": true,
"severity": "notices",
"comparison": "regex",
"ruleId": "b93cbcf9-af04-a120-e7b2-0aafbdc872db",
"templateVariable": "sBKzuNRSupN"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "GPwMgyOff",
"severity": "error",
"comparison": "string",
"ruleId": "f19cc9c1-8c86-23a7-87f0-88aae4aa12b0",
"templateVariable": "hOMNuydPe"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": "QHoYxP",
"severity": "warning",
"comparison": "string",
"ruleId": "8a26ae59-8da6-29cc-1a1c-36d868df0707",
"templateVariable": "jtGMhZZNWiQ"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": false,
"severity": "error",
"comparison": "string",
"ruleId": "12ad7176-ab28-c43a-6d06-40cd26b1494c",
"templateVariable": "q"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": false,
"severity": "notices",
"comparison": "string",
"ruleId": "8a749fae-fb68-3b46-b7d4-eb27f59eb11c",
"templateVariable": "dIzu"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "lxAb",
"severity": "warning",
"comparison": "regex",
"ruleId": "603897bf-845f-ecb0-dc4b-6e33dbc19223",
"templateVariable": "ep"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "GmmRcL",
"severity": "warning",
"comparison": "regex",
"ruleId": "bb03f59b-92e5-6757-e2ad-cd8886708528",
"templateVariable": "cIKrTeMIFEm"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": "kPcjnmTq",
"severity": "warning",
"comparison": "regex",
"ruleId": "38df2461-c1a8-3f65-3a5c-8eef6a8832ed",
"templateVariable": "Ex"
}
]
}