Skip to content

Commit

Permalink
Merge pull request #427 from cavokz/switch-to-4-digits-rules-number
Browse files Browse the repository at this point in the history
Switch to 4 digits rules number
  • Loading branch information
cavokz authored Dec 13, 2024
2 parents a59db04 + e76a0a4 commit 4d5bde9
Show file tree
Hide file tree
Showing 21 changed files with 12,747 additions and 12,747 deletions.
116 changes: 58 additions & 58 deletions tests/reports/alerts_from_queries.md

Large diffs are not rendered by default.

1,486 changes: 743 additions & 743 deletions tests/reports/alerts_from_rules-8.10.md

Large diffs are not rendered by default.

1,516 changes: 758 additions & 758 deletions tests/reports/alerts_from_rules-8.11.md

Large diffs are not rendered by default.

1,488 changes: 744 additions & 744 deletions tests/reports/alerts_from_rules-8.12.md

Large diffs are not rendered by default.

1,444 changes: 722 additions & 722 deletions tests/reports/alerts_from_rules-8.13.md

Large diffs are not rendered by default.

1,444 changes: 722 additions & 722 deletions tests/reports/alerts_from_rules-8.14.md

Large diffs are not rendered by default.

1,444 changes: 722 additions & 722 deletions tests/reports/alerts_from_rules-8.15.md

Large diffs are not rendered by default.

1,444 changes: 722 additions & 722 deletions tests/reports/alerts_from_rules-8.16.md

Large diffs are not rendered by default.

1,444 changes: 722 additions & 722 deletions tests/reports/alerts_from_rules-8.17.md

Large diffs are not rendered by default.

1,158 changes: 579 additions & 579 deletions tests/reports/alerts_from_rules-8.2.md

Large diffs are not rendered by default.

1,220 changes: 610 additions & 610 deletions tests/reports/alerts_from_rules-8.3.md

Large diffs are not rendered by default.

1,290 changes: 645 additions & 645 deletions tests/reports/alerts_from_rules-8.4.md

Large diffs are not rendered by default.

1,304 changes: 652 additions & 652 deletions tests/reports/alerts_from_rules-8.5.md

Large diffs are not rendered by default.

1,360 changes: 680 additions & 680 deletions tests/reports/alerts_from_rules-8.6.md

Large diffs are not rendered by default.

1,486 changes: 743 additions & 743 deletions tests/reports/alerts_from_rules-8.7.md

Large diffs are not rendered by default.

1,536 changes: 768 additions & 768 deletions tests/reports/alerts_from_rules-8.8.md

Large diffs are not rendered by default.

1,494 changes: 747 additions & 747 deletions tests/reports/alerts_from_rules-8.9.md

Large diffs are not rendered by default.

1,374 changes: 687 additions & 687 deletions tests/reports/alerts_from_rules-9.0.md

Large diffs are not rendered by default.

1,442 changes: 721 additions & 721 deletions tests/reports/alerts_from_rules-serverless.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/test_emitter_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ def parse_from_queries(self, queries):
asts = []
for i, query in enumerate(queries):
guess = guess_from_query(query)
index_name = "{:s}-{:03d}".format(self.index_template, i)
index_name = "{:s}-{:04d}".format(self.index_template, i)
rules.append(
{
"rule_id": "test_{:03d}".format(i),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_emitter_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def parse_from_collection(self, collection):
asts.append(ast_from_rule(rule))
except Exception:
continue
index_name = "{:s}-{:03d}".format(self.index_template, i)
index_name = "{:s}-{:04d}".format(self.index_template, i)
rules.append(
{
"rule_id": rule.rule_id,
Expand Down

0 comments on commit 4d5bde9

Please sign in to comment.