- Pull the feed periodically:
*/15 * * * * curl -fsS -H "Authorization: Bearer $FEED_KEY" \ http://pcap-hunter.internal:8000/api/v1/iocs.csv \ | curl -X POST "https://elastic:9200/_bulk" -H "Content-Type: application/x-ndjson" \ -u elastic:$ES_PASS --data-binary @-
- Create an enrich policy on
valuefield. - Use the enrich processor in your ingest pipeline:
{ "enrich": { "policy_name": "pcap_hunter_iocs", "field": "destination.ip", "target_field": "threat.pcap_hunter" } }