From 51dfabbf5e0bff9bf052431b2a0a06a8a2f27d42 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 4 Aug 2020 15:20:13 -0600 Subject: [PATCH] readme: fix example indenting --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5ad0cfaee..184d6bd9b 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,9 @@ requires: # Run the script and only continue with the test if the script exists # successfully. script: - - command1 - - command2 - - ... + - command1 + - command2 + - ... skip: # Skip a test if a feature is present, with a message that is logged. @@ -102,24 +102,24 @@ checks: # filters may exist and all must pass for the test to pass. - filter: # The number of records this filter should match. - count: 1 + count: 1 - # The fields to match on. - match: - # Example match on event_type: - event_type: alert - - # Example match on array item: - alert.metadata.tag[0]: "tag1" + # The fields to match on. + match: + # Example match on event_type: + event_type: alert + + # Example match on array item: + alert.metadata.tag[0]: "tag1" # Example match on the length of an array. alert.metadata.tag.__len: 3 - # Check that a field exists: - has-key: alert.rule - - # Check that a field does not exist: - not-has-key: flow + # Check that a field exists: + has-key: alert.rule + + # Check that a field does not exist: + not-has-key: flow - shell: # A simple shell check. If the command exits with a non-0 exit code the -- 2.47.2