Commit Graph

306 Commits

Author SHA1 Message Date
Ken Johnson
dcc62019bc Merge pull request #66 from carnal0wnage/list_modules_change
Normalized module names when listing
2018-09-28 12:40:36 -04:00
cktricky
104118b280 just changed the printout so that it looks like how you would call it from the command line 2018-09-28 09:38:30 -07: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
Ken Johnson
324e8bb565 Merge pull request #62 from jamiesonio/master
Changes to describe_instances / describe_instances_basic:
2018-09-25 21:39:51 -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
Kenneth Toler
97e6233312 Merge branch 'stsroles' of github.com:relotnek/weirdAAL into stsroles 2018-09-25 17:40:51 -04:00
cktricky
e051b80aad updated. Fixes #59 2018-09-25 17:38:50 -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
Chris Gates
180fd7cf29 Update requirements.txt
missing an =
2018-09-25 17:38:50 -04:00
cktricky
cbe44a8662 kewl printing now 2018-09-25 17:38:50 -04:00
cktricky
f49880a877 sweeeeet. now i just need the table formatted correctly and we are rockin and rollin 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
f54427dd18 listing is in progress but needed to add a .keep to the gcp folder 2018-09-25 17:38:50 -04:00
cktricky
3e48296d4e reworked the logic of modules and what not 2018-09-25 17:38:50 -04:00
cktricky
3930acdd80 removing the print debug statement 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
8e0ded67d3 more shuffling 2018-09-25 17:38:50 -04:00
Jonn Callahan
34d22d77be updated the other funcs as well 2018-09-25 17:38:50 -04:00
Jonn Callahan
4f5ad889d4 because sorting is better than not 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
Kenneth Toler
7e137d4183 Merge branch 'master' into stsroles 2018-09-25 17:11:52 -04:00
Ken Johnson
a6c8ab01f5 Merge pull request #60 from carnal0wnage/restructure
restructuring libs to be a bit more sane in terms of schema
2018-09-25 17:09:32 -04:00
cktricky
d1385751ba updated. Fixes #59 2018-09-25 17:08:47 -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
Kenneth Toler
303ba79742 removed hardcoded region from roles assumable 2018-09-25 16:31:54 -04:00
Kenneth Toler
a07d643c44 commenting assumable role functionality 2018-09-25 16:25:07 -04:00
Kenneth Toler
75ea430cef added roles assumable 2018-09-25 16:22:30 -04:00
Chris Gates
c0b20ad2de Update requirements.txt
missing an =
2018-09-25 15:51:57 -04:00
Chris Gates
4d0efca754 Merge pull request #56 from carnal0wnage/list_modules
List modules
2018-09-24 10:54:49 -04:00
cktricky
859d2e3d52 kewl printing now 2018-09-21 22:52:30 -04:00
cktricky
69526ba18c sweeeeet. now i just need the table formatted correctly and we are rockin and rollin 2018-09-21 20:59:32 -04:00
cktricky
7d04eaea7b fix so that files like .keep are not imported 2018-09-20 09:57:03 -04:00
cktricky
223ce88705 listing is in progress but needed to add a .keep to the gcp folder 2018-09-20 09:39:56 -04:00
cktricky
378135e799 reworked the logic of modules and what not 2018-09-14 20:34:46 -04:00
cktricky
677936cab5 removing the print debug statement 2018-09-14 12:30:18 -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
b00ee271ff more shuffling 2018-09-13 20:09:26 -04:00
Chris Gates
92f229ecf4 Merge pull request #53 from nvisium-jonn-callahan/master
because sorting is better than not
2018-06-28 17:15:35 -04:00
Jonn Callahan
41fc45b850 updated the other funcs as well 2018-06-27 16:15:46 -07:00
Jonn Callahan
3bff9c4aea because sorting is better than not 2018-06-27 16:07:57 -07: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
Ken Johnson
040d6ee4c3 Merge pull request #48 from cclauss/patch-1
Typo in variable name: file --> source_file
2018-05-23 20:50:34 -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