Schema for the Continuous Compliance Engine API
- Create database ruleset
Masking API (5.1.45)
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets?environment_id=0&page_number=1&page_size=0' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "_pageInfo": { "numberOnPage": 0, "total": 0 }, "responseList": [ { … } ] }
The database ruleset to create
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"rulesetName": "Rule123",
"databaseConnectorId": 1
}'Success
The ID of the database ruleset. This field is set by the Masking Engine.
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
{ "rulesetName": "Rule123", "databaseConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}' \
-H 'Authorization: YOUR_API_KEY_HERE'Success
The ID of the database ruleset. This field is set by the Masking Engine.
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
{ "rulesetName": "Rule123", "databaseConnectorId": 1 }
The updated form of the database ruleset
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"rulesetName": "Rule123",
"databaseConnectorId": 1
}'Success
The ID of the database ruleset. This field is set by the Masking Engine.
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
{ "rulesetName": "Rule123", "databaseConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}' \
-H 'Authorization: YOUR_API_KEY_HERE'The exact list of tables to put in the ruleset. Note that existing tables for this ruleset not in this list will be deleted
The name of the table metadata. This name must match the name of a table in the ruleset it is created on. This name must be unique for the given ruleset; in other words, the same table cannot be added to a ruleset more than once.
The ID of the ruleset to create the table metadata on.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/bulk-table-update
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}/bulk-table-update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/bulk-table-update' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"tableMetadata": [
{
"tableName": "profile",
"rulesetId": 2
},
{
"tableName": "address",
"rulesetId": 2
},
{
"tableName": "users",
"rulesetId": 2
}
]
}'Success
The ID of the AsyncTask. This field will be generated by the Masking Engine.
The type of operation that the AsyncTask is performing.
The reference for the AsyncTask. An example of a reference is the ruleset ID for a RULESET_REFRESH operation.
The status of the AsyncTask in regard to its completion.
{ "asyncTaskId": 1, "operation": "RULESET_REFRESH", "reference": 13, "status": "RUNNING", "cancellable": false }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/refresh
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}/refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/refresh' \
-H 'Authorization: YOUR_API_KEY_HERE'Success
The ID of the AsyncTask. This field will be generated by the Masking Engine.
The type of operation that the AsyncTask is performing.
The reference for the AsyncTask. An example of a reference is the ruleset ID for a RULESET_REFRESH operation.
The status of the AsyncTask in regard to its completion.
{ "asyncTaskId": 1, "operation": "RULESET_REFRESH", "reference": 13, "status": "RUNNING", "cancellable": false }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/copy
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}/copy
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/copy' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"newRulesetName": "Rule123"
}'Success
The ID of the database ruleset. This field is set by the Masking Engine.
The name of the ruleset. This must be unique within an environment.
The ID of the database connector that this ruleset corresponds to. Note that the ruleset will be created on the same environment as its connector.
This field applies to the case where a Table Metadata exists in the Masking Engine, but the corresponding table no longer exists in the external database (e.g. if the table has been deleted or renamed). In that event, True will cause the refresh operation to delete the invalid Table Metadata, whereas False will fail the refresh instead.
{ "rulesetName": "Rule123", "databaseConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/csvExport
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}/csvExport
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/csvExport' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"exportFileName": "my-database-ruleset.csv"
}'{ "exportFileName": "my-database-ruleset.csv" }
Request
WARNING: The generated curl command is incorrect, so please refer to the Masking API guide for instructions on how to upload files through the API
The name of the ruleset. This must be unique within an environment.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/csvImport
- https://help-api.delphix.com/masking/api/v5.1.45/database-rulesets/{databaseRulesetId}/csvImport
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://help-api.delphix.com/_mock/continuous-compliance-engine/2025.5.0.0/cc-engine-apis-2025.5.0.0/database-rulesets/{databaseRulesetId}/csvImport' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-F file=string{ "importStatus": "SUCCESS", "message": [ "Inventory imported successfully" ] }