Skip to main content
Enterprise Security|SOC Analyst / Security Operations

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.

GET
/v1/ip/geolocationAPI reference

IP Geolocation: Get location, ASN, and org for an IP

GET
/v1/network/asnAPI reference

ASN Lookup: Get AS number, organization, and network type

GET
/v1/domain/whoisAPI reference

WHOIS Lookup: Get domain registration data via RDAP — the post-WHOIS standard. Detects privacy-proxy registrants and GDPR redactions.

GET
/v1/score/trustAPI reference

Trust Score: Evaluate domain trustworthiness from 7 signals

GET
/v1/ip/reverseAPI reference

Reverse 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

javascript
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

SOC Alert Enrichment with DNS Context | EdgeDNS