Security & Trust

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.

IAM Roles — Exact permissions

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.

FinOpsAuditRole

Security scan, cost data read, Correlation evidence

✓ Can do

  • AWS SecurityAudit policy — reads configuration metadata of AWS services (not content)
  • Cost Explorer: 13 specific actions (cost, RI/SP, anomaly)
  • CloudTrail: LookupEvents, DescribeTrails, GetTrailStatus
  • GuardDuty: ListDetectors, ListFindings, GetFindings
  • Security Hub, Inspector, IAM Access Analyzer: read open findings (read access already in SecurityAudit)
  • Lambda: ListFunctions, GetFunctionConfiguration (function settings, including environment variables)
  • AWS Backup: list backup plans and protected resources
  • EventBridge Scheduler: list schedules (name, state, target ARN) — since template 2026.12.1; the schedule payload is not readable; 6WAF does not use this permission yet
  • CloudFormation: read stacks and run drift detection (DetectStackDrift)
  • Well-Architected Tool: 11 actions (read + create/annotate workloads)

✗ Cannot do

  • ✗Read secret values (secretsmanager:GetSecretValue — hard DENY)
  • ✗Read SSM parameter values (ssm:GetParameter* — hard DENY)
  • ✗Read S3 object contents (s3:GetObject — hard DENY)
  • ✗Read log contents, DynamoDB items, Lambda code, ECR images, Athena results, or decrypt with KMS (hard DENY since template 2026.11)
  • ✗Create, change or delete any resource outside the Well-Architected Tool
  • ✗Change security groups or IAM policies
  • ✗Archive, dismiss or change findings in GuardDuty, Security Hub, Inspector or Access Analyzer; turn these services on or off
  • ✗Stop or delete CloudTrail trails
FinOpsSchedulerRole

Stop/Start EC2 and RDS on schedule (optional)

✓ Can do

  • EC2 stop/start — only instances tagged Environment = dev, test, staging or development
  • RDS / Aurora stop/start — same Environment tag condition
  • EventBridge: rules named FinOps-* only
  • SSM Automation: AWS-StopEC2Instance / AWS-StartEC2Instance only

✗ Cannot do

  • ✗Stop/start resources without an Environment tag of dev/test/staging/development
  • ✗Delete any instance or database
  • ✗Access data inside instances
FinOpsCleanupRole

Delete orphaned resources (optional, only when Cleanup is enabled)

✓ Can do

  • EC2: DeleteVolume, DeleteSnapshot, DeregisterImage, ReleaseAddress
  • Elastic Load Balancing: DeleteLoadBalancer
  • ECR: BatchDeleteImage (untagged images)

✗ Cannot do

  • ✗Delete anything tagged Environment = production / prod (hard DENY)
  • ✗Delete instances or databases
  • ✗Delete S3 buckets or objects
FinOpsRemediationRole

1-Click Remediation (optional) — runs only when the account owner approves each finding

✓ Can do

  • S3: enable Block Public Access (bucket and account), default encryption, lifecycle
  • EC2: revoke 0.0.0.0/0 rules on ports 22/3389, change EBS gp2 → gp3, enable default EBS encryption
  • KMS key rotation, IAM password policy, CloudWatch Logs retention
  • CloudTrail: enable multi-region, log validation, logging; create one guardrail-6waf-cloudtrail stack when no trail exists
  • Isolate an EC2 instance during an incident (the account owner approves each instance): termination protection, a 6waf-quarantine security group (no inbound/outbound), EBS snapshots, Auto Scaling replacement suspended, incident tags; release restores the original groups. Never stops or terminates.
  • Since template 2026.12: create guardrail-6waf-* stacks for AWS Health / GuardDuty email alerts (SNS + EventBridge) and an IAM Access Analyzer — only the names 6WAF sets, always after a change set preview

✗ Cannot do

  • ✗Change security group rules / EBS volumes tagged Environment = production / prod (hard DENY). Isolating a production instance needs an extra, separate confirmation in 6WAF.
  • ✗Delete any of your resources — Delete* only works on 6WAF's own guardrail-6waf-* change sets, SNS topics, EventBridge rules and analyzer (so a failed stack can roll back)
  • ✗Create or change IAM roles or users (only exception: Access Analyzer's service-linked role, which AWS creates when the first analyzer is turned on)
FinOpsRealtimeEventsRole

Forward real-time events to 6WAF (optional, off by default, Pro and up) — used by EventBridge; 6WAF does not assume it

✓ Can do

  • events:PutEvents on one 6WAF event bus — its only permission
  • Comes with one EventBridge rule (6waf-realtime-events-forward) that forwards a fixed list of event types whole: GuardDuty severity 7 and higher, AWS Health, EC2 running/stopped/terminated, RDS availability events, stopped ECS tasks. ECS events can contain environment overrides passed to RunTask. Full list and cost: the Guide page

✗ Cannot do

  • ✗Read, create, change or delete any resource in your account
  • ✗Send events to any other bus, or be used by any other rule (the trust policy is locked to that rule name and your account)

🔒 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.

2

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.

3

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.

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 details
  • ListWorkloads— list existing workloads
  • ListAnswers— read questions and answers
  • GetLensReview— read review results per pillar
  • ListMilestones— list milestones
  • GetConsolidatedReport— read the consolidated report

5 WAF WRITE actions

  • CreateWorkload— create a new workload (idempotent)
  • AssociateLenses— attach the WAF lens to the workload
  • UpdateAnswer— fill NOTES into WAT questions
  • CreateMilestone— create a point-in-time snapshot
  • TagResource— apply the CreatedBy=6WAF tag

Important: 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.

What data is stored?

✓ We STORE

Scan results: service name, resource ID, severity (auto-deleted after 30 days)
Cost per service and per-resource savings estimates (no transaction-level detail)
Correlation and savings history (90 and 365 days)
Resource inventory: IDs, tags, relationships, network-interface private IPs and descriptions, EC2 public IPs, target-group target IPs, security-group inbound rules, load-balancer DNS names (until you delete your account)
Snapshots of the relationships between your resources (Digital Twin), one per inventory scan (90 days)
Real-time events (only if you turn them on): only a compact state derived from each event (which resource, what changed, when) is kept for 7 days; the raw event body is not stored — the receiving queue holds it for at most 4 days, then it is deleted automatically
Your email, account details, role ARN and External ID
Scan configuration: regions, alert thresholds

✗ We do NOT store

✗Your AWS Access Keys or Secret Keys
✗Secret values in Secrets Manager (hard DENY — impossible to read even if we wanted to)
✗SSM Parameter values (hard DENY — we only see parameter names, never values)
✗File contents in S3 buckets (hard DENY — metadata only)
✗Database passwords or connection strings inside EC2/RDS
✗Code inside Lambda functions
✗Lambda environment variables and network-interface MAC addresses
✗Your end-user (customer) data

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.

How long is data kept?

Cost Audit, Fast Scan and Deep Scan results30 days
Deep Scan (Prowler) result files90 days
Shared report links1–90 days, your choice (default 30)
Cost anomaly events, correlation results90 days
Digital Twin snapshots90 days
Savings history365 days
Application logs (emails masked)90 days
Password-reset tokens (hashed)30 minutes
Account, settings, resource inventoryUntil 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.

Check what 6WAF did, with CloudTrail

  1. Open the AWS Console → CloudTrail → Event history. Event history only shows the selected Region: look in ap-southeast-1 (Singapore) first, then us-east-1.
  2. Filter on 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).
  3. See which API calls 6WAF made: filter on 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 jobs
    • FinOpsSec-…: security Fast Scan
    • ProwlerAssessmentSession: Deep Scan (Prowler)
    • 6WAFWellArchitected, 6WAFWatAutoSync: writes to the Well-Architected Tool
    • 6WAFRemediation: 1-click fixes you approved
    The User name filter matches exactly, so for names ending in “…” copy the full name from the AssumeRole event. Each event shows the time, Region and API.

Or 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.

Reporting a vulnerability

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.

  • We acknowledge your report within 5 business days and keep you updated on the fix.
  • Scope: 6waf.com, app.6waf.com, api.6waf.com and the CloudFormation templates 6WAF gives customers.
  • Test only with your own 6WAF account; stop and report as soon as you reach anyone else's data.
  • Good-faith research that follows these rules will not face legal action from 6WAF.
  • Please do not publish the issue before it is fixed or 90 days after your report, whichever comes first.

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.

Team AWS certifications

AWS Certified Solutions Architect — Associate

Le Van Hung · valid until 2029-03-24

Validation number: d157dbff21fe4cd89cb1d58e19bb0faf

Verify with AWS ↗

Each certification can be checked on the official AWS Certification verification site using the validation number above.

Our security commitments

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.

6WAF — AWS cost and security audit.6WAF is not affiliated with Amazon Web Services.