|
13 | 13 | from intelmq.bots.experts.gethostbyname.expert import GethostbynameExpertBot |
14 | 14 |
|
15 | 15 | EXAMPLE_INPUT = {"__type": "Event", |
16 | | - "source.fqdn": "example.com", |
17 | | - "destination.fqdn": "example.org", |
| 16 | + "source.fqdn": "iana.org", |
| 17 | + "destination.fqdn": "nic.at", |
18 | 18 | "time.observation": "2015-01-01T00:00:00+00:00" |
19 | 19 | } |
20 | 20 | EXAMPLE_OUTPUT = {"__type": "Event", |
21 | | - "source.fqdn": "example.com", |
22 | | - "destination.fqdn": "example.org", |
23 | | - "source.ip": "93.184.215.14", |
24 | | - "destination.ip": "93.184.215.14", |
| 21 | + "source.fqdn": "iana.org", |
| 22 | + "destination.fqdn": "nic.at", |
| 23 | + "source.ip": "192.0.43.8", |
| 24 | + "destination.ip": "198.251.90.127", |
25 | 25 | "time.observation": "2015-01-01T00:00:00+00:00" |
26 | 26 | } |
27 | 27 | NONEXISTING_INPUT = {"__type": "Event", |
|
30 | 30 | "time.observation": "2015-01-01T00:00:00+00:00" |
31 | 31 | } |
32 | 32 | EXAMPLE_URL_INPUT = {"__type": "Event", |
33 | | - "source.url": "http://example.com", |
| 33 | + "source.url": "http://iana.org", |
34 | 34 | } |
35 | 35 | EXAMPLE_URL_OUTPUT = {"__type": "Event", |
36 | | - "source.url": "http://example.com", |
37 | | - "source.ip": "93.184.215.14", |
| 36 | + "source.url": "http://iana.org", |
| 37 | + "source.ip": "192.0.43.8", |
38 | 38 | } |
39 | 39 | EXISITNG_INPUT = {"__type": "Event", |
40 | | - "source.fqdn": "example.com", |
41 | | - "destination.fqdn": "example.org", |
| 40 | + "source.fqdn": "iana.org", |
| 41 | + "destination.fqdn": "nic.at", |
42 | 42 | "source.ip": "10.0.0.1", |
43 | 43 | "destination.ip": "10.0.0.2", |
44 | 44 | "time.observation": "2015-01-01T00:00:00+00:00" |
|
0 commit comments