Admission

Show an admission rule

get/admission/rule/{id}

Request

Path parameters

idstring required

Rule ID

Headers

X-Auth-Tokenstring required

Response

Success

Example response

{
  "rule": {
    "id": 2,
    "category": "Kubernetes",
    "comment": "Do not delete this exception rule",
    "criteria": [
      {
        "name": "namespace",
        "op": "=",
        "value": "kube-system"
      }
    ],
    "cfg_type": "ground",
    "rule_type": "exception"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.