Check file threat intelligence
curl --request GET \
--url https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file} \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file}"
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/file/{file}', 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/file/{file}",
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/file/{file}"
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/file/{file}")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file}")
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": [],
"data": {
"md5": "E27A6A678D2A3391D3DEDD7F6B5BCFFE",
"sha1": "8A0A4A6524C4FAE519CA273F427A067A80FD6B5A",
"sha256": "7CAB5BE54EA256801FFBB8C5F14BBE8ACF8C8EDF4B14BEC82A8E73F2A22FC229",
"score": 96,
"ts": 1700561246,
"file_bytes": null,
"total_reports": 48,
"total_members": 1,
"file_type": "application/zip",
"file_name": "dex.apk",
"tags": [
"IRATA",
"apk",
".zip"
],
"elk_ts": "2023-11-21T10:07:26.000Z",
"elk_entry_ts": "2023-11-19T11:03:07.000Z",
"entry_ts": 1700391787
}
}{
"error": 0,
"messages": "<array>"
}{
"error": 0,
"messages": "<array>"
}Threat Intelligence
Check file threat intelligence
Retrieves Threat Intelligence File digest check. Provided by OneFirewall
GET
/
api
/
v1
/
perimeter-protection
/
threat-intelligence
/
file
/
{file}
Check file threat intelligence
curl --request GET \
--url https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file} \
--header 'X-Aegister-Token: <api-key>'import requests
url = "https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file}"
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/file/{file}', 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/file/{file}",
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/file/{file}"
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/file/{file}")
.header("X-Aegister-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aegister.com/api/v1/perimeter-protection/threat-intelligence/file/{file}")
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": [],
"data": {
"md5": "E27A6A678D2A3391D3DEDD7F6B5BCFFE",
"sha1": "8A0A4A6524C4FAE519CA273F427A067A80FD6B5A",
"sha256": "7CAB5BE54EA256801FFBB8C5F14BBE8ACF8C8EDF4B14BEC82A8E73F2A22FC229",
"score": 96,
"ts": 1700561246,
"file_bytes": null,
"total_reports": 48,
"total_members": 1,
"file_type": "application/zip",
"file_name": "dex.apk",
"tags": [
"IRATA",
"apk",
".zip"
],
"elk_ts": "2023-11-21T10:07:26.000Z",
"elk_entry_ts": "2023-11-19T11:03:07.000Z",
"entry_ts": 1700391787
}
}{
"error": 0,
"messages": "<array>"
}{
"error": 0,
"messages": "<array>"
}⌘I

