@itentialopensource/device-pre-post-check-execution
Version:
A device pre post check execution demo for Itential Automation Platform (IAP)
68 lines • 1.87 kB
JSON
{
"_id" : "Itential-Artifacts pre post execution",
"name" : "Itential-Artifacts pre post execution",
"os" : "",
"passRule" : true,
"ignoreWarnings" : false,
"commands" : [
{
"command" : "show clock",
"passRule" : true,
"rules" : [
{
"rule" : "",
"eval" : "contains",
"severity" : "error"
}
]
},
{
"command" : "show running",
"passRule" : true,
"rules" : [
{
"rule" : "",
"eval" : "contains",
"severity" : "error"
}
]
},
{
"command" : "show version",
"passRule" : true,
"rules" : [
{
"rule" : "configuration register is 0x2102",
"eval" : "contains",
"severity" : "error",
"flags" : {
"case" : true
}
},
{
"rule" : "cisco ios",
"eval" : "contains",
"severity" : "warning",
"flags" : {
"case" : true
}
}
]
},
{
"command" : "show <!VARIABLE!>",
"passRule" : true,
"rules" : [
{
"rule" : "",
"eval" : "contains",
"severity" : "error"
}
]
}
],
"created" : 1552338390525.0,
"createdBy" : "admin@pronghorn",
"lastUpdated" : 1552338788585.0,
"lastUpdatedBy" : "admin@pronghorn"
}