For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Policies

List obfuscation types

get

Returns all data policies obfuscation types

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
string[]Optional
get/api/v1/environments/{environment}/proxy/api/protection/static/obfuscation
GET /api/v1/environments/{environment}/proxy/api/protection/static/obfuscation HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "text"
]

List impact types

get

Returns all data policies impact level types

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
string[]Optional
get/api/v1/environments/{environment}/proxy/api/protection/static/impact
GET /api/v1/environments/{environment}/proxy/api/protection/static/impact HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "text"
]

List policy categories

get

Returns all data policies category types

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
string[]Optional
get/api/v1/environments/{environment}/proxy/api/protection/static/category
GET /api/v1/environments/{environment}/proxy/api/protection/static/category HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "text"
]

List data policies

get

Returns all the data policies rules entries

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
idstringRequired
lrnstringRequired
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
versionsintegerRequired
lastUpdatedstringRequired
lastUpdatedUserstringRequired
get/api/v1/environments/{environment}/proxy/api/protection/policy
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"
        }
      ]
    }
  }
]

Create data policy

post

Adds a new data policy

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
Responses
201Success
text/plain
stringOptional
post/api/v1/environments/{environment}/proxy/api/protection/policy
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"
  ]
}
text

Get data policy

get

Returns the data policy details

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
idstringRequired
Responses
200Success
application/json
idstringRequired
lrnstringRequired
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
versionsintegerRequired
lastUpdatedstringRequired
lastUpdatedUserstringRequired
get/api/v1/environments/{environment}/proxy/api/protection/policy/{id}
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"
      }
    ]
  }
}

Update data policy

put

Updates an existing data policy

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
idstringRequired
Body
idstringRequired
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
Responses
200Success

No content

put/api/v1/environments/{environment}/proxy/api/protection/policy/{id}
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

Delete data policy

delete

Deletes an existing data policy

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
idstringRequired
Responses
200Success

No content

delete/api/v1/environments/{environment}/proxy/api/protection/policy/{id}
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

Load predefined data policies

post

Loads a default set of data policies entries covering used PII fields and obfuscation rules

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success

No content

post/api/v1/environments/{environment}/proxy/api/protection/default/policy
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?