compliance
Look up a compliance control by number
/v1/compliance/controls/by-numberReturns one compliance control by its control number, with its guidance and framework. A number used by more than one framework resolves to the first framework by name; name the framework to choose. Only global frameworks and the workspace's own custom frameworks are searched.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| controlNumber | query | Yes | string | — |
| frameworkName | query | No | string | — |
Request body
No request body.
Responses and errors
200
Look up a compliance control by number
- id (required): string
- controlNumber (required): string
- controlFamily (required): string
- title (required): string
- description (required): object
- guidance (required): object
- implementationGroup (required): object
- frameworkId (required): string
- frameworkName (required): string
- frameworkVersion (required): string
400
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- ValidationFailedError:
- allOf: ErrorEnvelope
401
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- UnauthorizedError:
- allOf: ErrorEnvelope
403
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- ForbiddenError:
- allOf: ErrorEnvelope
429
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- RateLimitedError:
- allOf: ErrorEnvelope
503
Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.
- UnavailableError:
- allOf: ErrorEnvelope
Example
curl --request GET \
--url 'https://api.scopable.io/v1/compliance/controls/by-number' \
--header 'Authorization: Bearer $SCOPABLE_API_KEY'Replace $SCOPABLE_API_KEY with a key created in Settings, API.
Need help with the API? …