documentation and rm'ing the key piece
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
'''
|
||||
data pipeline example
|
||||
datapipeline modules
|
||||
'''
|
||||
|
||||
from libs.datapipeline import *
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
def step_datapipeline_list_pipelines():
|
||||
list_pipelines(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
'''
|
||||
List Pipelines
|
||||
'''
|
||||
list_pipelines()
|
||||
|
||||
@@ -2,13 +2,15 @@
|
||||
queries that interact with db can go here
|
||||
'''
|
||||
|
||||
|
||||
import boto3
|
||||
import sqlite3
|
||||
from sqlite3 import Error
|
||||
|
||||
from libs.sql import *
|
||||
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
session = boto3.Session()
|
||||
credentials = session.get_credentials()
|
||||
AWS_ACCESS_KEY_ID = credentials.access_key
|
||||
|
||||
# for a key, what services does it have listed in the DB
|
||||
def step_show_services_by_key():
|
||||
|
||||
@@ -5,6 +5,7 @@ from libs.s3 import *
|
||||
|
||||
|
||||
def step_recon_all():
|
||||
get_accountid()
|
||||
check_root_account()
|
||||
brute_acm_permissions()
|
||||
# AlexaForBusiness
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
This file is used to perform some EMR actions
|
||||
'''
|
||||
from libs.sts import *
|
||||
from config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
|
||||
|
||||
|
||||
|
||||
def step_sts_get_accountid():
|
||||
get_accountid(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
get_accountid()
|
||||
|
||||
def step_sts_get_accountidall():
|
||||
get_accountid_all(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
|
||||
get_accountid_all()
|
||||
Reference in New Issue
Block a user