Get report based on device and tree ID.
Copied to Clipboard
{
"_id": "ios0",
"leaf": "5ee98cc0-7602-99c9-6854-342807b87f64",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": 10612921,
"score": 91.94766253075785,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": "NFWBE",
"severity": "warning",
"comparison": "string",
"ruleId": "9ca25433-44f4-8591-cf0b-f0fe1af7316b",
"templateVariable": "LbMYAr"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": "Dq",
"severity": "warning",
"comparison": "regex",
"ruleId": "7682ccda-75a8-8685-02d0-cf6a7511f31e",
"templateVariable": "pCJZUMyRGBk"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "LjMjc",
"severity": "warning",
"comparison": "string",
"ruleId": "744624e3-3654-e464-1537-643e165c942e",
"templateVariable": "mh"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": 61315296.468600065,
"severity": "notices",
"comparison": "string",
"ruleId": "b93fd97a-1b48-a38c-6b82-7d1cd76af2a8",
"templateVariable": "mFE"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": 53359408.330215216,
"severity": "error",
"comparison": "string",
"ruleId": "60bc4fee-972c-7b14-6140-fb5e447ea837",
"templateVariable": "ZLkm"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": -27589476.183900177,
"severity": "warning",
"comparison": "regex",
"ruleId": "5f584028-5444-16cd-205c-5615a54937fc",
"templateVariable": "oS"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "HhBx",
"severity": "notices",
"comparison": "string",
"ruleId": "2432ffad-9c9c-202c-dc5e-8407d8b08ea9",
"templateVariable": "eS"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": 74407181.3964161,
"severity": "notices",
"comparison": "string",
"ruleId": "ee7b5eda-f331-7209-d7c9-6d550337e075",
"templateVariable": "tMeFgQQg"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "cant",
"value": 37646421.31417295,
"severity": "notices",
"comparison": "string",
"ruleId": "982d7bda-b323-6fb2-320e-6163ee2dffb7",
"templateVariable": "NjeWrAhdV"
}
]
}