Documentazione API
Avviso
Crea Caso da Avviso
Create a case from an alert
POST
/
alerts
/
create-case
Copy
curl --request POST \
--url https://local.casebender.com:3000/api/alerts/create-case \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "",
"statusValue": "<string>",
"count": 1,
"severity": 2,
"type": "<string>",
"source": "<string>",
"sourceRef": "<string>",
"externalLink": "<string>",
"tlp": 2,
"pap": 2,
"customFields": {},
"teams": [
{
"id": "<string>"
}
],
"tags": [
{
"id": 123
}
],
"organizations": [
{
"id": "<string>"
}
],
"observables": [
{
"dataType": "<string>",
"data": "<string>",
"attachment": "<string>"
}
],
"assigneeId": "<string>",
"clientId": "<string>",
"clientName": "<string>",
"slaConfig": {
"deadlineHours": 1,
"warningThresholdPercent": 50,
"criticalThresholdPercent": 50,
"businessHours": {
"enabled": true,
"start": "<string>",
"end": "<string>",
"timezone": "<string>",
"workDays": [
3
]
}
},
"alertIds": [
"<string>"
]
}'
Copy
{
"caseId": "<string>"
}
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request POST \
--url https://local.casebender.com:3000/api/alerts/create-case \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "",
"statusValue": "<string>",
"count": 1,
"severity": 2,
"type": "<string>",
"source": "<string>",
"sourceRef": "<string>",
"externalLink": "<string>",
"tlp": 2,
"pap": 2,
"customFields": {},
"teams": [
{
"id": "<string>"
}
],
"tags": [
{
"id": 123
}
],
"organizations": [
{
"id": "<string>"
}
],
"observables": [
{
"dataType": "<string>",
"data": "<string>",
"attachment": "<string>"
}
],
"assigneeId": "<string>",
"clientId": "<string>",
"clientName": "<string>",
"slaConfig": {
"deadlineHours": 1,
"warningThresholdPercent": 50,
"criticalThresholdPercent": 50,
"businessHours": {
"enabled": true,
"start": "<string>",
"end": "<string>",
"timezone": "<string>",
"workDays": [
3
]
}
},
"alertIds": [
"<string>"
]
}'
Copy
{
"caseId": "<string>"
}
Assistente
Responses are generated using AI and may contain mistakes.