PII Scan

post

Scan for PII

Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Path parameters
database_idstringRequired
Query parameters
cardinality_checkbooleanOptional
data_scanbooleanRequired
localestringRequired
overwrite_previous_scansbooleanOptional
Body
allow_listany ofOptionalDefault: null
string[]Optional
or
nullOptional
deny_listany ofOptionalDefault: null
or
nullOptional
deselected_entitiesany ofOptionalDefault: null
string[]Optional
or
nullOptional
Responses
200

Success: found foreign keys

application/json
post
/api/v1/pii_scan/{database_id}/start/
POST /api/v1/pii_scan/{database_id}/start/?data_scan=true&locale=text HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 146

{
  "allow_list": [
    "text"
  ],
  "deny_list": {
    "language": "text",
    "ad_hoc_recognizers": [
      {
        "name": "text",
        "deny_list": [
          "text"
        ]
      }
    ]
  },
  "deselected_entities": [
    "text"
  ]
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "STARTED",
  "reason": "text"
}
get

List of Allow/Deny options for PII Scan

Authorizations
sessionidstringRequired

Log in using the POST /api/v1/auth/ endpoint

Path parameters
engine_idstringRequired
Query parameters
deepScanbooleanOptional
localestringOptional
textPiibooleanOptional
Responses
200

Success: List of PII Scan options

application/json
get
/api/v1/pii_scan/{engine_id}/recognizers/
GET /api/v1/pii_scan/{engine_id}/recognizers/ HTTP/1.1
Host: /
Accept: */*
{
  "recognizers": [
    {
      "name": "text",
      "value": true
    }
  ]
}

Last updated

Was this helpful?