Skip to content

Commit 9cf62d6

Browse files
addressed flake errors
1 parent d0c330a commit 9cf62d6

2 files changed

Lines changed: 2 additions & 66 deletions

File tree

detection_rules/devtools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from kibana.connector import Kibana
2929

3030
from . import attack, rule_loader, utils
31-
from .cli_utils import multi_collection, single_collection
31+
from .cli_utils import single_collection
3232
from .docs import IntegrationSecurityDocs
3333
from .endgame import EndgameSchemaManager
3434
from .eswrap import CollectEvents, add_range_to_dsl
@@ -1230,7 +1230,6 @@ def update_attack_in_rules() -> List[Optional[TOMLRule]]:
12301230
"""Update threat mappings attack data in all rules."""
12311231
new_rules = []
12321232
redirected_techniques = attack.load_techniques_redirect()
1233-
attack_mappings = attack.load_attack_gz()
12341233
today = time.strftime('%Y/%m/%d')
12351234

12361235
rules = RuleCollection.default()
@@ -1287,7 +1286,7 @@ def update_attack_in_rules() -> List[Optional[TOMLRule]]:
12871286
new_rules.append(new_rule)
12881287

12891288
if new_rules:
1290-
click.echo(f'Finished - {len(new_rules)} rules updated!')
1289+
click.echo(f'\nFinished - {len(new_rules)} rules updated!')
12911290
else:
12921291
click.echo('No rule changes needed')
12931292
return new_rules

rules/windows/defense_evasion_persistence_temp_scheduled_task.toml

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)