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
| Reason | What it means |
|---|---|
| No owner or code | It can't find the Terraform, CloudFormation, CDK or Pulumi that defines the resource |
| No evidence | Flow logs, access logs or last-accessed data are off, empty or unreadable |
| Computed value | The rule, CIDR or policy is built at runtime and can't be mapped to a line of your code |
| Plan scope | The plan changes more than the fix, or would replace the resource |
| Check failed | A required validation fails, times out or hits an auth error |
| Contract BLOCK | The 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.