Data Loss Prevention API

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.

What is DLP?

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.

How to call the API

You can call the API using curl, Postman, or directly in your application code. Here are some examples with curl:

Single Field Check (GET)

curl https://api.predic8.de/dlp/fields/email

Response:

{
  "field": "email",
  "category": "Contact",
  "risk": "High"
}

Multiple Fields Check (POST)

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.

Key Features:

Handling Unknown Fields

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.