Update incident
curl --request PATCH \
--url https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid} \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"enisa_type": "<string>",
"significance": {},
"indicators": [
"<unknown>"
],
"titles": {}
}
'import requests
url = "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}"
payload = {
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"enisa_type": "<string>",
"significance": {},
"indicators": ["<unknown>"],
"titles": {}
}
headers = {
"X-Aegister-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-Aegister-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
description: '<string>',
detected_at: '2023-11-07T05:31:56Z',
event_at: '2023-11-07T05:31:56Z',
timezone: '<string>',
enisa_type: '<string>',
significance: {},
indicators: ['<unknown>'],
titles: {}
})
};
fetch('https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'description' => '<string>',
'detected_at' => '2023-11-07T05:31:56Z',
'event_at' => '2023-11-07T05:31:56Z',
'timezone' => '<string>',
'enisa_type' => '<string>',
'significance' => [
],
'indicators' => [
'<unknown>'
],
'titles' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Aegister-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}"
payload := strings.NewReader("{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Aegister-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}")
.header("X-Aegister-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Aegister-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}"
response = http.request(request)
puts response.read_body{
"error": 0,
"messages": [],
"data": {
"id": 123,
"reference_code": "<string>",
"title": "<string>",
"titles": {},
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"notification_type": "MANDATORY",
"enisa_type": "<string>",
"subject_type": "ESSENTIAL",
"significance": {},
"indicators": [
{}
],
"filings": [
{
"id": 123,
"kind": "prenotifica",
"filed_at": "2023-11-07T05:31:56Z",
"csirt_protocol": "<string>",
"readiness": {
"filled": 123,
"total": 123,
"ready": true,
"missing": 123
}
}
],
"deadlines": [
{}
],
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Incidents
Update incident
Partially update an incident notification.
PATCH
/
api
/
v1
/
v-ciso
/
incidents
/
{organizationid}
/
{incidentid}
Update incident
curl --request PATCH \
--url https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid} \
--header 'Content-Type: application/json' \
--header 'X-Aegister-Token: <api-key>' \
--data '
{
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"enisa_type": "<string>",
"significance": {},
"indicators": [
"<unknown>"
],
"titles": {}
}
'import requests
url = "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}"
payload = {
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"enisa_type": "<string>",
"significance": {},
"indicators": ["<unknown>"],
"titles": {}
}
headers = {
"X-Aegister-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-Aegister-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
description: '<string>',
detected_at: '2023-11-07T05:31:56Z',
event_at: '2023-11-07T05:31:56Z',
timezone: '<string>',
enisa_type: '<string>',
significance: {},
indicators: ['<unknown>'],
titles: {}
})
};
fetch('https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'description' => '<string>',
'detected_at' => '2023-11-07T05:31:56Z',
'event_at' => '2023-11-07T05:31:56Z',
'timezone' => '<string>',
'enisa_type' => '<string>',
'significance' => [
],
'indicators' => [
'<unknown>'
],
'titles' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Aegister-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}"
payload := strings.NewReader("{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-Aegister-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}")
.header("X-Aegister-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-Aegister-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"description\": \"<string>\",\n \"detected_at\": \"2023-11-07T05:31:56Z\",\n \"event_at\": \"2023-11-07T05:31:56Z\",\n \"timezone\": \"<string>\",\n \"enisa_type\": \"<string>\",\n \"significance\": {},\n \"indicators\": [\n \"<unknown>\"\n ],\n \"titles\": {}\n}"
response = http.request(request)
puts response.read_body{
"error": 0,
"messages": [],
"data": {
"id": 123,
"reference_code": "<string>",
"title": "<string>",
"titles": {},
"description": "<string>",
"detected_at": "2023-11-07T05:31:56Z",
"event_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"notification_type": "MANDATORY",
"enisa_type": "<string>",
"subject_type": "ESSENTIAL",
"significance": {},
"indicators": [
{}
],
"filings": [
{
"id": 123,
"kind": "prenotifica",
"filed_at": "2023-11-07T05:31:56Z",
"csirt_protocol": "<string>",
"readiness": {
"filled": 123,
"total": 123,
"ready": true,
"missing": 123
}
}
],
"deadlines": [
{}
],
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": 1,
"messages": [
"Invalid data provided"
]
}{
"error": 1,
"messages": []
}{
"error": 1,
"messages": []
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
What happened.
When the organisation became aware (ISO 8601 with offset).
IANA zone, default Europe/Rome.
MANDATORY- MANDATORYVOLUNTARY- VOLUNTARYNONE- NONE
Available options:
MANDATORY, VOLUNTARY, NONE Voluntary only: Minaccia Cyber, Quasi incidente, Incidente.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Any value different from 0 indicates an error.
More details can be found in messages.
Required range:
0 <= x <= 0Example:
0
If error is 1, contains zero or more details on the error.
Example:
[]
Incident case: what happened, the legal basis, the significance test and its filings to the ACN portal.
Show child attributes
Show child attributes

