Vai al contenuto principale
POST
/
api
/
v1
/
V-Ciso
/
security-frameworks
cURL
curl --request POST \
  --url https://app.aegister.com/api/v1/V-Ciso/security-frameworks \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '
{
  "title": "<string>",
  "security_frameworks": "<array>"
}
'
{
  "error": 0,
  "messages": "<array>",
  "security_framework": 123
}

Authorizations

X-Aegister-Token
string
header
required

Body

title
string

Security framework title.

Example:

"Sample Framework"

security_frameworks
array

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

error
integer

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

Intervallo richiesto: 0 <= x <= 0
Example:

0

messages
array

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

Example:
[]
security_framework
number

Created Security Framework unique id.