Get report based on device and tree ID.
Copied to Clipboard
{
"_id": "arista0",
"leaf": "c21b2364-4db4-16ae-a592-e3fa21742086",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": 9446713,
"score": 6.521544398815182,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "qOQIwhTa",
"severity": "warning",
"comparison": "regex",
"ruleId": "d0ea266e-7325-55dd-7198-c4af7d66a5a3",
"templateVariable": "HynFmcF"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": 25618553.988816023,
"severity": "notices",
"comparison": "string",
"ruleId": "4af71677-b65d-457f-e9aa-b7df531da86a",
"templateVariable": "hbzSykwCRvw"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": -47680264.632373735,
"severity": "notices",
"comparison": "string",
"ruleId": "3a5540ef-557b-229a-8ecd-fe292d26f03b",
"templateVariable": "TNnJGiVB"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": -46484332.24258253,
"severity": "error",
"comparison": "string",
"ruleId": "cc798a4f-dfef-cce4-eae0-45e0290c9a1a",
"templateVariable": "Z"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": "hUF",
"severity": "warning",
"comparison": "regex",
"ruleId": "66f9ffff-ce0c-6813-fa90-15bffcca3f54",
"templateVariable": "cyf"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": 46530159.37312639,
"severity": "warning",
"comparison": "string",
"ruleId": "34ac1a12-55f2-d8f8-506c-43e4a5fffc5f",
"templateVariable": "mqA"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": -82450196.26985721,
"severity": "error",
"comparison": "regex",
"ruleId": "f8d89de4-f854-9bd3-cca7-b058073ca7b3",
"templateVariable": "V"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": -93947152.76941966,
"severity": "notices",
"comparison": "string",
"ruleId": "bb34fa45-e335-fb23-0abc-53fa9e859359",
"templateVariable": "wBUJgZOZhyd"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "nJqU",
"severity": "notices",
"comparison": "regex",
"ruleId": "367dbe82-a686-e5a5-ce43-5d736b5b09af",
"templateVariable": "qpfIaBXCeP"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": false,
"severity": "warning",
"comparison": "string",
"ruleId": "72f6f4b3-7350-0d8d-6ecd-6e2b8873df34",
"templateVariable": "feVdjU"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": true,
"severity": "notices",
"comparison": "string",
"ruleId": "f9035606-2033-b588-f95a-f1703d717cf7",
"templateVariable": "rodonynPTAp"
}
]
}