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:

items:
- labels: {}
  name: malicious-user-mitigation
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: d6b5e7b7-338c-40fa-9135-f5075c05754e

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build185306297_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: 321
Content-Type: application/json
Date: Mon, 19 Oct 2020 09:48:41 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "malicious-user-mitigation",
      "uid": "d6b5e7b7-338c-40fa-9135-f5075c05754e",
      "labels": {
      },
      "owner_view": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ]
}