v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Sensitive Data Scanner

Create Scanning Group

Create a scanning group. The request MAY include a configuration relationship. A rules relationship can be omitted entirely, but if it is included it MUST be null or an empty array (rules cannot be created at the same time). The new group will be ordered last within the configuration.

post/api/v2/sensitive-data-scanner/config/groups

Request body

Example request

{
  "data": {
    "attributes": {
      "samplings": [
        {
          "rate": 100
        }
      ]
    },
    "relationships": {
      "configuration": {
        "data": {
          "type": "sensitive_data_scanner_configuration"
        }
      },
      "rules": {
        "data": [
          {
            "type": "sensitive_data_scanner_rule"
          }
        ]
      }
    },
    "type": "sensitive_data_scanner_group"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "samplings": [
        {
          "rate": 100
        }
      ]
    },
    "relationships": {
      "configuration": {
        "data": {
          "type": "sensitive_data_scanner_configuration"
        }
      },
      "rules": {
        "data": [
          {
            "type": "sensitive_data_scanner_rule"
          }
        ]
      }
    },
    "type": "sensitive_data_scanner_group"
  }
}