Skip to content

complytime/complytime-providers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

206 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

complytime-providers

Compliance-scanning provider plugins for the complyctl CLI. Each provider implements the complyctl gRPC plugin interface (hashicorp/go-plugin) with three RPCs: Describe, Generate, and Scan.

Providers

Provider Binary Description
openscap-provider complyctl-provider-openscap XCCDF-based system compliance scanning using OpenSCAP
ampel-provider complyctl-provider-ampel In-toto attestation-based policy verification using AMPEL and snappy
opa-provider complyctl-provider-opa OPA/conftest-based configuration policy evaluation

Build

Requires Go 1.25.0 or higher.

make build                    # Build all provider binaries to bin/
make build-openscap-provider  # Build openscap provider only
make build-ampel-provider     # Build ampel provider only
make build-opa-provider       # Build opa provider only

Binaries are output to bin/.

Install

Copy the built binary to the complyctl providers directory:

mkdir -p ~/.complytime/providers
cp bin/complyctl-provider-* ~/.complytime/providers/

Providers are discovered automatically by complyctl using the complyctl-provider- naming convention.

Test

make test    # Run all unit tests
make lint    # Run golangci-lint

Project Structure

cmd/
├── openscap-provider/   # XCCDF-based system scanning
├── ampel-provider/      # In-toto attestation verification
└── opa-provider/        # OPA/conftest policy evaluation
internal/
└── complytime/testdata/ # Shared XML test fixtures
docs/                    # Documentation

Each provider is self-contained under cmd/<name>-provider/ with its own subpackage hierarchy. No shared library code between providers.

Documentation

License

Apache-2.0. See LICENSE for details.

Contributing

See CONTRIBUTING.md for guidelines. All changes require a feature branch and PR with review from at least two maintainers.

About

complyctl providers (formerly plugins)

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages