Detection Rules
Update detection rule
Update a detection rule using JSON Merge Patch (RFC 7396). You only need to send the fields you want to change.
The rule type cannot be changed, and for METADATA rules, inputs are read-only.
patch/catalog/v1/detection-rules/{urn}
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
urnstring uri required
A URN identifying a detection rule resource in the Catalog API.
Format: urn:ata:{tenant}:catalog:detection-rule:{uuid}
Example: urn:ata:acme-corp:catalog:detection-rule:123e4567-e89b-12d3-a456-426614174000.
Example:urn:ata:acme-corp:catalog:detection-rule:123e4567-e89b-12d3-a456-426614174000
Request body
Example request
{
"input": {
"dataType": "STRING"
},
"extraProperties": {
"isPii": true,
"community": "Customer Solutions",
"status": "urn:ata:acme-corp:catalog:completeness-status:10bae762-0000-8010-8000-000001eb0070",
"domains": [
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0065",
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0066"
]
}
}Response
Updated detection rule.
Example response
{
"urn": "urn:ata:acme-corp:catalog:detection-rule:123e4567-e89b-12d3-a456-426614174000",
"type": "DATA",
"extraProperties": {
"isPii": true,
"community": "Customer Solutions",
"status": "urn:ata:acme-corp:catalog:completeness-status:10bae762-0000-8010-8000-000001eb0070",
"domains": [
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0065",
"urn:ata:acme-corp:catalog:domain:10bae762-0000-8010-8000-000001eb0066"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.