Data Policies
Returns all data policies obfuscation types
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/protection/static/obfuscation HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
"text"
]Returns all data policies impact level types
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/protection/static/impact HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
"text"
]Returns all data policies category types
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/protection/static/category HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
"text"
]Returns all the data policies rules entries
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/protection/policy HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "text",
"lrn": "text",
"name": "text",
"category": "text",
"impactType": "HIGH",
"obfuscation": "text",
"fields": [
"text"
],
"datasets": [
"text"
],
"versions": 1,
"lastUpdated": "text",
"lastUpdatedUser": "text",
"impact": {
"topics": [
"text"
],
"connectionEntities": [
{
"connectionName": "text",
"connectionType": "text",
"entities": [
"text"
],
"datasetsWithFields": [
{
"datasetName": "text",
"matchingKeyFields": [
{
"name": "text",
"parents": [
"text"
]
}
],
"matchingValueFields": [
{
"name": "text",
"parents": [
"text"
]
}
]
}
]
}
],
"connectors": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
],
"processors": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
],
"apps": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
]
}
}
]Adds a new data policy
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/protection/policy HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 112
{
"name": "text",
"category": "text",
"impactType": "HIGH",
"obfuscation": "text",
"fields": [
"text"
],
"datasets": [
"text"
]
}textReturns the data policy details
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/protection/policy/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"lrn": "text",
"name": "text",
"category": "text",
"impactType": "HIGH",
"obfuscation": "text",
"fields": [
"text"
],
"datasets": [
"text"
],
"versions": 1,
"lastUpdated": "text",
"lastUpdatedUser": "text",
"impact": {
"topics": [
"text"
],
"connectionEntities": [
{
"connectionName": "text",
"connectionType": "text",
"entities": [
"text"
],
"datasetsWithFields": [
{
"datasetName": "text",
"matchingKeyFields": [
{
"name": "text",
"parents": [
"text"
]
}
],
"matchingValueFields": [
{
"name": "text",
"parents": [
"text"
]
}
]
}
]
}
],
"connectors": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
],
"processors": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
],
"apps": [
{
"id": "text",
"name": "text",
"type": "AkkaStreams",
"cluster": "text",
"namespace": "text"
}
]
}
}Updates an existing data policy
The bearer token can be obtained by creating a ServiceAccount.
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/protection/policy/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"id": "text",
"name": "text",
"category": "text",
"impactType": "HIGH",
"obfuscation": "text",
"fields": [
"text"
],
"datasets": [
"text"
]
}No content
Deletes an existing data policy
The bearer token can be obtained by creating a ServiceAccount.
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
DELETE /api/v1/environments/{environment}/proxy/api/protection/policy/{id} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Loads a default set of data policies entries covering used PII fields and obfuscation rules
The bearer token can be obtained by creating a ServiceAccount.
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/protection/default/policy HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

