crowdsec/pkg/parser/tests/geoip-enrich/test.yaml
Thibault "bui" Koechlin 6fb962a941
Allow parsers to capture data for future enrichment (#1969)
* Allow parsers to capture data in a cache, that can be later accessed via expr helpers (fake multi-line support)
2023-01-11 15:01:02 +01:00

27 lines
471 B
YAML

#these are the events we input into parser
lines:
- Meta:
test: test1
source_ip: 1.0.0.1
- Meta:
test: test2
source_ip: 192.168.0.1
#these are the results we expect from the parser
results:
- Process: true
Enriched:
IsInEU: false
ASNOrg: "Google Inc."
Meta:
source_ip: 1.0.0.1
- Process: true
Enriched:
IsInEU: false
IsoCode:
ASNOrg:
Meta:
source_ip: 192.168.0.1