Official plugin repository for Reglet, the compliance-as-code framework.
| Plugin | Version | Description |
|---|---|---|
| command | 1.0.0 | Execute commands and validate output |
| dns | 1.0.0 | DNS resolution and record validation |
| file | 1.1.0 | File existence, content, and hash checks |
| http | 1.0.0 | HTTP/HTTPS request checking and validation |
| smtp | 1.0.0 | SMTP connection testing and server validation |
| tcp | 1.0.0 | TCP connection testing and TLS validation |
make build-allmake test-allmake -C plugins/command buildEach plugin is an independent Go module that compiles to WASM. See Plugin Development Guide for details.
- Go 1.25+
- WASM support (
GOOS=wasip1 GOARCH=wasm)
reglet-plugins/
├── plugins/
│ ├── command/ # Command execution plugin
│ ├── dns/ # DNS resolution plugin
│ ├── file/ # File system plugin
│ ├── http/ # HTTP request plugin
│ ├── smtp/ # SMTP connection plugin
│ └── tcp/ # TCP connection plugin
├── scripts/ # Build and test automation
├── docs/ # Documentation
└── Makefile # Top-level build commands
Each plugin follows this structure:
plugin-name/
├── go.mod # Go module definition
├── go.sum # Dependencies
├── main.go # WASM entry point (build tag: wasip1)
├── plugin.go # Plugin implementation
├── plugin_test.go # Tests (build tag: !wasip1)
├── Makefile # Build targets
└── README.md # Plugin documentation
Plugins declare capabilities they require. The Reglet host grants or denies these based on user configuration.
| Plugin | Capability | Pattern |
|---|---|---|
| command | exec | ** |
| dns | network | outbound:53 |
| file | fs | read:** |
| http | network | outbound:80,443 |
| smtp | network | outbound:25,465,587 |
| tcp | network | outbound:* |
All plugins use the Reglet SDK:
import regletsdk "github.com/reglet-dev/reglet-sdk/go"Apache 2.0 - See LICENSE