Skip to main content

Getting Started

Requirements

  • Python 3.8+
  • A Python project directory to analyze

Install (local)

From the repo root:

pip install -e .

Or run directly without installing:

python3 -m harden analyze ./myapp

First run

harden analyze ./myapp
harden lock ./myapp
harden generate ./myapp --fail-on-critical

Outputs

  • .harden/state/harden-report.json
  • requirements.lock
  • .harden/Dockerfile
  • .harden/sbom.json