apiVersion: v1
kind: ConfigMap
metadata: 
  name: filters
data:
  default.json: |- 
    [
      {
        "name": "nannies",
        "match_re": {
          "context": "^(?:nanny)$",
          "severity": "^(?:critical|warning|info)$"
        }
      },
      {
        "name": "k8s",
        "match_re": {
          "cluster_type": "^(?:controlplane)$",
          "region": "^(?:admin|qa-de-1|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical|warning|info)$",
          "tier": "^(?:k8s)$"
        }
      },
      {
        "name": "kks_default",
        "match_re": {
          "region": "^(?:admin|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:warning|info)$",
          "tier": "^(?:kks)$"
        }
      },
      {
        "name": "kks_critical",
        "match_re": {
          "region": "^(?:admin|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical)$",
          "tier": "^(?:kks)$"
        }
      },
      {
        "name": "concourse",
        "match_re": {
          "service": "^(?:concourse)$",
          "severity": "^(?:info|warning|critical)$"
        }
      },
      {
        "name": "by_os_service",
        "match_re": {
          "service": "^(?:arc|backup|barbican|castellum|cinder|cfm|designate|elektra|elk|glance|hermes|ironic|keystone|limes|lyra|maia|manila|neutron|nova|sentry|swift)$",
          "severity": "^(?:info|warning|critical)$",
          "tier": "^(?:os)$"
        }
      },
      {
        "name": "api_critical",
        "match_re": {
          "cluster_type": "^(?:controlplane)$",
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical)$",
          "tier": "^(?:os|k8s)$"
        }
      },
      {
        "name": "api_warning",
        "match_re": {
          "cluster_type": "^(?:controlplane)$",
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:warning)$",
          "tier": "^(?:os|k8s)$"
        }
      },
      {
        "name": "api_info",
        "match_re": {
          "cluster_type": "^(?:controlplane)$",
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:info)$",
          "tier": "^(?:os|k8s)$"
        }
      },
      {
        "name": "metal_critical",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical)$",
          "tier": "^(?:metal)$"
        }
      },
      {
        "name": "metal_warning",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:warning)$",
          "tier": "^(?:metal)$"
        }
      },
      {
        "name": "metal_info",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:info)$",
          "tier": "^(?:metal)$"
        }
      },
      {
        "name": "vmware_critical",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical)$",
          "tier": "^(?:vmware)$"
        }
      },
      {
        "name": "vmware_warning",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:warning)$",
          "tier": "^(?:vmware)$"
        }
      },
      {
        "name": "vmware_info",
        "match_re": {
          "region": "^(?:ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:info)$",
          "tier": "^(?:vmware)$"
        }
      },
      {
        "name": "net_critical",
        "match_re": {
          "region": "^(?:admin|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:critical)$",
          "tier": "^(?:net)$"
        }
      },
      {
        "name": "net_warning",
        "match_re": {
          "region": "^(?:admin|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:warning)$",
          "tier": "^(?:net)$"
        }
      },
      {
        "name": "net_info",
        "match_re": {
          "region": "^(?:admin|ap-ae-1|ap-au-1|ap-cn-1|ap-jp-1|ap-jp-2|ap-sa-1|eu-de-1|eu-de-2|eu-nl-1|eu-ru-1|la-br-1|na-ca-1|na-us-1|na-us-3)$",
          "severity": "^(?:info)$",
          "tier": "^(?:net)$"
        }
      },
      {
        "name": "qa",
        "match_re": {
          "region": "^(?:qa-de-1)$",
          "severity": "^(?:critical|warning|info)$"
        }
      },
      {
        "name": "dev",
        "match_re": {
          "region": "^(?:staging|lab-1)$",
          "severity": "^(?:critical|warning|info)$"
        }
      }
    ]
