List filings
curl --request GET \
--url https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings"
headers = {"X-Aegister-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Aegister-Token': '<api-key>'}};
fetch('https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings', 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}/filings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Aegister-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Aegister-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": 0,
"messages": [],
"total": 20,
"data": [
{
"id": 123,
"kind": "prenotifica",
"values": {},
"sources": {},
"schema_version": "<string>",
"based_on": 123,
"filed_at": "2023-11-07T05:31:56Z",
"csirt_protocol": "<string>",
"filed_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"readiness": {
"missing": [
"<string>"
],
"rules": [
{
"field": "<string>",
"rule": "one_predicate",
"ok": true,
"missing_predicates": [
"<string>"
]
}
],
"filled": 123,
"total": 123,
"ready": true
}
}
]
}{
"error": 1,
"messages": []
}Notifiche ACN
Elenca le notifiche ACN di un incidente
Elenca tutte le notifiche di un incidente ad ACN, dalla più vecchia: pre-notifica, notifica, relazioni intermedia e finale. Ognuna riporta i suoi valori, se è stata inviata e con quale numero di protocollo CSIRT, e readiness, ciò che le manca ancora. Proprietari e security officer.
GET
/
api
/
v1
/
v-ciso
/
incidents
/
{organizationid}
/
{incidentid}
/
filings
List filings
curl --request GET \
--url https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings"
headers = {"X-Aegister-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Aegister-Token': '<api-key>'}};
fetch('https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings', 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}/filings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Aegister-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/v-ciso/incidents/{organizationid}/{incidentid}/filings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Aegister-Token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": 0,
"messages": [],
"total": 20,
"data": [
{
"id": 123,
"kind": "prenotifica",
"values": {},
"sources": {},
"schema_version": "<string>",
"based_on": 123,
"filed_at": "2023-11-07T05:31:56Z",
"csirt_protocol": "<string>",
"filed_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"readiness": {
"missing": [
"<string>"
],
"rules": [
{
"field": "<string>",
"rule": "one_predicate",
"ok": true,
"missing_predicates": [
"<string>"
]
}
],
"filled": 123,
"total": 123,
"ready": true
}
}
]
}{
"error": 1,
"messages": []
}
