Commit Graph

133 Commits

Author SHA1 Message Date
carnal0wnage
d9d25fa442 module to list ec2 public ips 2019-05-30 13:44:05 -04:00
carnal0wnage
1a712a8299 update a module to say Elastic as it doesnt the ec2 public ip, but the elastic ip 2019-05-30 10:10:43 -04:00
carnal0wnage
8dec167c7a add userdata check for ec2 2018-11-29 19:46:36 -05:00
Ken Johnson
83d8d45f95 Merge pull request #63 from jamiesonio/master
Fix spacing
2018-09-25 21:59:31 -04:00
jamiesonio
b0b372452b Fix typo 2018-09-25 21:48:14 -04:00
Ken Johnson
453b17a321 Merge pull request #58 from relotnek/stsroles
Added functionality that looks for Roles that are assumable by AWS Principals
2018-09-25 21:41:11 -04:00
jamiesonio
e59c07c1a0 Changes to describe_instances / describe_instances_basic:
Add error handling for OptInRequired
Continue on region error
2018-09-25 21:20:32 -04:00
cktricky
66291a7031 restructuring libs to be a bit more sane in terms of schema and so that we can split between aws and gcp 2018-09-25 17:38:50 -04:00
cktricky
d2075c3943 fix so that files like .keep are not imported 2018-09-25 17:38:50 -04:00
cktricky
126cb6bb5f woohoo, can still invoke commands 2018-09-25 17:38:50 -04:00
cktricky
188cbec811 still futzing around 2018-09-25 17:38:50 -04:00
cktricky
f94482eb28 Fixes issue #50 2018-09-25 17:38:50 -04:00
Kenneth Toler
159a9d862c added roles assumable
commenting assumable role functionality

removed hardcoded region from roles assumable
2018-09-25 17:38:46 -04:00
cktricky
dc3c20a937 restructuring libs to be a bit more sane in terms of schema and so that we can split between aws and gcp 2018-09-25 17:03:38 -04:00
cktricky
7d04eaea7b fix so that files like .keep are not imported 2018-09-20 09:57:03 -04:00
cktricky
16f11bbd8c woohoo, can still invoke commands 2018-09-14 12:30:01 -04:00
cktricky
cec955c3c8 still futzing around 2018-09-14 11:52:27 -04:00
cktricky
b59f75abbf Fixes issue #50 2018-06-03 00:14:27 -04:00
Ken Johnson
e66a273277 Merge pull request #49 from cclauss/patch-2
Resolve undefined name 'region'.  Use AWS_ACCESS_KEY_ID
2018-05-23 20:53:17 -03:00
cclauss
7ceea49e4d Resolve undefined name 'region'. Use AWS_ACCESS_KEY_ID
__region__ is an _undefined name_ in this context so this PR recommends using __AWS_ACCESS_KEY_ID__ instead.

flake8 testing of https://github.com/carnal0wnage/weirdAAL on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./libs/aws_lambda.py:135:86: F821 undefined name 'region'
            print("[-] GetAccountSettings allowed for {} but no results [-]" .format(region))
                                                                                     ^
./libs/s3.py:289:54: F821 undefined name 'file'
            print("{} object does not exist.".format(file))
                                                     ^
2     F821 undefined name 'region'
2
```
2018-05-24 00:10:12 +02:00
cclauss
e97bd9ab22 Typo in variable name: file --> source_file
Should solve one undefined name in flake8 testing of https://github.com/carnal0wnage/weirdAAL on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./libs/aws_lambda.py:135:86: F821 undefined name 'region'
            print("[-] GetAccountSettings allowed for {} but no results [-]" .format(region))
                                                                                     ^
./libs/s3.py:289:54: F821 undefined name 'file'
            print("{} object does not exist.".format(file))
                                                     ^
2     F821 undefined name 'region'
2
```
2018-05-23 23:58:23 +02:00
Chris Gates
76e08f58ed Update sts.py
ref https://github.com/carnal0wnage/weirdAAL/pull/46#pullrequestreview-122111997
2018-05-22 06:48:03 -04:00
cclauss
34ea04ad36 import sys for sys.exit() 2018-05-22 07:30:27 +02:00
Chris Gates
cf89388c82 Merge pull request #44 from carnal0wnage/sns
Sns
2018-05-20 08:49:12 -04:00
cktricky
1ed839cfda so you can delete SNS topics 2018-05-19 23:05:17 -03:00
cktricky
77f99e34ff cool, now we can delete sns topics 2018-05-19 22:00:31 -03:00
cktricky
236bb19063 added the ability to list topics in each region as well as list all subscribers for a topic 2018-05-17 22:15:49 -04:00
carnal0wnage
9742a6fb99 s3 updates 2018-05-17 20:10:19 -04:00
carnal0wnage
7f6ad7a02f lightsaile pep8 2018-05-17 19:43:56 -04:00
carnal0wnage
eb6665c09b upload/download files 2018-05-17 19:27:15 -04:00
carnal0wnage
ac812ff970 lightsail module starter 2018-05-17 19:11:21 -04:00
carnal0wnage
acea7a4dd6 s3 clean up and porting 2018-05-17 18:18:18 -04:00
carnal0wnage
e5ecdae1e4 fixes #29 2018-05-09 20:37:50 -04:00
carnal0wnage
5cc626d6b2 exit on cred check - ec2 errors for bad keys 2018-05-08 12:03:57 -04:00
carnal0wnage
1c633fe216 pep8 and documentation 2018-05-02 22:44:58 -04:00
carnal0wnage
fa6400ee41 db updates and an iam function 2018-05-01 19:21:21 -04:00
carnal0wnage
32ec7ae4fb add the ability to stop an instance...dry run 2018-05-01 14:15:56 -04:00
carnal0wnage
53769f50a3 cloudfront 2018-04-30 20:56:02 -04:00
carnal0wnage
dcc98a88b8 ec2 updates for error handling 2018-04-26 23:56:07 -04:00
carnal0wnage
137ca0ef61 remove a print statemetn 2018-04-26 22:54:59 -04:00
Chris Gates
b9cc16da46 Merge pull request #36 from carnal0wnage/config_service_check
Config service check
2018-04-26 16:56:03 -04:00
cktricky
f0a3ea9fe0 added the ability to delete recorders and rules from Config service 2018-04-26 12:53:49 -04:00
cktricky
56d01a0aaa this is printing much prettier than before 2018-04-26 11:46:05 -04:00
cktricky
4e7891e668 creating two separate functions 2018-04-26 10:53:59 -04:00
cktricky
8cc7331e75 working thru this but still testing 2018-04-25 00:00:00 -04:00
carnal0wnage
53c89be8dd pep8 fixes 2018-04-24 21:40:16 -04:00
carnal0wnage
a5adb1def9 lambda update for get function and broken error handling in ec2 2018-04-24 21:10:30 -04:00
Chris Gates
39b86b431d ec2 updates for getting launchable and owned AMIs 2018-04-24 14:38:00 -04:00
carnal0wnage
84fdf85a11 pep8 fixes 2018-04-23 21:04:48 -04:00
carnal0wnage
f9dc173da3 documentation and pep8 2018-04-23 19:50:33 -04:00