Skip to content

Commit

Permalink
Merge pull request #519 from 0xdabbad00/resolve_apigateway_collection…
Browse files Browse the repository at this point in the history
…_issue

Resolve apigateway collection issue
  • Loading branch information
0xdabbad00 authored Aug 9, 2019
2 parents 1000a77 + 63784f8 commit 3b8022c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ CloudMapper helps you analyze your Amazon Web Services (AWS) environments. The

# Commands

- `api_endpoints`: List the URLs that can be called via API Gateway.
- `audit`: Check for potential misconfigurations.
- `collect`: Collect metadata about an account. More details [here](https://summitroute.com/blog/2018/06/05/cloudmapper_collect/).
- `find_admins`: Look at IAM policies to identify admin users and roles, or principals with specific privileges. More details [here](https://summitroute.com/blog/2018/06/12/cloudmapper_find_admins/).
Expand Down
2 changes: 1 addition & 1 deletion cloudmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import pkgutil
import importlib

__version__ = "2.6.4"
__version__ = "2.6.5"


def show_help(commands):
Expand Down
10 changes: 5 additions & 5 deletions collect_commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@
Parameters:
- Name: restApiId
Value: apigateway-get-rest-apis.json|.items[]?|.id
- Service: apigateway
Request: get-deployments
Parameters:
- Name: restApiId
Value: apigateway-get-rest-apis.json|.items[]?|.id
# - Service: apigateway
# Request: get-deployments
# Parameters:
# - Name: restApiId
# Value: apigateway-get-rest-apis.json|.items[]?|.id
- Service: apigateway
Request: get-stages
Parameters:
Expand Down
3 changes: 2 additions & 1 deletion commands/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from shared.nodes import Account, Region


__description__ = "Map API Gateway end-points"
__description__ = "[Deprecated] Map API Gateway end-points"


def api_endpoints(accounts, config):
Expand Down Expand Up @@ -50,5 +50,6 @@ def api_endpoints(accounts, config):


def run(arguments):
print("*** DEPRECARTED: Not enough of data is collected for this command to run successfully ***\n\n")
_, accounts, config = parse_arguments(arguments)
api_endpoints(accounts, config)

0 comments on commit 3b8022c

Please sign in to comment.