v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Security Monitoring

Update resource filters

Update resource filters.

put/api/v2/cloud_security_management/resource_filters

Request body

Example request

{
  "data": {
    "attributes": {
      "aws": {
        "123456789": [
          "environment:production",
          "team:devops"
        ]
      },
      "azure": {
        "sub-001": [
          "app:frontend"
        ]
      },
      "gcp": {
        "project-abc": [
          "region:us-central1"
        ]
      }
    },
    "id": "csm_resource_filter",
    "type": "csm_resource_filter"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "aws": {
        "123456789": [
          "environment:production",
          "team:devops"
        ]
      },
      "azure": {
        "sub-001": [
          "app:frontend"
        ]
      },
      "gcp": {
        "project-abc": [
          "region:us-central1"
        ]
      }
    },
    "id": "csm_resource_filter",
    "type": "csm_resource_filter"
  }
}