Concepts

When PosturaNet stops

PosturaNet fails closed. When it can't be sure, it opens no PR, says why, and says what to do next. A stop is the intended result, not a crash.

Why it stops

ReasonWhat it means
No owner or codeIt can't find the Terraform, CloudFormation, CDK or Pulumi that defines the resource
No evidenceFlow logs, access logs or last-accessed data are off, empty or unreadable
Computed valueThe rule, CIDR or policy is built at runtime and can't be mapped to a line of your code
Plan scopeThe plan changes more than the fix, or would replace the resource
Check failedA required validation fails, times out or hits an auth error
Contract BLOCKThe change would drop something the contract says must stay allowed

What a stop looks like

Result   STOPPED · no PR opened (PosturaNet never changes a resource without usage evidence)
Next     → enable VPC flow logs on the VPC, or pass --evidence-file

Stopped. No PR opened.

A stop exits 3, so CI can tell it apart from a failure. UNKNOWN is a valid answer: PosturaNet never guesses a file, an owner or a rule to keep going.

Approving a stop

Some IAM stops are about items a person can confirm, such as iam:PassRole, which last-accessed data can't see. At an interactive terminal, fix asks about each item; once you confirm, it continues. In CI it stays stopped.

What to do next

  • Turn on the logs the stop names, wait for some history, and run again.
  • Point it at the code with --repo, or set the root in .posturanet.yml.
  • Replace a computed value with a literal, or make the change by hand: the PR body and runbook say what to change.
  • Accept the risk with an exception in .posturanet/exceptions.yaml, so the finding ends with a stated reason.
Next: Before data is deleted