POST
/
api
/
v1
/
cyber-assurance
/
security-frameworks
curl --request POST \
  --url https://app.aegister.com/api/v1/cyber-assurance/security-frameworks \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '{
  "title": "Sample Framework",
  "security_frameworks": [
    {
      "id": "C1",
      "type": "control",
      "title": "Control 1",
      "weight": 0.2,
      "details": {},
      "evidences": [],
      "frequency": "0 0 1 * *",
      "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et posuere erat. Phasellus iaculis metus mauris, quis accumsan felis fermentum at.",
      "evidence_type": "self"
    }
  ]
}'
{
  "error": 0,
  "messages": [],
  "security_framework": 123
}

Authorizations

X-Aegister-Token
string
header
required

Body

title
string

Security framework title.

Example:

"Sample Framework"

security_frameworks
any[]

JSON representation of Security Frameworks.

Example:
[
  {
    "id": "C1",
    "type": "control",
    "title": "Control 1",
    "weight": 0.2,
    "details": {},
    "evidences": [],
    "frequency": "0 0 1 * *",
    "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et posuere erat. Phasellus iaculis metus mauris, quis accumsan felis fermentum at.",
    "evidence_type": "self"
  }
]

Response

201
application/json
error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
Example:

0

messages
any[]

If error is 1, contains zero or more details on the error.

Example:
[]
security_framework
number

Created Security Framework unique id.