Files
alejandrobailo d46f649ff1 feat: migrate from pre-commit to prek
Replace pre-commit with prek, a faster Rust-based alternative that is
7x faster for installation and 6x faster for execution while being
fully compatible with .pre-commit-config.yaml.

Changes:
- Remove pre-commit from pyproject.toml dev dependencies
- Update scripts/setup-git-hooks.sh to use prek
- Update developer documentation (introduction.mdx)
- Update security documentation (software-security.mdx)
- Update AGENTS.md files with new commands
- Regenerate poetry.lock

prek is installed as a standalone tool via:
- pipx install prek (recommended)
- brew install prek
- uv tool install prek

Benchmarks on Prowler codebase:
- Cold install: 25.18s → 3.42s (7.37x faster)
- Warm execution: 87.53s → 14.80s (5.92x faster)
- Cache size: 170MB → 154MB (9.4% smaller)
2026-01-26 18:41:05 +01:00
..
2025-12-10 18:28:27 +01:00
2025-10-15 16:38:56 +02:00

Prowler Documentation

This repository contains the Prowler Open Source documentation powered by Mintlify.

Documentation Structure

  • Getting Started: Overview, installation, and basic usage guides
  • User Guide: Comprehensive guides for Prowler App, CLI, providers, and compliance
  • Developer Guide: Technical documentation for developers contributing to Prowler

Local Development

Install the Mintlify CLI to preview documentation changes locally:

npm i -g mint

Run the following command at the root of your documentation (where mint.json is located):

mint dev

View your local preview at http://localhost:3000.

Publishing Changes

Changes pushed to the main branch are automatically deployed to production through Mintlify's GitHub integration.

Documentation Guidelines

When contributing to the documentation, please follow the Prowler documentation style guide located in the .claude directory.

Troubleshooting

  • If your dev environment isn't running: Run mint update to ensure you have the most recent version of the CLI.
  • If a page loads as a 404: Make sure you are running in a folder with a valid mint.json file and that the page path is correctly listed in the navigation.

Resources