Schema for the Continuous Compliance Engine API
- Update the set of files and their attributes associated with a file ruleset in bulk
Masking API (5.1.41)
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets
- https://help-api.delphix.com/masking/api/v5.1.41/file-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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets?environment_id=0&page_number=1&page_size=0' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "_pageInfo": { "numberOnPage": 0, "total": 0 }, "responseList": [ { … } ] }
The file ruleset to create
The name of the ruleset. This must be unique within an environment.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets
- https://help-api.delphix.com/masking/api/v5.1.41/file-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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"rulesetName": "Rule123",
"fileConnectorId": 1
}'{ "rulesetName": "Rule123", "fileConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}
- 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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "rulesetName": "Rule123", "fileConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}
- 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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}' \
-H 'Authorization: YOUR_API_KEY_HERE'The exact list of files to put in the ruleset. Note that existing files for this ruleset not in this list will be deleted
The ID of the ruleset to create the file metadata on.
The ID of the file format corresponding to this file. It is used to determine the fields for this file. This field is required.
The delimiter for a delimited file. This field should be left blank for other file types.
The character used to escape a literal enclosure character within an enclosed value. By default, this is equal to the enclosure value itself, so doubling the enclosure character escape it.
This flag indicates whether the enclosure escape character also escapes itself. For example, if the enclosure escape character is *, then the sequence ** would be treated as a single * character, rather than an escape.
The string of characters that delineates the end-of-record for a file. Note that, for linux this is '\n', and for windows it is '\r\n'.
Whether or not this file name represents a regular expression.
This flag indicates whether the file is to be read as whole or line-by-line (Only for FIXED_WIDTH file type). For example, if the whole file masking is true, then the whole file will be read as a single record, rather than reading it line by line.
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/bulk-file-update
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}/bulk-file-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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/bulk-file-update' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"fileMetadata": [
{
"fileName": "file.delimited",
"rulesetId": 1,
"fileFormatId": 2,
"delimiter": "*",
"endOfRecord": "\n"
}
]
}'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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/copy
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}/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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/copy' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"newRulesetName": "Rule123"
}'{ "rulesetName": "Rule123", "fileConnectorId": 1 }
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/csvExport
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}/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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/csvExport' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"exportFileName": "my-delimited-file-ruleset.csv"
}'{ "exportFileName": "my-delimited-file-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
- Mock serverhttps://help-api.delphix.com/_mock/continuous-compliance-engine/2025.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/csvImport
- https://help-api.delphix.com/masking/api/v5.1.41/file-rulesets/{fileRulesetId}/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.1.0.0/cc-engine-apis-2025.1.0.0/file-rulesets/{fileRulesetId}/csvImport' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-F file=string{ "importStatus": "SUCCESS", "message": [ "Inventory imported successfully" ] }