Skip to main content

Redact Configuration API Reference

The Pangea Redact API helps developers limit the sprawl of sensitive information by performing redaction using defined rules.

Base URL

redact.<csp>.<region>.pangea.cloud

post/v1beta/config
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response

Get redact config (Beta)

POST
https://redact.aws.us.pangea.cloud/v1beta/config

required parameters

string

An ID for a service config

object

Pangea standard response schema

string
(default: "1.0.0")
string
string
string (date-time)
array<string>
(default: )
object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

object
object
string
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
string
string
object
object
string
string
array<string>
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v1beta/config/create
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

This endpoint cannot be called through the documentation site

Create redact config (Beta)

POST
https://redact.aws.us.pangea.cloud/v1beta/config/create

Create a redact service config

required parameters

string

string
(default: "2.0.0")

Current version: 2.0.0

string
string (date-time)
array<string>
(default: )
boolean
(default: false)

Always run service config enabled rules across all redact calls regardless of flags?

object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

string, null

The ID of the key used by FF3 Encryption algorithms for FPE.

object
object
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
array,null<string>
string
string
object
object
string
string
array<string>
array<string>

object

Pangea standard response schema

string
(default: "1.0.0")
string
string
string (date-time)
array<string>
(default: )
object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

object
object
string
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
string
string
object
object
string
string
array<string>
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v1beta/config/update
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

This endpoint cannot be called through the documentation site

Update redact config (Beta)

POST
https://redact.aws.us.pangea.cloud/v1beta/config/update

required parameters

string
string
string (date-time)

string
(default: "2.0.0")

Current version: 2.0.0

array<string>
(default: )
boolean
(default: false)

Always run service config enabled rules across all redact calls regardless of flags?

object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

string, null

The ID of the key used by FF3 Encryption algorithms for FPE.

object
object
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
array,null<string>
string
string
object
object
string
string
array<string>
array<string>

object

Pangea standard response schema

string
(default: "1.0.0")
string
string
string (date-time)
array<string>
(default: )
object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

object
object
string
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
string
string
object
object
string
string
array<string>
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v1beta/config/delete
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

This endpoint cannot be called through the documentation site

Delete redact config (Beta)

POST
https://redact.aws.us.pangea.cloud/v1beta/config/delete

required parameters

string

An ID for a service config

object

Pangea standard response schema

string
(default: "1.0.0")
string
string
string (date-time)
array<string>
(default: )
object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

object
object
string
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
string
string
object
object
string
string
array<string>
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v1beta/config/list
curl -sSLX POST 'https://redact.aws.us.pangea.cloud/v1beta/config/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response

List redact configs (Beta)

POST
https://redact.aws.us.pangea.cloud/v1beta/config/list

List redact service configs

fields

object
string

Only records where id equals this value.

array<string>

Only records where id includes each substring.

array<string>

Only records where id equals one of the provided substrings.

string (date-time)

Only records where created_at equals this value.

string (date-time)

Only records where created_at is greater than this value.

string (date-time)

Only records where created_at is greater than or equal to this value.

string (date-time)

Only records where created_at is less than this value.

string (date-time)

Only records where created_at is less than or equal to this value.

string (date-time)

Only records where updated_at equals this value.

string (date-time)

Only records where updated_at is greater than this value.

string (date-time)

Only records where updated_at is greater than or equal to this value.

string (date-time)

Only records where updated_at is less than this value.

string (date-time)

Only records where updated_at is less than or equal to this value.

string

Reflected value from a previous response to obtain the next page of results.

string

Order results asc(ending) or desc(ending).

string

Which field to order results by.

integer

Maximum results to include in the response.

  • minimum: 1

object

Pangea standard response schema

object
integer

The total number of service configs matched by the list request.

string

Used to fetch the next page of the current listing when provided in a repeated request's last parameter.

string
(default: "1.0.0")
string
string
string (date-time)
array<string>
(default: )
object
string
string
object
string
(default: "unmask")
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
integer
  • minimum: 0
array<string>
string
(default: "*")
  • minLength: 1

  • maxLength: 1

object, null
string, null
string, null
  • minLength: 7

  • maxLength: 7

string, null

Service config used to create the secret

string, null

Pangea only allows hashing to be done using a salt value to prevent brute-force attacks.

object
object
string
string
number
  • minimum: 0.1

  • maximum: 1

array,null<string>
string
string
object
object
string
string
array<string>
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

Status Codes
StatusStatus CodeDescription
InvalidFPEKey400

FPE key provided was not valid

RegexTimeout400

A user-provided regex took too long to run

Was this article helpful?

Contact us