mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-29 11:13:19 +00:00
Remove test case for unknown objects.
The rules loader now allows objects with unknown keys. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
parent
7f4afffe3e
commit
987ececa54
@ -295,18 +295,6 @@ trace_files: !mux
|
|||||||
- rules/invalid_array_item_not_object.yaml
|
- rules/invalid_array_item_not_object.yaml
|
||||||
trace_file: trace_files/cat_write.scap
|
trace_file: trace_files/cat_write.scap
|
||||||
|
|
||||||
invalid_unexpected object:
|
|
||||||
exit_status: 1
|
|
||||||
stdout_is: |+
|
|
||||||
1 errors:
|
|
||||||
Unknown rule object: {foo="bar"}
|
|
||||||
---
|
|
||||||
- foo: bar
|
|
||||||
---
|
|
||||||
validate_rules_file:
|
|
||||||
- rules/invalid_unexpected_object.yaml
|
|
||||||
trace_file: trace_files/cat_write.scap
|
|
||||||
|
|
||||||
invalid_engine_version_not_number:
|
invalid_engine_version_not_number:
|
||||||
exit_status: 1
|
exit_status: 1
|
||||||
stdout_is: |+
|
stdout_is: |+
|
||||||
|
@ -1 +0,0 @@
|
|||||||
- foo: bar
|
|
Loading…
Reference in New Issue
Block a user