coreSecurity · CIS AWS · CIS Azure · CIS GCP · PCI DSS · SOC 2 · NIST 800-53 · Data Protection ·

/pluvian

Terraform governance that reads like policy
Same verdicts in your editor, CI, and agent’s loop
Get the extension

Terraform that looks right, but isn't

Your AI agent generates infrastructure. The syntax is valid. The plan passes. Then someone catches a security group open to0.0.0.0/0, or a database in a public subnet.

pluvian catches these before anyone deploys. You write rules that read like policy. The engine checks your Terraform against every rule on every save.

Rules your architect can read

The spec file is TypeScript constrained to read like English. The person accountable for a policy can review it in a pull request without trusting that a Rego specialist got it right.

spec.ts
import { rule, AwsResource, Port } from '@erkos/pluvian'

export const spec = [
  rule()
    .resource(AwsResource.SecurityGroup)
    .denyIngress(Port.SSH, Port.RDP)
    .message('SSH and RDP must not be open to the internet')
    .rationale('CIS AWS Benchmark v1.4, 5.2'),
]

144 rules ship across 8 presets. Spread them into your spec, then write your own.

One engine. Three gates.

All three read the same spec and produce the same verdicts. Your editor and your CI cannot disagree.

01In the agent's loopThe agent runs pluvian check after writing Terraform. Findings appear as text it can read and fix — before a pull request exists.
02In CIThe same command as a required status check. Or emit SARIF and see findings inline in GitHub Code Scanning.
03In your editorSave a .tf file and the squiggle appears in 500ms — VS Code, Cursor, Windsurf. The engine ships inside the extension.

See the problem while you type

The extension puts a red underline on the resource block the moment the file is saved. Same engine, same spec, same verdict as CI.

main.tf
4resource "aws_security_group" "open_ssh" {
5 name = "open-ssh-sg"
6
7 ingress {
8 from_port = 22
9 to_port = 22
10 protocol = "tcp"
11 cidr_blocks = ["0.0.0.0/0"]
12 }
13}
✗ SSH and RDP must not be open to the internetpluvian ✓ 0 · ✗ 1
0false positives
across 35+ repos
144rules shipped
across 8 presets
3,200resource types
recognized

Honest when it can't decide

When pluvian can't statically resolve a value — a CIDR from a variable with no default — the output says could not evaluate. It never guesses a verdict.

To suppress a finding, you write # pluvian:ignore: <reason>above the resource. The reason is required. It lives in the file, shows up in code review, and enters git history.