Concepts

Evidence

PosturaNet narrows access only where it has seen how the resource is used. With no evidence, it stops instead of guessing.

What it reads

FixEvidence
Security group ingressVPC flow logs: every source that connected, with its ports and how often
S3 public accessThe bucket's settings and policy, and its server access logs
IAM least privilegeIAM last-accessed data; optionally CloudTrail Lake history (evidence.cloudtrail_lake)
74 settings controlsNone needed: the setting can't remove access, or the PR says what to check first

Every call is a read through the allowlist posturanet init prints as an IAM policy. Nothing leaves your account: PosturaNet runs in your CI or on your laptop.

The window

By default PosturaNet reads everything your logs keep, up to 400 days: the window starts where the logs do. Set a shorter one with --window 90d or evidence.window_days. IAM last-accessed data goes back about 400 days. CloudTrail Lake can go further (lookback_days defaults to 730); Lake queries are billed per GB scanned, so it is off until you turn it on.

# .posturanet.yml
evidence:
  cloudtrail_lake:
    enabled: true
    event_data_store: arn:aws:cloudtrail:us-east-1:123456789012:eventdatastore/EXAMPLE
    lookback_days: 730

What it can't see

Behavior rarer than once per window isn't observed: a yearly batch job, a disaster-recovery path never exercised. Every run and every PR states its window, its confidence and these unknowns, so the reviewer knows what to check. Rare or outside sources are flagged for the owner instead of being silently kept or dropped.

Offline

Pass exported logs with --evidence-file to build the contract and the diff without calling AWS. The fixtures in the repository show the format.

$ posturanet fix finding.json --dry-run --evidence-file flows.json

Signed audit evidence (Team)

With a Team key, evidence record keeps a hash-chained record of each fix, signed with a key you own, and evidence export writes it as OSCAL mapped to SOC 2, ISO 27001, CIS AWS or NIST 800-53. An auditor can check the records with posturanet evidence verify, which needs no license key; it exits 4 if anything was changed.

Next: When PosturaNet stops