{
  "tags": [
    {
      "_id": "5fa2ffa1196318567d1f8f80",
      "name": "artifacts",
      "description": "Itential artifacts are containerized use cases that are packaged together. They can be anything like workflows, MOP templates, forms, golden config trees, and more"
    },
    {
      "_id": "5fa2ffa1196318567d1f8f7f",
      "name": "cisco ios upgrade",
      "description": "A tag to be used with the cisco ios upgrade artifact"
    }
  ],
  "name": "Cisco IOS Upgrade State Checks",
  "os": "",
  "passRule": true,
  "ignoreWarnings": false,
  "commands": [
    {
      "command": "show ver | i System image file is",
      "passRule": true,
      "rules": [
        {
          "rule": "<!version!>",
          "eval": "!contains",
          "severity": "error",
          "flags": {
            "case": true
          }
        }
      ],
      "tempCommand": "show ver | i System image file is",
      "ruleValues": [
        {
          "rule": "csr1000v-universalk9.03.10.03.S.153-3.S3-ext.SPA.bin\"",
          "eval": "!contains",
          "severity": "error",
          "flags": {
            "case": true
          }
        }
      ]
    },
    {
      "command": "dir <!flashMemory!><!version!>",
      "passRule": true,
      "rules": [
        {
          "rule": "No such file or directory",
          "eval": "!contains",
          "severity": "error"
        },
        {
          "rule": "Directory of <!flashMemory!>/<!version!>",
          "eval": "contains",
          "severity": "error"
        }
      ]
    },
    {
      "command": "show running | inc boot",
      "passRule": true,
      "rules": [
        {
          "rule": "<!version!>",
          "eval": "!contains",
          "severity": "error"
        },
        {
          "rule": "boot system <!flashMemory!>",
          "eval": "contains",
          "severity": "error"
        }
      ]
    }
  ],
  "created": 1565028492414,
  "createdBy": "Itential-Artifacts",
  "lastUpdated": 1605108508346,
  "lastUpdatedBy": "admin@pronghorn"
}
