pep8 and documentation
This commit is contained in:
@@ -5,16 +5,32 @@ from libs.cloudtrail import *
|
||||
|
||||
|
||||
def module_cloudtrail_describe_trails():
|
||||
'''
|
||||
Describe CloudTrail trails
|
||||
python3 weirdAAL.py -m cloudtrail_describe_trails -t demo
|
||||
'''
|
||||
describe_trails()
|
||||
|
||||
|
||||
def module_cloudtrail_list_public_keys():
|
||||
'''
|
||||
List public keys associated with the CloudTrail account
|
||||
python3 weirdAAL.py -m cloudtrail_list_public_keys -t demo
|
||||
'''
|
||||
list_public_keys()
|
||||
|
||||
|
||||
def module_cloudtrail_stop_trail(TrailARN):
|
||||
'''
|
||||
Stop a specified CloudTrail ARN
|
||||
python3 weirdAAL.py -m cloudtrail_stop_trail -a arn:aws:cloudtrail:us-east-1... -t demo
|
||||
'''
|
||||
stop_trail(TrailARN)
|
||||
|
||||
|
||||
def module_cloudtrail_delete_trail(TrailARN):
|
||||
delete_trail(TrailARN)
|
||||
'''
|
||||
Delete a specified CloudTrail ARN
|
||||
python3 weirdAAL.py -m cloudtrail_delete_trail -a arn:aws:cloudtrail:us-east-1... -t demo
|
||||
'''
|
||||
delete_trail(TrailARN)
|
||||
|
||||
Reference in New Issue
Block a user