{
  "apiVersion": "json.kyverno.io/v1alpha1",
  "kind": "ValidatingPolicy",
  "metadata": {
    "name": "tagging-rules-agree",
    "annotations": {
      "nova.cloudinit.dev/severity": "medium",
      "title.policy.kyverno.io": "Checkov NOVA_TAG_NAMING and kj KJ_REQUIRE_TAGGING_STANDARD agree per resource"
    }
  },
  "spec": {
    "rules": [
      {
        "name": "no-tagging-divergence",
        "assert": {
          "all": [
            {
              "check": {
                "(ruleId == 'NOVA_TAG_NAMING' && result == 'fail')": false
              }
            },
            {
              "check": {
                "(ruleId == 'KJ_REQUIRE_TAGGING_STANDARD' && result == 'fail')": false
              }
            }
          ]
        }
      }
    ]
  }
}