{
    "_id" : "Itential-Artifacts pre post execution",
    "name" : "Itential-Artifacts pre post execution",
    "passRule" : true,
    "prepostCommands" : [ 
        {
            "preRawCommand" : "show clock",
            "postRawCommand" : "show clock",
            "passRule" : true,
            "rules" : [ 
                {
                    "type" : "matches",
                    "preRegex" : "",
                    "postRegex" : "",
                    "evaluator" : "=",
                    "severity" : "error",
                    "flags" : {
                        "case" : true,
                        "multiline" : true,
                        "global" : true
                    },
                    "ignorePattern" : "\\d\\d:\\d\\d\\.\\d\\d\\d"
                }
            ],
            "preCommandResHTML" : "\n> show clock\r\n*21:06:55.077 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "postCommandResHTML" : "\n> show clock\r\n*21:06:56.139 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "preCommandValue" : "show clock",
            "postCommandValue" : "show clock",
            "preCommandRes" : "\n> show clock\r\n*21:06:55.077 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#",
            "postCommandRes" : "\n> show clock\r\n*21:06:56.139 UTC Mon Mar 11 2019\r\nIOS_03.10.03.S#"
        }, 
        {
            "preRawCommand" : "show running",
            "postRawCommand" : "show running",
            "passRule" : true,
            "rules" : [ 
                {
                    "type" : "matches",
                    "preRegex" : "",
                    "postRegex" : "",
                    "evaluator" : "=",
                    "severity" : "error"
                }
            ],
            "preCommandResHTML" : "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "postCommandResHTML" : "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "preCommandValue" : "show running",
            "postCommandValue" : "show running",
            "preCommandRes" : "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#",
            "postCommandRes" : "\n> show running\r\nBuilding configuration...\r\n\r\nCurrent configuration : 1270 bytes\r\n!\r\nversion 15.3\r\nservice config\r\nservice timestamps debug datetime msec\r\nservice timestamps log datetime msec\r\nno platform punt-keepalive disable-kernel-core\r\nplatform console virtual\r\n!\r\nhostname IOS_03.10.03.S\r\n!\r\nboot-start-marker\r\nboot-end-marker\r\n!\r\n!\r\nvrf definition Mgmt-intf\r\n !\r\n address-family ipv4\r\n exit-address-family\r\n !\r\n address-family ipv6\r\n exit-address-family\r\n!\r\nenable secret 5 $1$khb4$C2lm7hXdqtcY5ESd2sszh1\r\n!\r\naaa new-model\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\naaa session-id common\r\n!\r\n!\r\n!\r\n!\r\n!\r\n\r\n\r\nip domain name itential.com\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\nmultilink bundle-name authenticated\r\n!\r\n!\r\n!\r\nusername admin password 0 admin\r\n!\r\nredundancy\r\n mode none\r\n!\r\n!\r\n!\r\nip tftp source-interface GigabitEthernet0\r\nip ssh authentication-retries 5\r\n!\r\n!\r\n!\r\n!\r\ninterface GigabitEthernet1\r\n ip address 192.168.3.209 255.255.252.0\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet2\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\ninterface GigabitEthernet0\r\n vrf forwarding Mgmt-intf\r\n no ip address\r\n shutdown\r\n negotiation auto\r\n!\r\n!\r\nvirtual-service csr_mgmt\r\n activate\r\n!\r\nip forward-protocol nd\r\n!\r\nno ip http server\r\nno ip http secure-server\r\n!\r\n!\r\n!\r\n!\r\n!\r\n!\r\ncontrol-plane\r\n!\r\n!\r\nline con 0\r\n stopbits 1\r\nline aux 0\r\n stopbits 1\r\nline vty 0 4\r\n transport input telnet\r\nline vty 5 9\r\n transport input telnet\r\nline vty 10 19\r\n transport input ssh\r\n!\r\nonep\r\n!\r\nend\r\n\r\nIOS_03.10.03.S#"
        }
    ],
    "created" : 1552338796284.0,
    "createdBy" : "admin@pronghorn",
    "lastUpdated" : 1552339836273.0,
    "lastUpdatedBy" : "admin@pronghorn",
    "evaluation" : 0
}