Get compliance report for a node on the tree.
Copied to Clipboard
[
{
"_id": "arista0",
"leaf": "1c947a60-7233-d5bf-8bb5-d349911cc15c",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": 80306146,
"score": 97.18084582403148,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": false,
"severity": "error",
"comparison": "regex",
"ruleId": "3a9ac95c-1da6-3dda-320c-594d966c49b4",
"templateVariable": "wFP"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": false,
"severity": "notices",
"comparison": "regex",
"ruleId": "efd78dce-a82f-e524-7bb6-c3311130fc56",
"templateVariable": "RRwXJhqT"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": "hVdJVCZWtQa",
"severity": "error",
"comparison": "regex",
"ruleId": "3a6cec31-61f7-3d6a-e2f7-37e8ff49fc52",
"templateVariable": "cRWoVqXNRNh"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "must",
"value": 14040185.12515232,
"severity": "notices",
"comparison": "string",
"ruleId": "84b933a8-2e6d-0cf9-720b-52e5002326fc",
"templateVariable": "pstez"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": -38507450.64015411,
"severity": "warning",
"comparison": "string",
"ruleId": "e8d24720-06bf-9402-1bb7-8c777a21ea4c",
"templateVariable": "aJWzYFjFM"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": true,
"severity": "warning",
"comparison": "string",
"ruleId": "608c9ef5-e0b9-82e5-2661-239cc3519191",
"templateVariable": "NQz"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": -39053191.91003347,
"severity": "notices",
"comparison": "string",
"ruleId": "640949af-5011-b0d3-f717-f7dcf2552d4f",
"templateVariable": "CHu"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": false,
"severity": "error",
"comparison": "string",
"ruleId": "62dc2e58-8313-72da-0493-a1126b69f94c",
"templateVariable": "FIalTw"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": "VLJt",
"severity": "notices",
"comparison": "regex",
"ruleId": "33450289-30a1-9403-c6ea-6bcaccec01d0",
"templateVariable": "TVgLVTws"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": false,
"severity": "error",
"comparison": "regex",
"ruleId": "ad116917-fe9c-5f70-6200-5e6260216aec",
"templateVariable": "LQnjAB"
}
]
},
{
"_id": "junos0",
"leaf": "78c3fca9-6f57-0f83-ff1d-9249a3f9761b",
"date": "Wed Apr 24 09:56:38 EDT 2019",
"rules": -2541045,
"score": 98.26647756781084,
"errors": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version",
"condition": "cant",
"value": "ko",
"severity": "warning",
"comparison": "regex",
"ruleId": "d5601080-2efc-49bd-74a4-39df69838fcb",
"templateVariable": "tYFjccOrBj"
}
],
"warnings": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway",
"condition": "must",
"value": true,
"severity": "error",
"comparison": "string",
"ruleId": "4df9e939-7b0c-6bee-56bc-3de1b3ca918c",
"templateVariable": "BqV"
}
],
"notices": [
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "must",
"value": true,
"severity": "error",
"comparison": "regex",
"ruleId": "465283c5-c8a7-006f-04e9-b98af1571be0",
"templateVariable": "VzleFubJ"
},
{
"query": "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname",
"condition": "cant",
"value": -63812778.008130476,
"severity": "notices",
"comparison": "regex",
"ruleId": "23233716-bf38-0e74-f6ad-517759ea11a5",
"templateVariable": "KuoAbpCi"
}
]
}
]