Skip to content

Commit 90de351

Browse files
committed
I1512: Remove header from .conf files
1 parent 224dacd commit 90de351

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

convert-rules.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,6 @@ for dir in ${BASE_DIR}/*; do
7575
DIR_NAME=$(basename "$dir")
7676
OUTPUT_FILE="uberAgent-ESA-am-$DIR_NAME.conf"
7777

78-
# Define the header
79-
HEADER="
80-
#
81-
# The rules are generated from the Sigma GitHub repository at https://github.com/SigmaHQ/sigma
82-
# To generate the ruleset, please follow the instructions provided in the repository: https://github.com/vastlimits/pySigma-backend-uberAgent/
83-
#
84-
# The command used to generate the ruleset is:
85-
# sigma convert -s -f conf -p $PIPELINE -O backend_version=$BACKEND -t $TARGET $dir >> $OUTPUT_FILE
86-
#
87-
"
88-
89-
# Write the header to the output file
90-
echo -e "$HEADER" > "$OUTPUT_FILE"
91-
9278
# Run the sigma converter command and append the output to the file
9379
sigma convert -s -f conf -p "$PIPELINE" -O backend_version="$BACKEND" -t "$TARGET" "$dir" >> "$OUTPUT_FILE"
9480

0 commit comments

Comments
 (0)