FAQ: Plans, Permissions and Data
General
What is LeftSize?
LeftSize is like Dependabot for cloud waste. A GitHub Action scans your AWS, Azure or Cloudflare account with read-only access and opens GitHub Issues for idle and orphaned resources, each with remediation steps. The Team and Business plans add upcoming service retirements and security and governance gaps.
How is LeftSize different from AWS Trusted Advisor, Azure Advisor or Infracost?
Trusted Advisor, Cost Optimization Hub and Azure Advisor show recommendations in a console or dashboard. LeftSize turns findings into GitHub Issues in the repository of the team that owns the infrastructure, with the affected resources, the estimated monthly savings, fix steps and dates for upcoming retirements, and keeps them up to date on every scan. Infracost estimates the cost of infrastructure-as-code changes before you deploy them; LeftSize looks at what is already running. They complement each other. See the comparisons on leftsize.com/compare.
What clouds does LeftSize support?
AWS (98 rules), Azure (93 rules) and Cloudflare (26 rules). All three have cost optimization, deprecation, security and governance rules. See the rules catalog.
Does LeftSize work with GitLab, Bitbucket, Azure DevOps or Jira?
LeftSize needs GitHub: the scan runs as a GitHub Action and the LeftSize GitHub App receives the findings. It can’t run in GitLab CI/CD, Bitbucket Pipelines or Azure Pipelines.
Issues can go to Jira Cloud instead of GitHub Issues, for all repositories or per repository. See Jira. LeftSize doesn’t create tickets in GitLab or Azure Boards.
Email hi@leftsize.com if you’d like support for GitLab, Azure DevOps or Bitbucket.
Does LeftSize modify my infrastructure?
No. LeftSize only reads. It queries resource configuration and metrics and never creates, changes or deletes anything. LeftSize gives the guidance; you decide what to change.
How often does LeftSize scan?
Once a day, at a time set in your workflow’s cron schedule. You can also start a scan from the Actions tab at any time.
Is the GitHub Action open source?
Yes. LeftSize/leftsize-action is MIT-licensed and built on Cloud Custodian, so you can read exactly what it checks and what it sends.
Security and privacy
What permissions does LeftSize need?
Azure: Reader and Monitoring Reader on the subscriptions you scan.
AWS: ReadOnlyAccess on the accounts you scan, or a narrower read-only policy (see AWS Setup).
Cloudflare: a read-only API token; see Which Cloudflare token permissions does LeftSize need?.
GitHub: the LeftSize GitHub App creates and updates issues in the repositories you select.
Are my cloud credentials stored anywhere?
Not with the recommended setup. The generated workflow signs in with OIDC: GitHub Actions requests a short-lived token for each run. Your repository only stores identifiers (client ID, tenant ID, role ARN), which aren’t secrets on their own, and the LEFTSIZE_REPOSITORY_TOKEN, which lets the workflow send findings to LeftSize for that repository.
Cloudflare is the exception: it has no OIDC for API tokens, so the Cloudflare scan uses a read-only API token stored as a GitHub secret. See Does Cloudflare support OIDC?.
Your cloud credentials never leave your runner, whichever way you sign in. You can also use a service principal secret or AWS access keys stored as GitHub secrets (see Azure Setup and AWS Setup); those stay in GitHub and on the runner too, but they’re long-lived and need rotating. LeftSize itself only receives the findings; see What data does LeftSize collect?.
Does Cloudflare support OIDC?
No. Cloudflare has no OIDC or workload identity federation for API tokens, so GitHub Actions can’t exchange its OIDC token for Cloudflare access. The Cloudflare scan uses a read-only API token stored as a GitHub secret. The token stays on your runner and is never sent to LeftSize. Use an account-owned token, which isn’t tied to a person, and give it a TTL so it gets renewed. See Cloudflare Setup.
Which Cloudflare token permissions does LeftSize need?
Read permissions only. Zone: Zone, Zone Settings, DNS, SSL and Certificates. Account: Account Settings, Account Analytics, Account API Tokens, Workers Scripts, Workers R2 Storage, Access: Apps and Policies, Access: Service Tokens, Access: Audit Logs, Access: Organizations, Identity Providers, and Groups, Cloudflare Tunnel, Load Balancing: Monitors and Pools. The onboarding page and Cloudflare Setup have a link that opens the Cloudflare dashboard with these filled in.
Page Rules and Registrar don’t work with account-owned tokens. The three rules that need them (Page Rules, domain expiry and domain transfer lock) need a user API token with Page Rules Read and Registrar Domains Read added. A missing permission only stops the rules that need it.
What data does LeftSize collect?
For each finding, the action sends:
- The resource ID: the Azure resource ID or AWS ARN, which includes the subscription or account ID, resource group, region and resource name; on Cloudflare the account ID and resource name (zone, Worker, bucket, token and so on)
- The rule that matched
- The names of the resource’s tags, not their values
- The configuration fields the rule uses (for example size, SKU or engine version)
- The environment LeftSize detected (production, acceptance, …) and what it was based on
- The estimated savings
Tag values stay on your runner: the action reads them there to detect the environment, but sends only tag names (since action version 1.0.29; earlier versions sent tags with their values). On Cloudflare, the Zero Trust seat rule also sends the email addresses of the users it flags; the two-factor rule sends only a count of members without two-factor authentication. LeftSize never receives credentials (such as the Cloudflare API token) or the data inside your resources. See the privacy policy for where this is stored and for how long.
Can I use LeftSize with private repositories?
Yes, and we recommend it. The workflow runs on your repository’s runner, and issues are created in your repository. On a public repository, everyone can read the issues, which list your resource names, and any GitHub user can comment @leftsize commands that close them. A private repository, for example a dedicated cloud-findings repository, keeps the findings and the commands within your team.
Why are savings shown in US dollars when we pay in euros?
LeftSize estimates savings from public list prices in US dollars and doesn’t convert them, so the amounts are comparable across clouds and regions. They are pay-as-you-go list prices: your actual bill can be lower with discounts, reservations or savings plans. See Cost estimation.
Plans and pricing
What do the plans include?
- Free ($0): issues for the 81 cost optimization rules, up to 3 repositories.
- Team ($79/month or $790/year): issues for all 219 rules, including deprecations and retirements, security and governance, up to 10 repositories, email support.
- Business ($249/month or $2,490/year): everything in Team, unlimited repositories, priority support and help with onboarding.
Team and Business are at an early-access price. See Plans and Pricing for the full comparison.
How are plans counted?
Per GitHub organization or personal account. The repository limit counts the repositories in that account for which LeftSize has stored findings. A repository whose scans have found nothing yet doesn’t count.
What happens on the Free plan with findings from paid rules?
All rules run on every plan. On the Free plan, findings from deprecation, security and governance rules show up in the scan’s job summary, but LeftSize doesn’t open issues for them.
What happens when I reach the repository limit?
A new repository over the limit is refused: its job summary says “Repository Limit Reached” and its findings aren’t stored. Repositories that were already scanned keep working.
How do I change plans?
Choose a plan on leftsize.com/#pricing. A plan applies to your whole GitHub organization or personal account from the next scan, and issues that already exist stay as they are. See Plans and Pricing.
Can I try LeftSize before paying?
Yes. Install the Free plan: the job summary also shows what the paid rules find in your account, so you can see what Team would add before upgrading.
Workflow and scanning
Can I scan multiple subscriptions or accounts?
Yes. The generated workflow has a matrix: add an entry per subscription or account and create matching secrets:
matrix:
environment: [MAIN, PROD, DEV]
See Azure Setup or AWS Setup.
Can I scan several clouds from one workflow?
Yes. Each run of the action scans one cloud, so give each cloud its own job in the same workflow: one for AWS, one for Azure, one for Cloudflare. The jobs run in parallel and each submits its own findings. Only the AWS and Azure jobs need id-token: write. A scan of one cloud never closes or resolves findings of another cloud. Each job counts toward the daily limit of 20 submissions per installation. If you prefer one job with a matrix over the clouds, that works too. See Scanning several clouds from one workflow for both, and the same, as a matrix for what the matrix changes.
Which Cloudflare accounts are scanned?
Every account the API token can read, unless you list account IDs in the CLOUDFLARE_ACCOUNT_IDS variable (passed as the cloudflare-account-ids input). Issues are grouped per Cloudflare account.
Which AWS regions are scanned?
The regions in the AWS_REGIONS repository variable (passed as the aws-regions input), or every enabled region with all. If it’s empty, only the login region is scanned, which is us-east-1 in the generated workflow.
Can I exclude specific rules?
Yes. Use the exclude-policies input with rule IDs from the rules catalog:
- name: Run LeftSize Scan
id: leftsize
uses: leftsize/leftsize-action@v1
with:
exclude-policies: leftsize-vm-scheduled-shutdown-missing,leftsize-hybrid-benefit-missing
The leftsize- prefix is optional.
Can I scan only specific categories?
Yes. Use the include-policies input:
- name: Run LeftSize Scan
id: leftsize
uses: leftsize/leftsize-action@v1
with:
include-policies: cost-optimization,security
Categories: cost-optimization, deprecation, governance, security.
How long does a scan take?
Usually a few minutes. Large accounts or many regions take longer. Each rule file stops after 30 minutes.
How much does running the scan cost?
LeftSize itself charges only the plan price. Running the scan has two small costs of its own:
- GitHub Actions minutes. Public repositories run GitHub-hosted runners for free. Private repositories use the minutes included in your GitHub plan. A scan typically takes 2 to 5 minutes per matrix job, including installing Cloud Custodian (our own AWS test account: about 2.5 minutes). Once a day, that’s roughly 60 to 150 minutes a month per job.
- Cloud API calls. Reading resource configuration (describe and list calls) is free. Usage rules read metrics: on AWS through CloudWatch
GetMetricStatistics, which is free for the first 1 million requests a month per account and $0.01 per 1,000 requests after that (US East list price); on Azure through the Azure Monitor metrics API, which includes 1 million calls per subscription per month. A typical daily scan stays well within these free allowances; an account with thousands of resources may cost a few dollars a month in CloudWatch requests.
Why did I get a finding for a resource I just created?
Most cost rules skip recently created resources, but configuration rules (for example missing tags or a retiring version) apply right away. If the finding isn’t relevant yet, snooze it with @leftsize snooze 30d.
Where do the savings estimates come from?
From the resource’s type, size and public list prices. Negotiated discounts, reservations and savings plans aren’t included, so your actual savings may be lower.
Reports
Can I get a report of my findings?
Yes. The action’s stats mode reports findings, open issues and estimated monthly savings for the repository, as markdown (summary, detailed or executive) or JSON. See Reports.
Can I use report data in other tools?
Yes. Stats mode sets step outputs such as potential-savings, currency and stats-json that later steps can use for alerts or dashboards. See Reports.
Issues and commands
How do I dismiss a finding I don’t care about?
Use @leftsize ignore Your reason to close it for good, or @leftsize snooze 3m to close it for three months. After the snooze, it comes back if the problem is still there.
What happens when I fix the underlying resource?
If you fixed only some of the resources, the next scan updates the issue to list the rest. When you’ve fixed all of them, close the issue: LeftSize doesn’t close issues itself, and it won’t reopen one you closed. If you reopen a closed issue yourself, LeftSize tracks it again from the next scan.
Can I report a false positive?
Yes. Comment @leftsize wrong Your explanation. LeftSize closes the issue and records it as a false positive. Email support@leftsize.com if you’d like us to follow up.
Do commands work on issues I create manually?
Only partly. On an issue LeftSize didn’t create, guidance commands such as explain and howto give a general answer, because LeftSize doesn’t know which finding the issue is about. snooze, ignore and wrong still close the issue. Use commands on LeftSize issues.
Who can run @leftsize commands?
Anyone who can comment on the issue. LeftSize doesn’t check repository permissions, so on a public repository any GitHub user could close your LeftSize issues. Use a private repository. See Commands.
Does mailing support@leftsize.com in a comment trigger a command?
No. Only @leftsize as a word of its own is a command. An email address such as support@leftsize.com is not.
Jira
Can LeftSize open issues in Jira instead of GitHub?
Yes, in Jira Cloud. A Jira site admin installs the LeftSize app for Jira and links the site to your LeftSize installation, then you choose a Jira project for all repositories or per repository. The GitHub Action and the GitHub App stay required. See Jira.
Do I still need the GitHub App if issues go to Jira?
Yes. The scan runs as a GitHub Action and sends its findings to LeftSize through the GitHub App installation. Only the place where issues are opened changes.
What happens to my existing GitHub issues when I switch to Jira?
They stay on GitHub unless you choose to move them. When you move them, LeftSize opens each open issue in Jira, comments on the GitHub issue with a link and closes it as not planned. Closed, snoozed and ignored issues stay on GitHub. See Moving open issues.
How do I run commands on a Jira issue?
Comment /leftsize <command>, for example /leftsize snooze 3m, or use the buttons in the LeftSize panel on the issue. See Commands in Jira.
Does closing a Jira issue count as fixed?
Closing it with a Done-category status counts as completed, and records the estimated savings as realized savings. A resolution such as Won’t Do or Duplicate counts as not planned. See Closing and reopening issues in Jira.
Support
How do I get help?
Use the Need help? form on this site, or email support@leftsize.com or hi@leftsize.com. Team includes email support; Business gets priority support.
Was this article helpful?