Data Policies

get

Returns all data policies obfuscation types

Path parameters
environmentstringRequired
Responses
200Success
application/json
Responsestring[]
get
/api/v1/environments/{environment}/proxy/api/protection/static/obfuscation
GET /api/v1/environments/{environment}/proxy/api/protection/static/obfuscation HTTP/1.1
Host: 
Accept: */*
[
  "text"
]
get

Returns all data policies impact level types

Path parameters
environmentstringRequired
Responses
200Success
application/json
Responsestring[]
get
/api/v1/environments/{environment}/proxy/api/protection/static/impact
GET /api/v1/environments/{environment}/proxy/api/protection/static/impact HTTP/1.1
Host: 
Accept: */*
[
  "text"
]
get

Returns all data policies category types

Path parameters
environmentstringRequired
Responses
200Success
application/json
Responsestring[]
get
/api/v1/environments/{environment}/proxy/api/protection/static/category
GET /api/v1/environments/{environment}/proxy/api/protection/static/category HTTP/1.1
Host: 
Accept: */*
[
  "text"
]
get

Returns all the data policies rules entries

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/protection/policy
GET /api/v1/environments/{environment}/proxy/api/protection/policy HTTP/1.1
Host: 
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"
        }
      ]
    }
  }
]
post

Adds a new data policy

Path parameters
environmentstringRequired
Body
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
Responses
201Success
text/plain
Responsestring
post
/api/v1/environments/{environment}/proxy/api/protection/policy
POST /api/v1/environments/{environment}/proxy/api/protection/policy HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 112

{
  "name": "text",
  "category": "text",
  "impactType": "HIGH",
  "obfuscation": "text",
  "fields": [
    "text"
  ],
  "datasets": [
    "text"
  ]
}
text
get

Returns the data policy details

Path parameters
environmentstringRequired
idstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/protection/policy/{id}
GET /api/v1/environments/{environment}/proxy/api/protection/policy/{id} HTTP/1.1
Host: 
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"
      }
    ]
  }
}
put

Updates an existing data policy

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: 
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

Deletes an existing data policy

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: 
Accept: */*

No content

post

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

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: 
Accept: */*

No content

Last updated

Was this helpful?