Security
You can read the policy before you grant it.
CloudWise asks you to trust it with an AWS account, so everything it can do is written down: the local scan that never leaves your machine, the read-only role the hosted product assumes, and the allow-listed writes behind an approval on the Agentic tier. The IAM policies below are excerpts of the files we ship.
01 / Local scan
Nothing leaves your machine unless you share.
The local scan runs on your machine with your own AWS credentials. No account is connected to CloudWise, and nothing is sent to us unless you choose to share a summary at the end.
The CLI has no tracking and shares only if you opt in. It refuses any AWS call that is not a read. The source is open source under the Apache License 2.0, so you can audit exactly what it calls before you run it. That covers the free CLI and MCP server; the hosted product and the partner build are not open source.
One qualification: if you run it through an MCP client, the findings go to your AI assistant like any other tool output. That is your client, not CloudWise.
- Credentials
- yours, from your own profile
- Sent to CloudWise
- nothing unless you opt in
- Telemetry
- none
- AWS calls
- reads only, others refused
- Source
- Apache-2.0, auditable
02 / For consultancies
What to tell your client's security team.
If you run the partner build on a client's AWS account, these are the five answers their security reviewer will ask for, and the one licence question that comes after them.
- 01
It runs on the consultancy’s machine.
The partner build is a local command line tool. Nothing is installed in your AWS account and no CloudWise service sits between your account and the consultancy.
- 02
It uses read-only credentials you already granted.
The consultancy scans with the profile you gave them, usually the managed ReadOnlyAccess policy or the minimal policy linked below. The tool refuses any AWS call that is not a read.
- 03
Nothing goes to CloudWise.
No findings, no resource names, no account ID, no usage data. There is no telemetry. The only network traffic is the consultancy’s own calls to AWS from its machine. If they run it through an AI assistant over MCP, the findings go to that assistant like any tool output, which is a choice the consultancy makes.
- 04
The report masks your account ID.
The client report shows only the last 4 digits of the account ID. A consultancy can opt in to the full ID. A separate mask option replaces every resource name, ID and IP address with a label, and the report is refused if anything identifying slips through.
- 05
You can check what it did.
Every call comes from the credentials you issued, so your own CloudTrail shows what the role did. Revoke the profile and the access ends.
How the Partner licence is verified
- Form
- One signed line in a file on the consultancy’s machine
- Signature
- Ed25519, checked against a public key built into the tool
- Carries
- Firm name, issue date, expiry date, licence ID
- Network calls
- None. The check is offline
- Phone-home
- None. CloudWise never learns when or where it is used
- When it ends
- After the expiry date written in the file
The check runs on the consultancy's own machine. It is not a data path to us.
03 / Hosted product
A read-only role, with an external ID.
The hosted product scans through one IAM role, CloudWise-Cost-Monitoring-Role, created by a CloudFormation stack you deploy. Only CloudWise's service role can assume it, and only with the external ID unique to your workspace.
It reads Cost Explorer, billing and usage data, and resource metadata (IDs, types, tags, states) for waste detection. It can describe, list and get. It cannot write.
It never reads:
- Application data, database contents or DynamoDB items
- S3 object contents, other than the cost report files in the bucket the stack creates for them
- Secret values or Parameter Store values
- KMS key material
- IAM credentials or policy documents
- Network traffic or application logs
It does list resource metadata, such as secret and KMS key names, ages and state, VPC endpoints and NAT gateways, and it reads the IAM account summary and its own role tags to verify setup. Every action is on the permissions page.
{
"AssumeRolePolicyDocument": {
"Statement": [{
"Effect": "Allow",
"Principal": { "AWS": "arn:aws:iam::<CloudWise>:role/cloudwise-customer-access-service-role" },
"Action": "sts:AssumeRole",
"Condition": { "StringEquals": { "sts:ExternalId": "<your per-workspace external ID>" } }
}]
},
"PolicyDocument": {
"Statement": [
{
"Sid": "AllowCostExplorerAccess",
"Effect": "Allow",
"Action": [
"ce:GetCostAndUsage",
"ce:GetDimensionValues",
"ce:GetReservationCoverage",
"... 8 more ce:Get* actions"
],
"Resource": "*"
},
{
"Sid": "AllowWasteDetectionCompute",
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"ec2:DescribeSnapshots",
"lambda:ListFunctions",
"... Describe, List and Get calls only"
],
"Resource": "*"
}
]
}
}04 / Remediation, Agentic tier
Writes are optional, narrow and approved.
Remediation is a separate stack you opt into. Delete it and the write access is gone. The model proposes a plan. Code checks it, a human approves it, and the executor runs it. That order is never inverted.
- 01
Allow-listed calls only
The executor checks every forward, pre-check and rollback call against a fixed list before anything runs. A call outside the list rejects the whole plan. The list has no IAM, VPC, security group, encryption or data-plane actions.
- 02
A human approves every write
Nothing executes without an approval from you on an action in pending review. Unapproved actions expire after 72 hours. High-risk actions are never bulk-approved.
- 03
Excluded tags are never touched
Resources tagged production, critical or do-not-delete by default, or on your excluded list, are skipped. The tags are re-read from AWS immediately before the write. If a service has no tag read the executor can use, it blocks the action rather than run it unchecked.
- 04
Snapshot first where AWS has one
For EBS, RDS, Lightsail, Redshift, ElastiCache, Neptune, DocumentDB and FSx, the snapshot is taken before the destructive step. A fix that can be reversed has a rollback button on the completed action; deleting a snapshot or an API Gateway REST API cannot be undone, so neither is offered as reversible.
- 05
15-minute sessions, never cached
Every execution assumes the remediation role fresh with a session tag carrying the approval ID. The session is capped at 15 minutes.
- 06
An audit record for every action
Approver, timestamps, the exact calls, pre-check results, snapshot IDs and errors are written for each executed action. A daily action cap and a global pause also apply.
{
"MaxSessionDuration": 3600,
"AssumeRolePolicyDocument": {
"Statement": [{
"Effect": "Allow",
"Principal": { "AWS": "arn:aws:iam::<CloudWise account>:role/cloudwise-customer-access-service-role" },
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": { "sts:ExternalId": "<your external ID>" },
"StringLike": { "aws:RequestTag/cloudwise-approval-id": "*" }
}
}]
},
"PolicyDocument": {
"Statement": [
{
"Sid": "EC2Remediation",
"Effect": "Allow",
"Action": ["ec2:StopInstances", "ec2:TerminateInstances", "ec2:RunInstances",
"ec2:DeleteVolume", "ec2:CreateSnapshot", "..."],
"Resource": "*",
"Condition": { "StringEquals": { "aws:PrincipalTag/cloudwise-action": "remediation" } }
},
{
"Sid": "DenyDangerousActions",
"Effect": "Deny",
"Action": ["iam:*", "organizations:*", "sts:*", "ssm:*",
"secretsmanager:GetSecretValue", "kms:Decrypt",
"cloudtrail:StopLogging", "guardduty:DeleteDetector",
"ec2:CreateSecurityGroup", "ec2:AuthorizeSecurityGroupIngress", "..."],
"Resource": "*"
}
]
}
}Annotated excerpt. 3600 seconds is the lowest MaxSessionDuration AWS allows; CloudWise caps each session at 15 minutes on its side.
The role's allow statements only apply when the session carries the cloudwise-action: remediation tag, and an explicit deny blocks IAM, Organizations, STS, Systems Manager, secret values, KMS use, and disabling CloudTrail or GuardDuty, whatever else is granted.
Rollback is yours to trigger, within 24 hours of a completed action. Nothing is rolled back automatically. If an action fails partway, every snapshot or backup it created is listed for you, and when CloudWise can tell how to reverse the steps that ran, you can undo just those.
05 / Data handling
What we store, and where.
| In transit | TLS 1.2 or newer. HTTPS only. |
|---|---|
| At rest | AES-256 for DynamoDB and S3, with AWS-owned or AWS-managed keys. |
| AWS credentials | We store no long-term AWS access keys. Access is by the assumed role; its short-lived read-only session credentials are cached until they expire. |
| Region | Processed and stored in AWS us-east-1 (N. Virginia). |
| Audit records | Kept while your account exists, deleted with it. |
| Our own account | CloudTrail, GuardDuty, Security Hub, Config and IAM Access Analyzer are active. |
| Certifications | None. We do not hold a SOC 2 report or any other third-party certification. |
Security questions go to security@cloudcostwise.io and get an answer within 24 hours. Critical incidents with subject URGENT, within 4 hours. How we handle personal information is in our privacy policy. The full written policy (incident response, customer responsibilities, PIPEDA) is in the security policy.