Control Query
Retrieve and validate control queries. Use these endpoints to get the enriched query of a control or validate a query independently before attaching it to a control.
Retrieves the enriched query of a control.
This endpoint returns an enriched version of the control query, which includes additional context such as display names for resources.
This API requires Basic HTTP authentication.
The unique identifier of the control.
Response for retrieving a control query.
The query that defines the logic for finding non-compliant assets.
The shape of this object is defined by the Collibra Control Tower Query Model, which is versioned
separately from this API. Its specification is published on https://developer.collibra.com/, both as an
OpenAPI document and as a JSON Schema you can validate a query against.
No control query found for the given control ID.
The resource was not found.
GET /rest/controlManagement/v1/controls/{controlId}/enrichedQuery HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}Validates a control query, independently from any control.
This endpoint takes a query as input and returns the same query as response, with potential "issues" that were found in the query. The query comes back as it was sent: issues are attached to the part of the query each one applies to, and nothing is corrected or removed on your behalf.
Findings are reported one level at a time. A query is checked in levels: it has to parse, then satisfy the Control Query schema, say something coherent, and reference elements that exist and fit together. A level that finds anything stops the levels above it, because their rules are written against a query that already passed. So a response carries every finding of one level, and the next level's findings appear on a following call once those are fixed. Expect to iterate rather than to receive one exhaustive list.
This API requires Basic HTTP authentication.
The query that defines the logic for finding non-compliant assets.
The shape of this object is defined by the Collibra Control Tower Query Model, which is versioned
separately from this API. Its specification is published on https://developer.collibra.com/, both as an
OpenAPI document and as a JSON Schema you can validate a query against.
Response for retrieving a control query.
The query that defines the logic for finding non-compliant assets.
The shape of this object is defined by the Collibra Control Tower Query Model, which is versioned
separately from this API. Its specification is published on https://developer.collibra.com/, both as an
OpenAPI document and as a JSON Schema you can validate a query against.
The request is not valid.
POST /rest/controlManagement/v1/controlQueries/validate HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}{
"ANY_ADDITIONAL_PROPERTY": "anything"
}Last updated
Was this helpful?