Skip to content

Commit ab99cd5

Browse files
committed
Initial release of awsmap v1.0.0
Fast, comprehensive AWS resource inventory tool covering 140+ services. Features: - Multi-region scanning with parallel execution - Support for 140+ AWS services and 200+ resource types - HTML, JSON, and CSV output formats - Tag collection and filtering - AWS profile and SSO support - Smart global services handling - Region-optimized collectors to avoid timeouts
0 parents  commit ab99cd5

161 files changed

Lines changed: 25199 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Git
2+
.git
3+
.gitignore
4+
5+
# Python
6+
__pycache__
7+
*.py[cod]
8+
*$py.class
9+
*.egg-info
10+
.eggs
11+
dist
12+
build
13+
*.egg
14+
15+
# Virtual environments
16+
venv
17+
.venv
18+
env
19+
20+
# IDE
21+
.idea
22+
.vscode
23+
*.swp
24+
*.swo
25+
26+
# OS
27+
.DS_Store
28+
Thumbs.db
29+
30+
# Test and coverage
31+
.pytest_cache
32+
.coverage
33+
htmlcov
34+
.tox
35+
36+
# Output files
37+
*.html
38+
*.json
39+
*.csv
40+
output/
41+
42+
# Assets and docs (not needed in image)
43+
assets/
44+
*.png
45+
*.md
46+
!README.md
47+
48+
# Local config
49+
.env
50+
.env.*

.gitignore

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.nox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
*.py,cover
48+
.hypothesis/
49+
.pytest_cache/
50+
cover/
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Environments
57+
.env
58+
.venv
59+
env/
60+
venv/
61+
ENV/
62+
env.bak/
63+
venv.bak/
64+
65+
# Spyder project settings
66+
.spyderproject
67+
.spyproject
68+
69+
# Rope project settings
70+
.ropeproject
71+
72+
# mkdocs documentation
73+
/site
74+
75+
# mypy
76+
.mypy_cache/
77+
.dmypy.json
78+
dmypy.json
79+
80+
# Pyre type checker
81+
.pyre/
82+
83+
# pytype static type analyzer
84+
.pytype/
85+
86+
# Cython debug symbols
87+
cython_debug/
88+
89+
# IDE
90+
.idea/
91+
.vscode/
92+
*.swp
93+
*.swo
94+
*~
95+
96+
# OS generated files
97+
.DS_Store
98+
.DS_Store?
99+
._*
100+
.Spotlight-V100
101+
.Trashes
102+
ehthumbs.db
103+
Thumbs.db
104+
105+
# AWS Inventory output files
106+
*_inventory_*.json
107+
*_inventory_*.csv
108+
*_inventory_*.html
109+
110+
# Local configuration
111+
.aws-inventory/
112+
113+
# Secrets and credentials (never commit these!)
114+
*.pem
115+
*.key
116+
credentials.json
117+
secrets.yaml
118+
.env.local
119+
.env.*.local

Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM python:3.11-slim
2+
3+
LABEL maintainer="Tarek CHEIKH <tarek@tocconsulting.fr>"
4+
LABEL description="A fast, comprehensive tool for mapping and inventorying AWS resources across 140+ services"
5+
LABEL version="1.0.0"
6+
7+
# Set environment variables
8+
ENV PYTHONDONTWRITEBYTECODE=1
9+
ENV PYTHONUNBUFFERED=1
10+
11+
# Set working directory
12+
WORKDIR /app
13+
14+
# Copy project files
15+
COPY pyproject.toml README.md LICENSE ./
16+
COPY src/ ./src/
17+
18+
# Install the package
19+
RUN pip install --no-cache-dir .
20+
21+
# Create output directory
22+
RUN mkdir -p /app/output
23+
24+
# Default entrypoint
25+
ENTRYPOINT ["awsmap"]
26+
27+
# Default command (show help)
28+
CMD ["--help"]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Toc Consulting
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)