Skip to content

Commit

Permalink
Merge pull request #33 from awslabs/1.4.3
Browse files Browse the repository at this point in the history
1.4.3
  • Loading branch information
hackersifu authored Nov 4, 2021
2 parents ef32e78 + 84f8c39 commit e276df7
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,9 @@

### Changed
* CloudTrail name to be more descriptive that it's created by Assisted Log Enabler for AWS.

## [1.4.3] - 2021-11-03

### Changed
* References to Team DragonCat are now referred to Customer Incident Response Team (CIRT).
* Various argparse help message to be more descriptive.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Assisted Log Enabler
Assisted Log Enabler for AWS
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ python3 assisted_log_enabler.py
█████  ██ ██  ██ ███████ ██████  ██  █████  ██████  
██     ██  ██ ██ ██   ██ ██   ██ ██  ██     ██   ██ 
███████ ██   ████ ██  ██ ██████  ███████ ███████ ██  ██ 
Joshua "DozerCat" McKiddy - Team DragonCat - AWS
Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS
Twitter: @jdubm31
Type -h for help.
Expand Down
10 changes: 5 additions & 5 deletions assisted_log_enabler.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS

import logging
import os
Expand Down Expand Up @@ -60,7 +60,7 @@ def banner():
█████  ██ ██  ██ ███████ ██████  ██  █████  ██████  
██     ██  ██ ██ ██   ██ ██   ██ ██  ██     ██   ██ 
███████ ██   ████ ██  ██ ██████  ███████ ███████ ██  ██ 
Joshua "DozerCat" McKiddy - Team DragonCat - AWS
Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS
Twitter: @jdubm31
Type -h for help.
''')
Expand All @@ -75,14 +75,14 @@ def assisted_log_enabler():
output_handle.setFormatter(formatter)

parser = argparse.ArgumentParser(description='Assisted Log Enabler - Find resources that are not logging, and turn them on.')
parser.add_argument('--mode',help=' Choose the mode that you want to run Assisted Log Enabler in. Available modes: single_account, multi_account. WARNING: For multi_account, You must have the associated CloudFormation template deployed as a StackSet. See the README file for more details.')
parser.add_argument('--mode',help=' Choose the mode that you want to run Assisted Log Enabler in. Available modes: single_account, multi_account, cleanup, dryrun. WARNING: For multi_account, You must have the associated CloudFormation template deployed as a StackSet. See the README file for more details.')

function_parser_group = parser.add_argument_group('Service Options', 'Use these flags to choose which services you want to turn logging on for.')
function_parser_group = parser.add_argument_group('Single & Multi Account Options', 'Use these flags to choose which services you want to turn logging on for.')
function_parser_group.add_argument('--all', action='store_true', help=' Turns on all of the log types within the Assisted Log Enabler for AWS.')
function_parser_group.add_argument('--eks', action='store_true', help=' Turns on Amazon EKS audit & authenticator logs.')
function_parser_group.add_argument('--vpcflow', action='store_true', help=' Turns on Amazon VPC Flow Logs.')
function_parser_group.add_argument('--r53querylogs', action='store_true', help=' Turns on Amazon Route 53 Resolver Query Logs.')
function_parser_group.add_argument('--cloudtrail', action='store_true', help=' Turns on AWS CloudTrail.')
function_parser_group.add_argument('--cloudtrail', action='store_true', help=' Turns on AWS CloudTrail. Only available in Single Account version.')

cleanup_parser_group = parser.add_argument_group('Cleanup Options', 'Use these flags to choose which resources you want to turn logging off for.')
cleanup_parser_group.add_argument('--single_r53querylogs', action='store_true', help=' Removes Amazon Route 53 Resolver Query Log resources created by Assisted Log Enabler for AWS.')
Expand Down
2 changes: 1 addition & 1 deletion permissions/ALE_child_account_role.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS
# This sample template is for creating an IAM Role within child accounts, for the purpose of running Assisted Log Enabler across a multi-account environment.


Expand Down
2 changes: 1 addition & 1 deletion permissions/ALE_permissions_example_cleanup_single.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
// Joshua "DozerCat" McKiddy - Team DragonCat - AWS
// Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS

{
"Version": "2012-10-17",
Expand Down
2 changes: 1 addition & 1 deletion permissions/ALE_permissions_example_single_account.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
// Joshua "DozerCat" McKiddy - Team DragonCat - AWS
// Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS

{
"Version": "2012-10-17",
Expand Down
2 changes: 1 addition & 1 deletion subfunctions/ALE_cleanup_single.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS


import logging
Expand Down
2 changes: 1 addition & 1 deletion subfunctions/ALE_dryrun_multi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS


import logging
Expand Down
2 changes: 1 addition & 1 deletion subfunctions/ALE_dryrun_single.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS


import logging
Expand Down
2 changes: 1 addition & 1 deletion subfunctions/ALE_multi_account.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS


import logging
Expand Down
2 changes: 1 addition & 1 deletion subfunctions/ALE_single_account.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#// SPDX-License-Identifier: Apache-2.0
# Assisted Log Enabler for AWS - Find resources that are not logging, and turn them on.
# Joshua "DozerCat" McKiddy - Team DragonCat - AWS
# Joshua "DozerCat" McKiddy - Customer Incident Response Team (CIRT) - AWS


import logging
Expand Down

0 comments on commit e276df7

Please sign in to comment.