The custom compliance standards feature allows you to define and create a mapping of rules to controls tailored to your organisation’s unique business needs and operational constraints.
This is an experimental feature and is currently in a public preview.
List All Custom Compliance Standards
This endpoint allows you to get all the custom compliance standards in your organisation.
OK
Forbidden. This error occurs when your organisation does not have access to custom compliance standards.
- 200
- 403
{- "data": [
- {
- "id": "00bec452-27e5-465b-8426-d8df5ff2c5a5",
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "organisationId": "123e4567-e89b-12d3-a456-426614174000",
- "isEnabled": true,
- "supportedProviders": [
- "aws",
- "azure",
- "gcp"
], - "status": "CREATED",
- "type": "DRAFT",
- "lastUpdated": "2023-04-19T04:27:41.016Z"
}
]
}
Create Custom Compliance Standard
This endpoint allows you to create custom compliance standard for your organisation by passing the custom compliance standard definition.
This endpoint is only available to ADMIN
users.
Some Important Concepts:
- A Compliance Standard is generated from a list of controls that map to rules.
- A Control is an automated or manual process designed to help safeguard an organisation and minimise risks to its objectives through preventative or detective measures.
- A Rule is either an AWS, GCP, Azure or Conformity Rule.
Request Body schema: application/vnd.api+json
object (custom-compliance-standards-payload) |
Created
Bad Request. This error likely occurs when there is syntax issues in your compliance standard.
Forbidden. This error occurs when your organisation or user does not have access to a specific custom compliance standard.
Unprocessable Entity
- Payload
{- "data": {
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "isEnabled": true,
- "type": "DRAFT",
- "controls": [
- {
- "aid": "0.1a",
- "awsRules": [
- "RTM-001",
- "RTM-002"
], - "azureRules": [
- "ActiveDirectory-001",
- "ActiveDirectory-002"
], - "gcpRules": [
- "BigQuery-001",
- "BigQuery-002"
], - "headings": {
- "level1": "Access Control",
- "level2": "Business Requirement for Access Control",
- "level3": "Some level 3 heading"
}, - "title": "Access Control Policy",
}
]
}
}
- 201
- 400
- 403
- 422
{- "data": {
- "id": "00bec452-27e5-465b-8426-d8df5ff2c5a5",
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "organisationId": "123e4567-e89b-12d3-a456-426614174000",
- "isEnabled": true,
- "supportedProviders": [
- "aws",
- "azure",
- "gcp"
], - "status": "CREATED",
- "type": "DRAFT",
- "lastUpdated": "2023-04-19T04:27:41.016Z"
}
}
Get Custom Compliance Standards
This endpoint allows you to query your organisation custom compliance standards definition by custom compliance standard ID. The response from this endpoint can serve as a payload for both POST
and PUT
endpoints.
OK
Forbidden. This error occurs when your organisation or user does not have access to a specific custom compliance standard.
- 200
- 403
{- "data": {
- "id": "00bec452-27e5-465b-8426-d8df5ff2c5a5",
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "organisationId": "123e4567-e89b-12d3-a456-426614174000",
- "isEnabled": true,
- "supportedProviders": [
- "aws",
- "azure",
- "gcp"
], - "status": "CREATED",
- "type": "DRAFT",
- "lastUpdated": "2023-04-19T04:27:41.016Z",
- "controls": [
- {
- "aid": "0.1a",
- "awsRules": [
- "RTM-001",
- "RTM-002"
], - "azureRules": [
- "ActiveDirectory-001",
- "ActiveDirectory-002"
], - "gcpRules": [
- "BigQuery-001",
- "BigQuery-002"
], - "headings": {
- "level1": "Access Control",
- "level2": "Business Requirement for Access Control",
- "level3": "Some level 3 heading"
}, - "title": "Access Control Policy",
}
]
}
}
Delete Custom Compliance Standard
This endpoint allows you to delete a custom compliance standard. This is a permanent action.
This endpoint is only available to ADMIN
users.
OK
Forbidden. This error occurs when your organisation or user does not have access to a specific custom compliance standard.
Conflict. This error occurs when you try to delete the custom compliance standard that is used by existing report-configs.
- 200
- 403
- 409
{- "meta": {
- "status": "deleted"
}
}
Update Custom Compliance Standards
This endpoint allows you to update the custom compliance standard for your organisation by passing the custom compliance standard definition. Its structure is shown on the payload of the request body.
This endpoint is only available to ADMIN
users.
OK
Bad Request. This error likely occurs when there is syntax issues in your compliance standard.
Forbidden. This error occurs when your organisation or user does not have access to a specific custom compliance standard.
Conflict. This error occurs when you try to disable the custom compliance standard that is used by existing report-configs.
Unprocessable Entity
- Payload
{- "data": {
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "isEnabled": true,
- "type": "DRAFT",
- "controls": [
- {
- "aid": "0.1a",
- "awsRules": [
- "RTM-001",
- "RTM-002"
], - "azureRules": [
- "ActiveDirectory-001",
- "ActiveDirectory-002"
], - "gcpRules": [
- "BigQuery-001",
- "BigQuery-002"
], - "headings": {
- "level1": "Access Control",
- "level2": "Business Requirement for Access Control",
- "level3": "Some level 3 heading"
}, - "title": "Access Control Policy",
}
]
}
}
- 200
- 400
- 403
- 409
- 422
{- "data": {
- "id": "00bec452-27e5-465b-8426-d8df5ff2c5a5",
- "name": "My Custom Compliance Standard",
- "version": "v1",
- "description": "This is a custom compliance standard for my organisation",
- "organisationId": "123e4567-e89b-12d3-a456-426614174000",
- "isEnabled": true,
- "supportedProviders": [
- "aws",
- "azure",
- "gcp"
], - "status": "CREATED",
- "type": "DRAFT",
- "lastUpdated": "2023-04-19T04:27:41.016Z"
}
}