Skip to content

Commit

Permalink
azure crowdstrike remediation
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Jadhav <[email protected]>
  • Loading branch information
nyrahul committed Jul 21, 2024
1 parent f0b0085 commit 8fe1d90
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions crowdstrike-bsod-fix/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import argparse
import logging
import aws

logging.basicConfig(level=logging.INFO)
log = logging.getLogger("main")
Expand All @@ -25,7 +24,7 @@ def main() -> None:
exit(1)
log.info(f"using cloud service provider {args.csp}")
log.info(f"Instances {args.instances}")
module = __import__(args.csp)
module = __import__(f"csp_{args.csp}")
func = getattr(module, f"handle_{args.csp}")
func(args) # calls handle_aws, handle_gcp, handle_azure

Expand Down

0 comments on commit 8fe1d90

Please sign in to comment.