POST /api/threats
Uploads threat data from an agent or external source. Supports both single and batch submissions.Array of threat objects (maximum 100 per request).
IoC type:
ip, domain, hash, url, email, cve.The indicator value (e.g., IP address, domain name, file hash).
Source identifier (e.g.,
guard-agent, honeypot, manual).Threat category:
malware, botnet, phishing, bruteforce, scanner, exploit, c2.Severity:
low, medium, high, critical.Confidence score (0.0—1.0).
Additional metadata (ports, protocols, MITRE ATT&CK IDs, etc.).
- Single Threat
- Batch Upload
Batch uploads accept up to 100 threats per request. For larger volumes, split into multiple requests. Duplicate IoCs are automatically merged — their reputation score, sighting count, and metadata are updated rather than creating duplicates.
POST /api/trap-intel
Submits intelligence gathered from Panguard Trap (honeypot) deployments. This data receives a higher confidence boost due to the nature of honeypot interactions.The honeypot instance identifier.
IP address of the attacker.
Type of honeypot:
ssh, http, ftp, smtp, custom.Array of attacker interaction records.
Credentials attempted by the attacker.
SHA-256 hashes of any payloads dropped.
GET /api/iocs
Searches the IoC database with filters.Filter by IoC type:
ip, domain, hash, url, email, cve.Filter by source (e.g.,
guard-agent, honeypot, community).Minimum reputation score (0—100, where 0 is most malicious).
Maximum reputation score.
Filter by status:
active, expired, whitelisted.Filter by threat category.
Return IoCs updated after this ISO 8601 timestamp.
Page number.
Results per page (max 200).
GET /api/iocs/:value
Looks up a single IoC by its value. Supports IP addresses, domains, hashes, URLs, emails, and CVE IDs.The IoC value to look up. URL-encode if necessary.
- 200 Found
- 404 Not Found