Skip to main content

CloudOps Guard

Cloud-native guardrails for Terraform, Kubernetes, and serverless deployments.

CloudOps Guard scans infrastructure-as-code before deployment and reports risky architecture patterns such as public storage, missing encryption, permissive IAM, missing health checks, public Kubernetes services, weak Lambda settings, missing retry/dead-letter queues, and missing ownership or cost tags.

Install

pip install cloudops-guard

CLI

cloudops-guard scan .
cloudops-guard scan infra/ --format json --output risk-report.json
cloudops-guard scan . --fail-on high
cloudops-guard list-checks

Exit codes:

  • 0: no findings at or above --fail-on
  • 1: findings matched the failure threshold
  • 2: CLI usage or scanning error

Python API

from cloudops_guard import scan_path

report = scan_path("infra")
for finding in report.findings:
    print(finding.severity, finding.check_id, finding.message)

Covered Risks

  • Terraform AWS S3 buckets: public ACLs/policies, missing encryption, missing public-access block, missing ownership/cost tags
  • Terraform IAM policies and role policies: wildcard actions/resources and administrative permissions
  • Terraform Lambda functions: timeout and memory risk, missing DLQ, missing tags
  • Terraform autoscaling resources: missing min/max or unhealthy capacity settings
  • Kubernetes Services: public LoadBalancer/NodePort
  • Kubernetes workloads: missing readiness/liveness probes, missing resource limits, missing labels
  • Kubernetes HPAs: missing or ineffective min/max replica bounds
  • Serverless Framework functions: timeout/memory risk, missing DLQ, missing tags

The Terraform parser is intentionally dependency-light and supports common .tf block structures. JSON Terraform plans/config files and YAML Kubernetes/serverless files are parsed with structured parsers.

Report Formats

  • table: human-readable terminal output
  • json: machine-readable report
  • markdown: CI artifact or review comment
  • sarif: GitHub code scanning compatible output

License

MIT

Metadata

Release files for cloudops-guard 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudops-guard 0.1.0
File Size Uploaded Provenance Actions
cloudops_guard-0.1.0.tar.gz 13.9 kB Without provenance Details for cloudops_guard-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cloudops-guard 0.1.0
File Interpreter ABI Platform Actions
cloudops_guard-0.1.0-py3-none-any.whl Python 3 none any Details for cloudops_guard-0.1.0-py3-none-any.whl

Total release size: 30.0 kB

Release files / cloudops_guard-0.1.0.tar.gz

Download URL cloudops_guard-0.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b164c6e499f2ea0c3d223017bce68e20701746f634964b0181ecb3100d7230cb
BLAKE2b-256 checksum
How to use checksums
5326b1e7265f069b494fb4cdf8eb0c74a7f9a465b484b6be0fbf4d54b088e597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / cloudops_guard-0.1.0-py3-none-any.whl

Download URL cloudops_guard-0.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b693af7957d9f447e89a1931a1120fed206dbe391d4689b5852025f7086cca5
BLAKE2b-256 checksum
How to use checksums
c2fa9039638f61631793dce9471d9aef07ab439082c372e3850bded32bc10051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for cloudops-guard 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page