ves-io-schema-malicious_user_mitigation-API-List

Examples of listing malicioususermitigation

Usecase:

List malicious-user-mitigation in documentation namespace

Request using vesctl:

vesctl configuration list malicious_user_mitigation --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: malicious-user-mitigation
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: a047f2cc-a0ae-4272-934d-6a11c5de5bdc

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/malicious_user_mitigations'

curl response

HTTP/1.1 200 OK
Content-Length: 477
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:26 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "malicious-user-mitigation",
      "uid": "a047f2cc-a0ae-4272-934d-6a11c5de5bdc",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}