SOC Alert Enrichment
Add domain and IP context to incident alerts
Add domain and IP context to incident alerts. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Analysts need registration, routing, location, and reputation context without treating any one signal as a verdict.
The Solution
Use the relevant IP and domain endpoints to enrich indicators from your SIEM or SOAR workflow. Queue requests within your allowance, inspect source freshness and partial results, and apply your own escalation policy.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/ip/geolocationAPI referenceIP Geolocation: Get location, ASN, and org for an IP
/v1/network/asnAPI referenceASN Lookup: Get AS number, organization, and network type
/v1/domain/whoisAPI referenceWHOIS Lookup: Get domain registration data via RDAP — the post-WHOIS standard. Detects privacy-proxy registrants and GDPR redactions.
/v1/score/trustAPI referenceTrust Score: Evaluate domain trustworthiness from 7 signals
/v1/ip/reverseAPI referenceReverse DNS: Find hostname from IP via PTR lookup
What this workflow helps you do
Collect indicator context
Combine IP, ASN, WHOIS, and reverse-DNS observations.
Prioritize human review
Use scores as supporting evidence rather than automatic proof of abuse.
Control API consumption
Cache appropriate results and budget enrichment work.
Code Example
Add domain and IP context to incident alerts
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/ip/geolocation",
"params": {
"ip": "8.8.8.8"
}
},
{
"path": "/v1/network/asn",
"params": {
"ip": "8.8.8.8"
}
},
{
"path": "/v1/domain/whois",
"params": {
"domain": "example.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
Ready to build SOC Alert Enrichment?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
E-commerce Fraud Detection
Add domain and IP signals to transaction risk review
Brand Protection / LegalDomain Portfolio Protection
Investigate lookalike domains and changes to domains you own
Threat Intelligence Analyst / SOC ManagerIP Threat Intelligence & Abuse Management
Combine IP reputation, privacy classification, and ownership context