Your account, your data, your control
Cavelight analyzes your AWS bill, resource configuration and metrics through a read-only IAM role that you create and can delete at any time. It cannot read the contents of your data and cannot change anything. This page states exactly what we access, how it is protected, and how to remove it.
- Read-onlyIAM role with an explicit Deny on data reads
- 0passwords or access keys requested or stored
- 3independent layers of protection
- 1 clickto revoke: delete the CloudFormation stack
Don't trust us. Verify us.
Granting a vendor access should never feel like a leap of faith. Each point below is something you can check yourself in your own AWS account.
-
Only Cavelight can use your role, and only for you
Your role trusts a single identity: the Cavelight analyzer in our AWS account
757960214848(Larson Development LLC). We publish this account number on purpose, so you can confirm it. AWS account numbers are identifiers, not passwords, and give no access on their own.Every request must also present your External ID, which is unique to your organization and shown in the app, so our access can never be used to reach any other customer's account.
Protect yourself from impostors: if anyone asks you to create a role that trusts a different account, it did not come from us. Contact info@larsdev.com.
-
Read the template first, then check the role afterward
Read the exact template before you deploy it. Afterward, open IAM > Roles > CostOptimizerReadOnly:
- Trust relationships: only
757960214848, roleCostOptimizerAnalyzer, with conditionsts:ExternalId= your External ID. - Permissions:
ViewOnlyAccessplus the inline policyCostOptimizerReadOnlyExtras, which contains theDenyDataPlaneAndCodestatement and aSelfCheckIsReadOnlystatement (policy simulation and policy reads scoped to this role only), which lets the app confirm when you connect that the role grants no write or data access. - Last activity (Access Advisor tab): which services we actually read, and when.
- Trust relationships: only
-
Every call we make is in your CloudTrail
Every call made with your role is recorded in your own AWS CloudTrail, under the assumed-role identity
arn:aws:sts::<your account>:assumed-role/CostOptimizerReadOnly/cavelight-<session>. We use these session names:Session names you will see in CloudTrail Session name When cavelight-verifyVerifying the connection (a short list of read-only checks) cavelight-orgListing your organization's accounts (Organization connections only) cavelight-<analysis ID>One analysis: cavelight-followed by the analysis ID shown in the app.To audit us: open CloudTrail > Event history in the region you are checking (global services such as IAM and STS log to US East (N. Virginia)), choose the lookup attribute User name, and enter a session name, for example
cavelight-verify. For a complete view across regions, query a CloudTrail trail or CloudTrail Lake for events whereuserIdentity.arncontains:assumed-role/CostOptimizerReadOnly/cavelight-. Sessions started before December 2, 2026 used the earlier prefixaco-(for exampleaco-verify), so include it when you look further back. You will see read calls only (Describe,List,Getand similar), theAssumeRoleevent that starts each session, andiam:GenerateServiceLastAccessedDetails, which asks IAM to prepare a read-only "last used" report. Event history keeps 90 days of management events. If you chose a custom role name, use it in place ofCostOptimizerReadOnly. -
Revoke in one step
Delete the
CostOptimizerReadOnlyCloudFormation stack (or the StackSet and the management-account stack for an Organization). The role is gone, and from that moment we can no longer assume it.In the AWS console: CloudFormation > Stacks, select
CostOptimizerReadOnly, choose Delete. You do not need to tell us first, and nothing else in your account depends on the role. Reports you already downloaded or unlocked stay available in the app until you delete them or they expire (see retention). -
We will never ask for credentials
We will never email, call or message you to ask for passwords, access keys, secret keys, MFA codes or console sign-in. Cavelight never needs them. If anyone claiming to be Cavelight or Larson Development asks, do not respond, and report it to info@larsdev.com.
What Cavelight can and cannot see
In plain English, taken from the statements in the template. The last column names the part of the template that grants or denies it, so you can check each line yourself.
| In your account | Can Cavelight see it? | Where in the template |
|---|---|---|
| Your bill: costs by service, account, region and charge type; Savings Plans, budgets and AWS's own savings recommendations (Trusted Advisor, Compute Optimizer, Cost Optimization Hub) | Yes, read only | BillingAndCost (for example ce:Get*, budgets:ViewBudget, savingsplans:Describe*) |
| Your accounts and regions: the account list of your AWS Organization and which regions are enabled | Yes, read only | BillingAndCost (organizations:List*, organizations:Describe*, account:ListRegions) |
| What resources exist and how they are configured: types, sizes, states, settings, tags and how they connect | Yes, read only | ViewOnlyAccess and MetadataAndMetrics (Describe, List and configuration Get calls) |
| Usage metrics, such as CPU, connections and requests over time | Yes, read only | MetadataAndMetrics (cloudwatch:GetMetricData, cloudwatch:GetMetricStatistics) |
| Activity signals: recent management events in CloudTrail, when IAM roles and access keys were last used | Yes, read only | MetadataAndMetrics (cloudtrail:LookupEvents, iam:GetServiceLastAccessedDetails, iam:GetAccessKeyLastUsed) |
| Dashboard layouts, log delivery settings and AWS Batch capacity settings (template version 2) | Settings only: which metrics a dashboard shows, where logs such as VPC flow logs are delivered, Batch minimum vCPUs and job names and states. Never log contents or job inputs. | MetadataAndMetrics (cloudwatch:GetDashboard, logs:DescribeDeliveries, logs:DescribeDeliverySources, logs:DescribeDeliveryDestinations, batch:DescribeComputeEnvironments, batch:DescribeJobQueues, batch:ListJobs). Stacks deployed before version 2 keep working; the connection check suggests a stack update to turn on these extra checks. |
| Secrets, keys and log groups | Names and settings only, never the values or contents | Allowed: secretsmanager:ListSecrets, kms:DescribeKey, logs:DescribeLogGroups. Denied: see the rows below. |
| Files and object contents in S3 | No | DenyDataPlaneAndCode (s3:GetObject and related) |
| Database rows and items, and query results | No | DenyDataPlaneAndCode (dynamodb:GetItem, dynamodb:Query, dynamodb:Scan, rds-data:*, athena:GetQueryResults and related) |
| Secret values, parameter values and decryption | No | DenyDataPlaneAndCode (secretsmanager:GetSecretValue, ssm:GetParameter*, kms:Decrypt) |
| Log contents | No | DenyDataPlaneAndCode (logs:GetLogEvents, logs:FilterLogEvents, logs:StartQuery) |
| Queue messages and stream records | No | DenyDataPlaneAndCode (sqs:ReceiveMessage, kinesis:GetRecords) |
| Function code, container images, source code and CloudFormation templates | No | DenyDataPlaneAndCode (lambda:GetFunction, ecr:BatchGetImage, codecommit:GetFile, cloudformation:GetTemplate) |
| EC2 passwords, console output and screenshots | No | DenyDataPlaneAndCode (ec2:GetPasswordData, ec2:GetConsoleOutput, ec2:GetConsoleScreenshot) |
| Running your functions, models or endpoints | No | DenyDataPlaneAndCode (lambda:InvokeFunction, bedrock:InvokeModel, sagemaker:InvokeEndpoint) |
| Creating, changing or deleting anything | No | No statement allows a write action. ViewOnlyAccess has none, and the only non-read call, iam:GenerateServiceLastAccessedDetails, only asks IAM to prepare a "last used" report. |
What we keep is narrower than what the role can see. Some AWS list and describe responses carry more than an analysis needs. For example, AWS returns a Lambda function's environment variables with its settings, and a launch template version can include its user data. Our collectors keep only the fields the analysis uses (for a Lambda function: runtime, memory, timeout, architecture, package type and code size; for a launch template: its machine images and instance types), and redaction runs before anything is stored.
Start with a sandbox account
The free scan works on any AWS account you connect, so a sandbox or other non-production account is a safe first try. You see exactly what the template creates, what our calls look like in your CloudTrail and what the preview shows, before you connect anything that matters.
- Each AWS account gets its own free scan every 30 days, so trying a sandbox first does not use up the free scan of your production account.
- An account with little spend shows a small bill and small savings. The point of a first run is to see how Cavelight works, not the numbers.
- When you are done, delete the stack, or keep it and connect your next account.
Start with billing-only access
Not ready to grant the full read-only role? Start with a smaller one. The billing-only template, /customer/CavelightBillingReadOnly.yaml, creates the same CostOptimizerReadOnly role with the same trust policy and External ID, but it can read your Cost Explorer data and nothing else. These are its only permissions:
| Action | What it reads |
|---|---|
ce:GetCostAndUsage | Costs by service, usage type, account, region and charge type |
ce:GetCostForecast | The cost forecast for this month and next month |
ce:GetSavingsPlansUtilization | How much of your existing Savings Plans is used |
ce:GetSavingsPlansCoverage | How much eligible usage your Savings Plans cover |
ce:GetReservationUtilization | How much of your existing reservations is used |
ce:GetReservationCoverage | How much eligible usage your reservations cover |
- Everything else is explicitly denied. A second statement,
DenyEverythingElse, denies every action except these six, so the role stays billing-only even if another policy is attached to it later. No resource configuration, no metrics, no data, no account or tax settings, no write access. - Our side enforces it too. A billing-only session is limited in our code to these six reads; any other call is blocked before it leaves our account.
- What you get: your spend by service and usage type, the patterns visible in the bill (for example gp2 volumes, idle public IPv4 addresses, Extended Support surcharges, NAT data processing, snapshot storage and compute without a commitment) and a savings range. The range is an estimate from billing data only, computed from your own Cost Explorer figures with stated assumptions; the full analysis confirms each opportunity per resource.
- When you want the documents: update the same stack with the full read-only template (CloudFormation > Stacks > Update > Replace existing template). The role, its ARN and your External ID stay the same, so there is still one stack to delete to revoke everything. The full free scan then runs as usual.
- Audit it the same way: the session names in your CloudTrail are the same (
cavelight-verifyandcavelight-followed by the analysis ID), and you will see onlyAssumeRole,GetCallerIdentity(which confirms the account and needs no permission) and Cost ExplorerGetcalls.
Billing-only access is available for single AWS accounts. Organizations use the full read-only role, because listing member accounts needs it.
1 Read-only by design
Connecting an account launches one CloudFormation stack that you can read before you deploy it: /customer/CostOptimizerReadOnly.yaml. It creates one IAM role, named CostOptimizerReadOnly by default, and nothing else.
| Trust policy | Only our analyzer role (arn:aws:iam::<AnalyzerAccountId>:role/CostOptimizerAnalyzer) may assume it, and only when it presents the External ID unique to your organization. |
|---|---|
| Managed policy | arn:aws:iam::aws:policy/job-function/ViewOnlyAccess: lists and describes resources; no write actions. We deliberately do not use ReadOnlyAccess, because that policy can read S3 objects and database items. |
| Inline additions | Billing and cost reads (Cost Explorer, Budgets, Savings Plans, pricing, Organizations account lists, Trusted Advisor, Compute Optimizer, Cost Optimization Hub), CloudWatch metric reads, dashboard layouts, log delivery settings, AWS Batch capacity settings and a few configuration reads (EC2, CloudFront, WAF, Storage Gateway, DataSync). |
| Explicit Deny | Data-plane reads listed below. In IAM an explicit Deny overrides every Allow, including anything in managed policies. |
| Session length | One hour maximum. |
The explicit Deny list (copied from the template)
| Your data | Denied actions |
|---|---|
| S3 object contents | s3:GetObject s3:GetObjectVersion s3:GetObjectAcl s3:GetObjectAttributes |
| DynamoDB items | dynamodb:GetItem dynamodb:BatchGetItem dynamodb:Query dynamodb:Scan dynamodb:PartiQLSelect |
| Secrets Manager values | secretsmanager:GetSecretValue |
| SSM parameters | ssm:GetParameter ssm:GetParameters ssm:GetParametersByPath |
| Encryption keys | kms:Decrypt kms:GenerateDataKey* |
| Database and query results | rds-data:* redshift-data:GetStatementResult athena:GetQueryResults athena:StartQueryExecution |
| CloudWatch log contents | logs:GetLogEvents logs:FilterLogEvents logs:StartQuery logs:GetQueryResults |
| Streams and queues | kinesis:GetRecords kinesis:GetShardIterator sqs:ReceiveMessage |
| Lambda code and invocation | lambda:GetFunction lambda:InvokeFunction |
| EC2 passwords, consoles, user data | ec2:GetPasswordData ec2:GetConsoleOutput ec2:GetConsoleScreenshot ec2:GetLaunchTemplateData |
| Container images and source code | ecr:GetDownloadUrlForLayer ecr:BatchGetImage codecommit:GetFile codecommit:GetBlob |
| Connection credentials | glue:GetConnection glue:GetConnections |
| Model and endpoint invocation | sagemaker:InvokeEndpoint bedrock:InvokeModel bedrock:InvokeModelWithResponseStream |
| CloudFormation templates | cloudformation:GetTemplate |
The downloadable template is authoritative. If this page and the template ever differ, the template is what gets deployed.
2 Three layers of protection
Each layer works on its own. A mistake in one is caught by the others.
-
Your IAM role, with the explicit Deny
AWS itself refuses any data-plane read listed above and any write, whatever our software asks for. You own this layer and can inspect or tighten it.
-
Our in-code read-only guard
Every AWS call made with your role passes through a guard installed on the session before the call is sent. It allows only read operations (
Describe*,List*,Get*,Lookup*,Search*,BatchGet*and a few named reads such assts:GetCallerIdentity) and hard-blocks everything else. It also keeps its own data-plane denylist, which repeats the reads in the IAM Deny and adds more (for example S3 object tags, SSM parameter history and EC2 instance user data). Calls are rate-limited per service (for example 1 call per second to Cost Explorer and AWS Support) and capped per analysis, so we never compete with your production workloads for API quota. -
Automatic redaction
Customers sometimes put sensitive values into resource names, tags and descriptions. Before resource records are stored, rendered in a report or sent to the AI, we replace these with
[REDACTED]: US Social Security numbers, credit card numbers (13 to 19 digits that pass the Luhn checksum), AWS access key IDs and 40-character secret keys, private key blocks, common API tokens andpassword=ortoken:style values. Tags whose key looks sensitive (for exampledb_password,api_key,ssn,card_number) are never kept at all.
3 What we never collect
We collect resource metadata (types, sizes, settings, tags, relationships), usage metrics from CloudWatch and billing line items from Cost Explorer. Nothing else.
- File or object contents
- Database rows or items
- Secrets, parameters, passwords or keys
- Log contents
- Application or function code, container images
- Credit card or payment data
- SSNs or other personal data about your customers
- Your customer lists
4 No credentials stored
- Access uses a cross-account IAM role. We never ask for, accept or store access keys or passwords.
- Each connection gets its own External ID, unique to your organization. Only that ID unlocks your role, which prevents the "confused deputy" problem: another customer cannot get us to read your account by giving us your role ARN.
- We store only the role ARN and the External ID. Neither is a secret, and neither works without our analyzer role and your trust policy.
- Revoke access at any time by deleting the CloudFormation stack (or the StackSet for an AWS Organization). Access ends immediately.
5 Tenant isolation, enforced by AWS IAM
Every customer's data sits under its own storage prefix, tenants/<your tenant>/. Our services hold no standing access to the data bucket. To read or write your data, they assume a dedicated role with a session policy that allows only your prefix, and download links are signed with that same narrowed session. Even a bug in our code cannot read another customer's data: AWS would refuse the request.
Your tenant is taken from your verified sign-in, never from anything in the request. Every database record is keyed by tenant, and every API call is checked against your role in your organization.
6 Encryption and sign-in
- Stored analysis data is encrypted at rest with an AWS KMS key dedicated to Cavelight. Our database is encrypted at rest by AWS and has point-in-time recovery.
- Everything in transit uses TLS 1.2 or later. The storage bucket rejects non-TLS requests, and the site sits behind a web application firewall.
- Multi-factor authentication (an authenticator app) is required for every user.
- Reports download through signed links that expire after 5 minutes. Every download is recorded in your organization's audit log.
- Our logs never contain your resource names, tags, findings text or download links. Emails we send you never contain your account data. Internal alerts to our team contain only your organization name, analysis ID and headline totals (monthly bill and savings range), never resource names, tags or findings.
- No cookies, no trackers on this site. We count visits to the public pages without cookies, browser storage, identifiers or third-party scripts. Each page view sends only the page path, the referring site's host name and an optional
utm_sourcecampaign tag to our own server, which keeps anonymous daily totals (no IP address, no browser details). Do Not Track and Global Privacy Control are honored: nothing is sent. What exactly is counted ยท read the script.
7 AI processing
Powered by Claude on Amazon Bedrock. An AI agent reviews the collected metadata, classifies unknown items, writes rationale and drafts report text. It runs through Amazon Bedrock in our own AWS account, from US East (N. Virginia), using a US inference profile that keeps processing in AWS US regions.
- Amazon Bedrock does not use your data to train models, and does not share prompts or outputs with the model provider.
- Each analysis is an isolated AI session that only sees your account's data.
- The AI sees only redacted metadata, metrics and billing facts. It has no tools that change anything, and it cannot reach the data-plane reads blocked above.
- Names and tags are treated as untrusted data, kept separate from the agent's instructions. Every number in a report is checked against measured facts before release.
8 Retention and deletion
| Data | Kept for |
|---|---|
| Raw collected data (inventory and metric facts) | Deleted automatically after 30 days |
| Reports and other analysis files | Deleted automatically after 400 days |
| Replaced older file versions | Deleted automatically 30 days after replacement |
| Audit log (sign-ins, connections, downloads) | Kept for your organization's records, then expired |
You can delete at any time
- Delete an analysis: an organization administrator can delete any finished analysis in the app. Every stored file is removed, including all older versions, together with its findings, reports and lead records.
- Delete your organization's data: an administrator can delete all analyses and connections at once. Data is deleted immediately and sign-in is closed. User accounts are fully disabled within 7 days.
- What we keep for billing: for each deleted analysis we keep a minimal billing record (analysis ID, products bought, AWS Marketplace metering results and dates) so charges can be reconciled. It contains no findings, totals, account bills, names or tags. AWS Marketplace keeps its own billing records under AWS's terms.
9 Confidentiality of your stack
Your architecture, resource names, tags, account numbers and reports are your Confidential Information under our agreement.
- Never shared with other customers or third parties, except the AWS services that run Cavelight.
- Never used for marketing.
- Never used in benchmarks or aggregate statistics without your written consent.
- Anonymized case studies only with your written permission.
10 Responsibilities and limits
We are responsible for the analyzer, the guard and redaction described here, isolating and encrypting your data, deleting it on schedule or on request, and telling you promptly if we learn of a security incident affecting your data.
You are responsible for deciding which accounts to connect, keeping the role's permissions as published (or tighter), managing who in your organization has access to Cavelight, and reviewing any change before you make it. Cavelight never changes your account: remediation is a document whose commands you run yourself, with your own separate credentials.
Limits. Redaction is pattern-based and catches common formats; please do not store secrets in resource names or tags. Cavelight does not currently hold SOC 2 or ISO 27001 certification. SOC 2 is on our roadmap. We are happy to complete your vendor security questionnaire.
11 Security contact
Questions about security or this page: info@larsdev.com with "Security" in the subject.
Please include steps to reproduce and do not access other customers' data. We acknowledge reports promptly and will not pursue good-faith research.