Skip to main content

Modular DevOps Toolkit

Project description

devolv-validator

PyPI - Version Tests License: MIT

devolv-validator is a subtool of the Devolv OSS DevOps Toolkit.
It statically validates AWS IAM policies (JSON or YAML) for risky patterns such as wildcards, privilege escalation, and misconfigurations.


🚀 Features

  • 🚩 Detects wildcards in Action and Resource
  • 🔐 Flags iam:PassRole with wildcard Resource
  • 📂 Supports both JSON and YAML input
  • ⚙️ Simple CLI using Typer
  • ✅ CI-ready with GitHub Actions

📦 Installation

Install the full Devolv toolkit:

pip install devolv

🛠 Usage

devolv validate file path/to/policy.json

📁 Example

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

This will be flagged as high-risk due to overly permissive wildcards.


🧪 Run Tests

pytest

🧰 About

This tool is part of the Devolv OSS Toolkit, a growing collection of DevOps-first security and automation tools.

Follow the repo for upcoming modules like:

  • devolv scan: analyze AWS infrastructure
  • devolv generate: produce IAM policies safely
  • devolv etl: secure CI/CD for policy transformation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devolv-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devolv-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file devolv-0.1.2.tar.gz.

File metadata

  • Download URL: devolv-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devolv-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7409350d8089da28aeea71355e193a8a7016826ad6e1950c9b73bd5ce9d0a15d
MD5 f475ad2ed4a145363c8a50e267774b17
BLAKE2b-256 59564b09d7a9213732dd4bf47d10ce4c8e4de4dbe88a49c2086cd3bc2423e18a

See more details on using hashes here.

File details

Details for the file devolv-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: devolv-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devolv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ef68a24dbec8dc4855a03da8f83585294f88db7b242a02e2a6759d9dd22a849
MD5 8e0d79524f84786d4f5d541fd706cfbf
BLAKE2b-256 8f47902f5790161c57444ebd8630ca99f2ede7d6f0b3004c74f8498ff6d15488

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page