Skip to main content

finops-scan

Scan your AWS account for cloud waste in 60 seconds.

Free, open source, read-only. No data stored. No resources modified.

pip install finops-scan
finops-scan --demo        # see a sample report, no AWS account needed
finops-scan               # scan your own account (see credentials below)

What it does

finops-scan connects to your AWS Cost Explorer API (read-only) and produces a ranked waste report in your terminal:

  • Top services by spend — with 30-day trend (increasing/decreasing/stable)
  • Waste opportunities — ranked by estimated impact, with specific actions
  • Tag coverage score — what % of your spend has team attribution
  • Estimated savings — conservative 20% estimate of actionable waste

It works at the service level (for example "EC2 spend is up 40%"). It does not list individual idle resources by ID.

Required IAM permission

finops-scan only needs one permission:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ce:GetCostAndUsage"
      ],
      "Resource": "*"
    }
  ]
}

Create a read-only IAM user with this policy and pass the credentials to finops-scan.

Installation

pip install finops-scan

Usage

Option 1: AWS profile (safest, no keys typed)

aws configure --profile finops

# macOS / Linux
AWS_PROFILE=finops finops-scan

# Windows PowerShell
$env:AWS_PROFILE="finops"
finops-scan

Option 2: environment variables

# macOS / Linux (bash, zsh)
export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
finops-scan
# Windows PowerShell
$env:AWS_ACCESS_KEY_ID="YOUR_ACCESS_KEY"
$env:AWS_SECRET_ACCESS_KEY="YOUR_SECRET_KEY"
finops-scan

Option 3: flags

finops-scan \
  --access-key YOUR_ACCESS_KEY \
  --secret-key YOUR_SECRET_KEY \
  --region us-east-1 \
  --account-id my-company

Flags can end up in your shell history, so prefer options 1 or 2.

Try it without an AWS account

finops-scan --demo

Runs the full report on built-in sample data. Nothing is sent to AWS.

Cost of a scan

AWS bills Cost Explorer API requests (about $0.01 per request at the time of writing; check the current AWS pricing). A scan makes only a few requests, so it should cost a few cents at most.

Good to know

  • Tag coverage looks for a team tag. The tag key must be activated as a cost allocation tag in the AWS Billing console, which can take up to 24 hours. Until then, all spend counts as untagged.
  • New accounts: Cost Explorer must be enabled once in the Billing console, and data can take up to 24 hours to appear. An account with no spend reports "No cost data found".

Troubleshooting

Error Meaning Fix
UnrecognizedClientException ("security token is invalid") AWS does not recognize the credentials Re-copy the access key and secret key; check the key is active in IAM
AccessDeniedException ("not authorized to perform ce:GetCostAndUsage") Credentials are valid but the permission is missing Attach the policy shown above to the IAM user
"No AWS credentials found" Nothing to authenticate with Set AWS_PROFILE, set the environment variables, or pass the flags
"No cost data found" No spend above $0.001 in the last 30 days Normal for new or free-tier accounts; try --demo

What it does NOT do

  • Does not store any data
  • Does not modify any AWS resources
  • Does not require CUR or S3 setup
  • Does not need root AWS credentials
  • Does not send data anywhere except your terminal

Built by fynC

finops-scan is the free CLI companion to fynC — a FinOps platform for cloud and AI spend visibility.

fynC monitors your spend continuously, alerts you on anomalies, attributes costs to teams automatically, and tracks AI/LLM spend at the model level alongside cloud infrastructure costs.

Join the early access list →

License

MIT

Metadata

Release files for finops-scan 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finops-scan 0.1.5
File Size Uploaded Provenance Actions
finops_scan-0.1.5.tar.gz 15.5 kB Without provenance Details for finops_scan-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for finops-scan 0.1.5
File Interpreter ABI Platform Actions
finops_scan-0.1.5-py3-none-any.whl Python 3 none any Details for finops_scan-0.1.5-py3-none-any.whl

Total release size: 28.8 kB

Release files / finops_scan-0.1.5.tar.gz

Download URL finops_scan-0.1.5.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b0088f1c643a7e249793a37d6f5f85292580285986852b677c778a626e7f0957
BLAKE2b-256 checksum
How to use checksums
087ec92732bc80fad84ac2a50a4daeb38f6a54632be2cbcfa5afef5a363481dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / finops_scan-0.1.5-py3-none-any.whl

Download URL finops_scan-0.1.5-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52603c0c4dd55117ce6edc380847bb7ec05b993a2030b1b675630de7f5cb5a1b
BLAKE2b-256 checksum
How to use checksums
754ae06af3761541e5f9fb94ad29dae1c5119b20a0f340c1ac68b6eda8a07e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for finops-scan 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page