From 9ffbe3adc3d5fdcc3cd993ab8c46c8aac34a75f2 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Tue, 7 Jan 2025 09:18:26 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Evan Anderson --- cmd/dev/app/rule_type/init.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cmd/dev/app/rule_type/init.go b/cmd/dev/app/rule_type/init.go index 0a6e41ddea..ededb975d5 100644 --- a/cmd/dev/app/rule_type/init.go +++ b/cmd/dev/app/rule_type/init.go @@ -158,9 +158,16 @@ tests: entity: owner: "coolhead" name: "haze-wave" + # When testing a rule, additional content can be supplied + # from files in the `{{ .RuleName }}.testdata` directory. + # File paths below are relative to this directory. # http: - # body_file: HTTP_BODY_FILE + # # Input from the `http` ingest type. + # body_file: HTTP_BODY_FILE # git: + # # Input from the `git` ingest type. Base paths contain + # # directory contents, but do not actually need to be a + # # git repository. # repo_base: REPO_BASE_PATH `) }