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: 8e7949e8-a581-4583-9b7d-a1d53ef37075

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_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, 14 Jul 2021 08:07:33 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "malicious-user-mitigation",
      "uid": "8e7949e8-a581-4583-9b7d-a1d53ef37075",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}