* cscli inspect: suggest --diff if an item is tainted * appropriate warning, or error if context configuration file is empty * fix user/group lookup unit test * fix: allow hub upgrade --force with local items * fix pkg/parser lookup for 8.8.8.8 * fix func test * fix hubtests: machines add --force
54 lines
965 B
YAML
54 lines
965 B
YAML
#these are the events we input into parser
|
|
lines:
|
|
- Meta:
|
|
test: test1
|
|
source_ip: 1.1.1.1
|
|
statics: toto
|
|
- Meta:
|
|
test: test2
|
|
source_ip: 1.2.3.4
|
|
statics: toto
|
|
- Meta:
|
|
test: test3
|
|
source_ip: 2.2.3.4
|
|
statics: toto
|
|
- Meta:
|
|
test: test4
|
|
source_ip: 8.8.8.9
|
|
statics: toto
|
|
- Enriched:
|
|
test_token: supertoken1234
|
|
Meta:
|
|
test: test5
|
|
statics: toto
|
|
#these are the results we expect from the parser
|
|
results:
|
|
- Whitelisted: true
|
|
Process: true
|
|
Meta:
|
|
test: test1
|
|
statics: success
|
|
- Whitelisted: true
|
|
Process: true
|
|
Meta:
|
|
test: test2
|
|
statics: success
|
|
- Whitelisted: false
|
|
Process: true
|
|
Meta:
|
|
test: test3
|
|
statics: toto
|
|
- Whitelisted: false
|
|
Process: true
|
|
Meta:
|
|
test: test4
|
|
statics: toto
|
|
- Whitelisted: true
|
|
Process: true
|
|
Meta:
|
|
test: test5
|
|
statics: success
|
|
|
|
|
|
|