Get threat intelligence IP list
curl --request GET \
--url https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list"
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/perimeter-protection/threat-intelligence/ip/list', 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/perimeter-protection/threat-intelligence/ip/list",
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/perimeter-protection/threat-intelligence/ip/list"
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/perimeter-protection/threat-intelligence/ip/list")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list")
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_body103.140.194.75
190.153.249.99
45.95.147.236
213.215.140.6
43.135.139.104
124.156.204.72
144.48.240.85
85.209.11.226
118.70.48.219
...errorerrorThreat Intelligence
Recupera elenco IP threat intelligence
Scarica il feed degli IPv4 malevoli in testo semplice, un IP per riga, per gli IP con crime score almeno pari a score (obbligatorio). Autenticati con l’header X-Aegister-Token o con il parametro auth_token, utile per i firewall che scaricano un URL. Fornito da OneFirewall
GET
/
api
/
v1
/
perimeter-protection
/
threat-intelligence
/
ip
/
list
Get threat intelligence IP list
curl --request GET \
--url https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list"
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/perimeter-protection/threat-intelligence/ip/list', 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/perimeter-protection/threat-intelligence/ip/list",
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/perimeter-protection/threat-intelligence/ip/list"
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/perimeter-protection/threat-intelligence/ip/list")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/ip/list")
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_body103.140.194.75
190.153.249.99
45.95.147.236
213.215.140.6
43.135.139.104
124.156.204.72
144.48.240.85
85.209.11.226
118.70.48.219
...errorerrorAutorizzazioni
ApiKeyAuthApiKeyQueryParam
Risposta
Success
The response is of type string.
Esempio:
"103.140.194.75\n190.153.249.99\n45.95.147.236\n213.215.140.6\n43.135.139.104\n124.156.204.72\n144.48.240.85\n85.209.11.226\n118.70.48.219\n... "

