Local-first, read-only AWS audit CLI. Generate a VP/CFO-ready AWS audit report in minutes.
Project description
Kulshan
The blood test for your AWS bill.
Generate a local AWS audit report in minutes.
pip install kulshan
aws login
kulshan report
No setup. No data uploads. No infrastructure changes.
Just your AWS account and your laptop.
What is Kulshan?
Kulshan reads your AWS account and generates a business-ready report covering:
- Cost anomalies and trends
- Waste and orphaned resources
- Tag compliance and cost attribution
- Commitment health (RI/SP coverage)
- Spend forecasting and acceleration
- Security posture
- DR readiness
Think of it as a baseline before deeper FinOps work, platform evaluations, or leadership reviews.
What You Get
An HTML report you can open in a browser and hand to your VP, CFO, or platform team. Also available as JSON, SARIF, and CSV.
The report scores your account 0-100 across each dimension, highlights the top actions by dollar impact, and provides an executive summary paragraph.
Install
pip install kulshan
Requires Python 3.9+. macOS, Linux, Windows.
AWS Credentials
Kulshan uses your existing AWS CLI credentials.
Recommended:
aws login
kulshan report
If your AWS CLI does not support aws login, use:
aws sso login
or configure credentials with:
aws configure
More Commands
kulshan --version # Show version
kulshan doctor # Verify credentials and permissions
kulshan report --quick # Fast scan (3 regions, ~60s)
kulshan report -o report.html # Save as HTML
kulshan report --packs security,sweep # Run specific packs
kulshan report --packs all # Full 10-pack diagnostic
kulshan history # View past scans
kulshan shell # Interactive REPL
All 10 Audit Packs
| Pack | What it checks |
|---|---|
cost |
Cost trends, anomalies, commitments (default) |
security |
IAM, encryption, network exposure |
sweep |
Orphaned/idle resources (waste detection) |
dr |
Backup coverage, multi-AZ, single points of failure |
age |
EOL runtimes, expiring certificates |
drift |
CloudFormation drift, IaC coverage |
tag |
Tag compliance, unattributed spend |
pulse |
Observability gaps, alarm coverage |
limit |
Service quota headroom |
topo |
VPC topology, CIDR overlaps, route integrity |
kulshan report --packs cost,security,sweep --regions us-east-1
kulshan report --packs all --regions us-east-1,us-west-2
CUR/Data Export Investigations
Kulshan can investigate cost movements directly from CUR/Data Export Parquet files, both locally and from S3. No Athena, no Glue, no data warehouse required.
Local Investigation (Recommended)
# Validate CUR Parquet structure
kulshan cur validate --path ./cur/
# Inspect schema mapping
kulshan cur schema --path ./cur/
# Investigate cost top-movers across all services
kulshan investigate cost --path ./cur/ --month 2024-06
# Investigate EC2-specific movements
kulshan investigate ec2 --cur ./cur/ --month 2024-06
# Export as JSON (for AI agents) or Markdown
kulshan investigate cost --path ./cur/ --month 2024-06 -o report.json
kulshan investigate ec2 --cur ./cur/ --month 2024-06 -o report.md
S3-Native Investigation
# Check S3 readiness (no data download)
kulshan cur s3-check --s3 s3://bucket/prefix/
# Investigate from S3 via DuckDB httpfs
kulshan investigate cost --s3 s3://bucket/prefix/ --month 2024-06
Evidence Contract
All investigation outputs include a full evidence contract for AI agent trust:
human_review_required: true— always- Structured confidence assessment (not a numeric score)
- Evidence items with unique IDs for traceability
- Full provenance (schema version, kulshan version, timestamps)
- Suggested deep dives and review questions
What Investigations Include
Cost Investigation (investigate cost --path):
- Top movers by service, account, region, usage type
- Period-over-period delta with percentages
- Suggested next steps (e.g., "run investigate ec2" if EC2 is top mover)
- Review questions for finance meetings
EC2 Investigation (investigate ec2 --cur):
- Instance family, region, pricing model breakdowns
- Resource-level contributors
- Tag coverage analysis (owner, team, application tags)
- Owner candidate inference with confirmation required
Trust & Security
Read-only by design. No write permissions required. Published IAM policy included.
- 147 read-only audit actions, zero write actions
- Reports stay on your machine, no uploads
- No telemetry, no phone-home
- Open source: Apache 2.0
AWS API Cost
Typical run cost: approximately $0.15-$0.25 in AWS Cost Explorer API charges. All non-cost packs use free AWS APIs.
About the Name
Kulshan is the Lummi name for the mountain known colonially as Mt. Baker, meaning "great white watcher." We acknowledge the Lummi and Nooksack peoples as the original namers of this mountain.
Built by
Mission FinOps | Mission, BC, Canada.
AI Agents
Kulshan works with Claude Code, Codex, Kiro, Cursor, and any agent that can run shell commands. See agents/ for integration docs.
License
Apache 2.0. Free and open source forever.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kulshan-0.2.3.tar.gz.
File metadata
- Download URL: kulshan-0.2.3.tar.gz
- Upload date:
- Size: 248.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30b2e6e3423b6a822b9fba60fc1d45ec3852a928da596e83179beca97e69e057
|
|
| MD5 |
dcc73f0c6be82fade156d9e297dd9391
|
|
| BLAKE2b-256 |
718086b005216cef0ba0f1e64de772a9eaa0db45ec457054e347fc46f555c9bf
|
Provenance
The following attestation bundles were made for kulshan-0.2.3.tar.gz:
Publisher:
publish.yml on azz-kikkr/kulshan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kulshan-0.2.3.tar.gz -
Subject digest:
30b2e6e3423b6a822b9fba60fc1d45ec3852a928da596e83179beca97e69e057 - Sigstore transparency entry: 2164463929
- Sigstore integration time:
-
Permalink:
azz-kikkr/kulshan@be94b0fad924da1fb46d0ab67e1d57e2d1a27614 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/azz-kikkr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@be94b0fad924da1fb46d0ab67e1d57e2d1a27614 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kulshan-0.2.3-py3-none-any.whl.
File metadata
- Download URL: kulshan-0.2.3-py3-none-any.whl
- Upload date:
- Size: 326.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d854fca9f1fa3d1d58deea0ceca08a5e112faaaf45fd50e694af78edebc4aa
|
|
| MD5 |
78b46e28042c636f59716d8e15be5197
|
|
| BLAKE2b-256 |
4e2b9864ef124354be8743df0b3fc28ed1484bd7e6b2ecb6e12edab7a6f56a07
|
Provenance
The following attestation bundles were made for kulshan-0.2.3-py3-none-any.whl:
Publisher:
publish.yml on azz-kikkr/kulshan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kulshan-0.2.3-py3-none-any.whl -
Subject digest:
63d854fca9f1fa3d1d58deea0ceca08a5e112faaaf45fd50e694af78edebc4aa - Sigstore transparency entry: 2164463943
- Sigstore integration time:
-
Permalink:
azz-kikkr/kulshan@be94b0fad924da1fb46d0ab67e1d57e2d1a27614 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/azz-kikkr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@be94b0fad924da1fb46d0ab67e1d57e2d1a27614 -
Trigger Event:
push
-
Statement type: