mostly fixes to handle a root key that has perms but shit isnt actually set up
This commit is contained in:
12
modules/ce.py
Normal file
12
modules/ce.py
Normal file
@@ -0,0 +1,12 @@
|
||||
'''
|
||||
This file is used to perform various Cost Explorer operations
|
||||
usually have to be root or be specifically assigned the
|
||||
permission to get anything from this
|
||||
'''
|
||||
|
||||
from libs.ce import *
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_cost_explorer_get_cost_and_usage():
|
||||
ce_get_cost_and_usage(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
13
modules/cloudtrail.py
Normal file
13
modules/cloudtrail.py
Normal file
@@ -0,0 +1,13 @@
|
||||
'''
|
||||
This file is used to perform cloudtrail actions
|
||||
'''
|
||||
from libs.cloudtrail import *
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_cloudtrail_describe_trails():
|
||||
describe_trails(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
|
||||
|
||||
def step_cloudtrail_list_public_keys():
|
||||
list_public_keys(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
22
modules/iam.py
Normal file
22
modules/iam.py
Normal file
@@ -0,0 +1,22 @@
|
||||
'''
|
||||
IAM recon functions
|
||||
'''
|
||||
from libs.iam import *
|
||||
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_iam_list_groups():
|
||||
iam_list_groups(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
|
||||
|
||||
def step_iam_get_user():
|
||||
iam_get_user(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
|
||||
|
||||
def step_iam_get_account_summary():
|
||||
iam_get_account_summary(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
|
||||
|
||||
def step_iam_list_users():
|
||||
iam_list_users(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
@@ -4,3 +4,7 @@ from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
def step_opsworks_describe_stacks():
|
||||
describe_stacks(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
|
||||
|
||||
def step_opsworks_describe_user_profiles():
|
||||
describe_user_profiles(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
12
modules/pricing.py
Normal file
12
modules/pricing.py
Normal file
@@ -0,0 +1,12 @@
|
||||
'''
|
||||
This file is used to perform various pricing operations
|
||||
usually have to be root or be specifically assigned the
|
||||
permission to get anything from this
|
||||
'''
|
||||
|
||||
from libs.pricing import *
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_pricing_describe_services():
|
||||
pricing_describe_services(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
10
modules/route53.py
Normal file
10
modules/route53.py
Normal file
@@ -0,0 +1,10 @@
|
||||
'''
|
||||
route53 functions
|
||||
'''
|
||||
from libs.route53 import *
|
||||
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_route53_list_geolocations():
|
||||
list_geolocations(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
Reference in New Issue
Block a user