Skip to content

Commit

Permalink
Rename states-inventory-fim folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Sep 13, 2024
1 parent 8b91197 commit 12d57a4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 123 deletions.
114 changes: 0 additions & 114 deletions ecs/alerts/event-generator/event_generator.py

This file was deleted.

8 changes: 0 additions & 8 deletions ecs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ generate_mappings() {
echo "Removing scaling_factor lines"
find "$OUT_DIR" -type f -exec sed -i '/scaling_factor/d' {} \;

# Replace "constant_keyword" type (not supported by OpenSearch) with "keyword"
echo "Replacing \"constant_keyword\" type with \"keyword\""
find "$OUT_DIR" -type f -exec sed -i 's/constant_keyword/keyword/g' {} \;

# Replace "flattened" type (not supported by OpenSearch) with "flat_object"
echo "Replacing \"flattened\" type with \"flat_object\""
find "$OUT_DIR" -type f -exec sed -i 's/flattened/flat_object/g' {} \;

local IN_FILE="$OUT_DIR/generated/elasticsearch/legacy/template.json"
local OUT_FILE="$OUT_DIR/generated/elasticsearch/legacy/template-tmp.json"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
type: keyword
level: custom
description: >
The groups the agent belongs to.
The groups the agent belongs to.
File renamed without changes.
File renamed without changes.

0 comments on commit 12d57a4

Please sign in to comment.