Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Retrieve the enriched query of a control

get

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.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
controlIdstring · uuidRequired

The unique identifier of the control.

Responses
200

Response for retrieving a control query.

application/json

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.

Other propertiesanyOptional
get/controls/{controlId}/enrichedQuery
GET /rest/controlManagement/v1/controls/{controlId}/enrichedQuery HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Validate a control query

post

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.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Body

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.

Other propertiesanyOptional
Responses
200

Response for retrieving a control query.

application/json

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.

Other propertiesanyOptional
post/controlQueries/validate
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?