Set column sensitivity

Included in the Basic API.

The Tonic Structural sensitivity scan makes an initial determination as to whether a column contains sensitive information.

You can then change whether the column is sensitive.

If you have an external data catalog that can determine sensitivity, you can send the source data to that system to get the determination, then use the results to generate the requests to mark columns as sensitive or not sensitive.

Designate columns as sensitive

To identify columns that are sensitive, use:

POST /api/Privacy/set

The request identifies the workspace, and provides a list of columns to mark as sensitive.

{
  "workspaceId": "string",
  "columnKeys": [
    {
      "schema": "string",
      "table": "string",
      "columnName": "string"
    }
  ]
}

For MongoDB, the columnName value uses the format {field name}.{data type}. For example, username.string.

Designate columns as not sensitive

To identify columns that are not sensitive, use:

POST /api/Privacy/ignore

The request identifies the workspace, and provides a list of columns to mark as not sensitive.

{
  "workspaceId": "string",
  "columnKeys": [
    {
      "schema": "string",
      "table": "string",
      "columnName": "string"
    }
  ]
}

For MongoDB, the columnName value uses the format {field name}.{data type}. For example, username.string.

Last updated