Skip to content

Commit

Permalink
Merge pull request #29 from awslabs/1.4.1b
Browse files Browse the repository at this point in the history
1.4.1b
  • Loading branch information
hackersifu authored Aug 24, 2021
2 parents 1a7afdb + e09098c commit d485364
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,9 @@
* Cleanup options for VPC Flow Logs and CloudTrails created by Assisted Log Enabler for AWS.
* README Documentation
* Added details in the Cleanup section to reflect VPC Flow Logs and CloudTrail commands.
* Added section about the Shared Responsibility Model.
* Added section about the Shared Responsibility Model.

## [1.4.1b] - 2021-08-24

### Added
* Condition statements for if no options were selected during Dry Run and Cleanup modes.
4 changes: 4 additions & 0 deletions assisted_log_enabler.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,15 @@ def assisted_log_enabler():
ALE_cleanup_single.run_vpcflow_cleanup()
elif args.single_all:
ALE_cleanup_single.lambda_handler(event, context)
else:
logging.info("No valid option selected. Please run with -h to display valid options.")
elif args.mode == 'dryrun':
if args.single_account:
ALE_dryrun_single.lambda_handler(event, context)
elif args.multi_account:
ALE_dryrun_multi.lambda_handler(event, context)
else:
logging.info("No valid option selected. Please run with -h to display valid options.")
else:
print("No valid option selected. Please run with -h to display valid options.")

Expand Down

0 comments on commit d485364

Please sign in to comment.