The DLP API provides access to metadata about sensitive data fields. It helps classify data by type and assess the risk level associated with it. This makes it easier for systems to apply protective measures where needed.
DLP stands for Data Loss Prevention. It is a security strategy used to prevent sensitive information from being accidentally shared, leaked, or accessed by unauthorized users. DLP solutions identify, monitor, and protect data such as personal information, financial details, and confidential records.
https://api.predic8.de/dlp/fields/{fieldName}
Replace {fieldName}
with the field you want to check
(e.g. email,
card_number,
last_name).
You can call the API using curl
, Postman, or directly in your application code.
Here are some examples with curl
:
curl https://api.predic8.de/dlp/fields/email
Response:
{
"field": "email",
"category": "Contact",
"risk": "High"
}
curl https://api.predic8.de/dlp/fields \
-H "Content-Type: application/json" \
-d '{"fieldNames":["email","card_number","last_name"]}'
Response:
[
{
"field": "email",
"category": "Contact",
"risk": "High"
},
{
"field": "card_number",
"category": "Financial",
"risk": "High"
},
{
"field": "last_name",
"category": "Personally Identifiable Information",
"risk": "High"
}
]
Responses will contain classification details for each field, including
field
, category
, and risk
.
email
or
card_number
.
Returns classification details for the field email.
Returns classification details for all listed fields.
field
: the field namecategory
: the data classification (e.g. Financial, Contact)risk
: the risk level (e.g. HIGH, MEDIUM, LOW)
If the API returns Unknown
for a field, this information is stored in a database.
This allows us to track how often unrecognized field names are requested and gain insights
into which fields might need to be added to the classification system in the future.