Skip to main content

Modular DevOps Toolkit with IAM policy validation

Project description

devolv-validator

devolv-validator is a Python CLI tool that statically validates AWS IAM policies (JSON or YAML) for risky patterns such as wildcards, privilege escalation risks, and bad practices.

🚀 Features

  • 🚩 Detects wildcards in Action and Resource
  • 🔐 Flags iam:PassRole on wildcard Resource
  • 📂 Supports both JSON and YAML formats
  • ⚙️ Clean CLI built with Typer
  • ✅ Ready for CI with GitHub Actions

📦 Installation

pip install devolv-validator

🛠 Usage

devolv-validator validate path/to/policy.json

📁 Example

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

This policy will be flagged with high-severity warnings.

🧪 Run Tests

pytest

🧰 About

This is part of the devolv OSS DevOps toolkit.

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.0.tar.gz (3.1 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.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devolv-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 81f3805f7652504167b0eb5af54e04d532bcd59610923b8b2cf345c84af4eb6a
MD5 93fad76f2c8001900e44b5d37afd337b
BLAKE2b-256 f8f7a178b6141bf18c1b8327b585359def5c87466a034e96de6e7bd9fa13e614

See more details on using hashes here.

File details

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

File metadata

  • Download URL: devolv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 676b5fdfcc6e558f7da2296a3b92e713ec008518fd3d4ef05ef272a0e1703376
MD5 89c7cbb1359003e53471a95f8fc8261c
BLAKE2b-256 91180be5178c791915fee6d0e695cbe03fe85c1799216c6b980991bdccd3f7b0

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