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:
nullstring[]Optional
nullOptional
deny_listany ofOptionalDefault:
nullor
nullOptional
deselected_entitiesany ofOptionalDefault:
nullstring[]Optional
nullOptional
Responses
200
Success: found foreign keys
application/json
503
Message: unable to fetch engine from external service
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
503
Message: unable to fetch engine from external service
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?

