Skip to main content
POST
/
v1
/
v1
/
controls
Create a new control
curl --request POST \
  --url http://localhost:3333/v1/v1/controls \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Access Control",
  "description": "Manages user access to systems",
  "policyIds": [
    "<string>"
  ],
  "taskIds": [
    "<string>"
  ],
  "requirementMappings": [
    {
      "requirementId": "<string>",
      "frameworkInstanceId": "<string>"
    }
  ]
}
'

Body

application/json
name
string
required

Control name

Example:

"Access Control"

description
string
required

Control description

Example:

"Manages user access to systems"

policyIds
string[]

Policy IDs to connect

taskIds
string[]

Task IDs to connect

requirementMappings
object[]

Requirement mappings

Response

201 - undefined