Skip to content

Add TOML configuration support - #26

Merged
antonisloukis merged 1 commit into
mainfrom
feat/config-file
Aug 4, 2026
Merged

antonisloukis merged 1 commit into
mainfrom
feat/config-file

Conversation

@antonisloukis

Copy link
Copy Markdown
Owner

Summary

Adds persistent RunbookProof scan configuration through .runbookproof.toml.

Changes

  • Automatically loads .runbookproof.toml from the current directory
  • Added --config PATH for selecting a custom configuration file
  • Added support for [scan].ignore_rules
  • Combines configuration rules with CLI --ignore-rule values
  • Normalizes configuration rule IDs case-insensitively
  • Validates configured rule IDs
  • Reports missing explicit configuration files
  • Reports malformed TOML
  • Validates configuration table and value types
  • Returns exit code 2 for configuration errors
  • Updated the README with configuration examples
  • Removed the completed configuration item from the roadmap
  • Added focused configuration-file tests

Configuration example

[scan]
ignore_rules = [
  "RBP-AZURE-001",
  "RBP-AWS-002",
]

@antonisloukis
antonisloukis merged commit 39b5d8f into main Aug 4, 2026
7 checks passed
@antonisloukis
antonisloukis deleted the feat/config-file branch August 4, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant