Modular DevOps Toolkit with IAM policy validation
Project description
devolv-validator
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
ActionandResource - 🔐 Flags
iam:PassRolewith wildcardResource - 📂 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 infrastructuredevolv generate: produce IAM policies safelydevolv etl: secure CI/CD for policy transformation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devolv-0.1.1.tar.gz.
File metadata
- Download URL: devolv-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b503625389a76df91494ebe047d8590ce08bbff035eefd7c775f88009f9f8a
|
|
| MD5 |
fec9bd29ff21a99ee81e0ab6611383ba
|
|
| BLAKE2b-256 |
bc90ea237fa5806d9986a0dddcedf4a96025ed3d9f2f27f118a233148c4f97ab
|
File details
Details for the file devolv-0.1.1-py3-none-any.whl.
File metadata
- Download URL: devolv-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f2317b137cb106ef290c440c60771c7a016bce81a454309ac9c6563c82628c7
|
|
| MD5 |
78fc230cd084c20671d427c7812044a9
|
|
| BLAKE2b-256 |
436da0eca29de24a111991ea6ba8b0c2599c49ce084977e7749475428a972c0a
|