Before you grant AWS access, we want to be explicit: what 6WAF accesses, what it stores, and why your infrastructure stays safe.
No stored credentials
IAM Role + External ID. We never store keys.
No changes to your resources
The Audit Role reads configuration; it only writes Well-Architected Tool notes and runs drift checks.
External ID
Protects against the Confused Deputy attack.
Instant revocation
Delete the IAM Role → 6WAF loses access immediately.
You deploy the IAM Roles into your own AWS account. 6WAF never holds AWS credentials directly — we use STS AssumeRole with a unique per-tenant External ID.
FinOpsAuditRoleSecurity scan, cost data read, Correlation evidence
✓ Can do
✗ Cannot do
FinOpsSchedulerRoleStop/Start EC2 and RDS on schedule (optional)
✓ Can do
✗ Cannot do
FinOpsCleanupRoleDelete orphaned resources (optional, only when Cleanup is enabled)
✓ Can do
✗ Cannot do
FinOpsRemediationRole1-Click Remediation (optional) — runs only when the account owner approves each finding
✓ Can do
✗ Cannot do
FinOpsRealtimeEventsRoleForward real-time events to 6WAF (optional, off by default, Pro and up) — used by EventBridge; 6WAF does not assume it
✓ Can do
✗ Cannot do
🔒 FinOpsAuditRole's 3-layer security model
AWS SecurityAudit (Managed Policy)
An AWS-managed policy intended for security auditing tools. It lets us read the configuration metadata of AWS services. It does not include GetSecretValue, GetObject or GetParameter, and the DENY layer below hard-blocks them anyway.
FinOpsDenyDataAccess (DENY Policy — hard firewall)
A DENY policy is evaluated before any Allow policy by AWS IAM — DENY always wins. It hard-blocks 24 data-reading actions:
✗ secretsmanager:GetSecretValue
✗ secretsmanager:BatchGetSecretValue
✗ ssm:GetParameter
✗ ssm:GetParameters
✗ ssm:GetParametersByPath
✗ ssm:GetParameterHistory
✗ s3:GetObject
✗ s3:GetObjectVersion
✗ kms:Decrypt
✗ dynamodb:GetItem
✗ dynamodb:BatchGetItem
✗ dynamodb:Query
✗ dynamodb:Scan
✗ lambda:GetFunction
✗ logs:GetLogEvents
✗ logs:FilterLogEvents
✗ logs:StartQuery
✗ logs:GetQueryResults
✗ ec2:GetPasswordData
✗ ec2:GetConsoleOutput
✗ ec2:GetConsoleScreenshot
✗ athena:GetQueryResults
✗ ecr:BatchGetImage
✗ ecr:GetDownloadUrlForLayer
Even if AWS expands SecurityAudit in the future, these actions stay permanently blocked by the DENY policy.
FinOpsAuditExplicit (Additional permissions)
Adds Cost Explorer (13 actions), CloudTrail, GuardDuty, AWS Backup, CloudFormation drift detection, the Well-Architected Tool and extra read actions for the Cost Audit — needed for the FinOps and Correlation features.
External ID mechanism: every tenant has a unique External ID (UUID). The IAM trust policy requires it to match on AssumeRole — even if an attacker knows your Role ARN, they cannot impersonate 6WAF without the correct External ID. This is the AWS-recommended defence against the Confused Deputy attack. Since template 2026.11 the trust policy also checks aws:PrincipalArn: only 6WAF's two scanning roles (the scan Lambda and the Prowler task) can assume your roles, not any other identity in the 6WAF account.
Why do we need CloudTrail and GuardDuty?
6WAF has an AI cost–security correlation feature: when AWS spend rises abnormally, it checks CloudTrail and GuardDuty to determine whether the spike is tied to a security incident (e.g. cryptomining, data exfiltration, account takeover).
CloudTrail (3 actions)
LookupEvents — reads recent API events. DescribeTrails / GetTrailStatus — checks whether a trail is enabled. Read-only: cannot create, delete or stop trails.
GuardDuty (3 actions)
ListDetectors / ListFindings / GetFindings — reads open findings. Cannot archive, dismiss or create findings.
If GuardDuty isn't enabled in your account or has no findings, Correlation still works normally — CloudTrail and GuardDuty are supplementary evidence sources, not requirements.
On every Fast Scan, 6WAF also reads open findings from GuardDuty, Security Hub, Inspector and IAM Access Analyzer and shows them in the "From AWS security services" tab of the Security page (free). 6WAF only reads them: it never changes settings, turns these services on or off, archives or edits their findings, and it does not count them in the Security Score.
AWS Well-Architected Tool — 11 actions (optional, your decision)
The Well-Architected Review feature lets 6WAF create a workload and pre-fill notes on each WAT question from your scan results — replacing 2–3 hours of manual interviews with an SA. It is optional: it only runs if you open the Well-Architected Review page yourself.
6 WAF READ actions
GetWorkload— read workload detailsListWorkloads— list existing workloadsListAnswers— read questions and answersGetLensReview— read review results per pillarListMilestones— list milestonesGetConsolidatedReport— read the consolidated report5 WAF WRITE actions
CreateWorkload— create a new workload (idempotent)AssociateLenses— attach the WAF lens to the workloadUpdateAnswer— fill NOTES into WAT questionsCreateMilestone— create a point-in-time snapshotTagResource— apply the CreatedBy=6WAF tagImportant: 6WAF only fills in the Notes field on WAT questions — it never ticks the "best practice in place" checkbox. Confirming each best practice is the reviewer's / consultant's decision. The workload is created in your own AWS account, not 6WAF's — you stay fully in control and can delete it at any time.
✓ We STORE
✗ We do NOT store
AI analysis: AI explanations use Anthropic's API (Claude). What is sent: finding titles, severities, resource types and regions, cost-anomaly figures, and — for AI Chat — your question plus lookup results with credentials redacted. Details in the Privacy Policy.
Data residency note: scan data is stored in AWS ap-southeast-1 (Singapore). If you need data to stay inside your own account (data sovereignty), contact us about the BYOC deployment mode — the entire stack is deployed into your account.
| Cost Audit, Fast Scan and Deep Scan results | 30 days |
| Deep Scan (Prowler) result files | 90 days |
| Shared report links | 1–90 days, your choice (default 30) |
| Cost anomaly events, correlation results | 90 days |
| Digital Twin snapshots | 90 days |
| Savings history | 365 days |
| Application logs (emails masked) | 90 days |
| Password-reset tokens (hashed) | 30 minutes |
| Account, settings, resource inventory | Until you delete your account |
Deleting your account (Settings → Delete account) removes the data tied to it right away, without waiting for it to expire. Details in the Privacy Policy.
Event name = AssumeRole. Every time 6WAF enters your account is one event, whose resource is one of the roles FinOpsAuditRole, FinOpsSchedulerRole, FinOpsCleanupRole or FinOpsRemediationRole (if you installed it).User name with the session name shown in the AssumeRole event from step 2. Each kind of job uses its own name:FinOpsAudit, FinOpsAudit-…: Cost Audit and other read jobsFinOpsSec-…: security Fast ScanProwlerAssessmentSession: Deep Scan (Prowler)6WAFWellArchitected, 6WAFWatAutoSync: writes to the Well-Architected Tool6WAFRemediation: 1-click fixes you approvedOr with the AWS CLI:
aws cloudtrail lookup-events --region ap-southeast-1 \ --lookup-attributes AttributeKey=EventName,AttributeValue=AssumeRole \ --query "Events[?contains(CloudTrailEvent, 'FinOps')].[EventTime,Resources[?ResourceType=='AWS::IAM::Role'].ResourceName | [0]]" \ --output table
Event history keeps 90 days. To keep more, turn on a CloudTrail trail that writes to your own S3 bucket. Deleting the roles above cuts 6WAF off immediately.
If you find a vulnerability in 6WAF, email security@6waf.com with a description, steps to reproduce, the affected URL or API and the impact you observed. Vietnamese or English is fine.
Out of scope: denial of service, spam, social engineering, high-volume automated scanning, and the AWS accounts of 6WAF customers.
Machine-readable contact: /.well-known/security.txt (RFC 9116). 6WAF has no paid bug bounty programme.
AWS Certified Solutions Architect — Associate
Le Van Hung · valid until 2029-03-24
Validation number: d157dbff21fe4cd89cb1d58e19bb0faf
Each certification can be checked on the official AWS Certification verification site using the validation number above.
Encryption in Transit
All API calls use HTTPS (minimum TLS 1.2). The JWT lives in an httpOnly cookie and is never exposed to JavaScript.
Encryption at Rest
DynamoDB encrypts every table by default (AWS-owned keys). The report S3 bucket uses SSE-S3 (AES-256) with public access blocked.
Least Privilege
6WAF Lambda functions can only access named DynamoDB tables. Wildcards are used only for SES email sending, the AWS Price List API and cross-account role names — which only work where your account trusts 6WAF and the External ID matches.
You can audit us
Everything 6WAF does in your account goes through your IAM roles, so it shows up in your own CloudTrail.