Skip to content

Commit b917d96

Browse files
Fix Lint issues
1 parent 77a1017 commit b917d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detection_rules/beats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def parse_beats_from_index(index: Optional[list]) -> List[str]:
292292
# e.g. mycluster:logs-* -> logs-*
293293
for index in indexes:
294294
if "beat-*" in index:
295-
index_parts = index.replace('::', ':').split(':', 1)
295+
index_parts = index.replace('::', ':').split(':', 1)
296296
last_part = index_parts[-1]
297297
beat_type = last_part.split("-")[0]
298298
beat_types.append(beat_type)

0 commit comments

Comments
 (0)