Skip to content

Expose built-in rule metadata through configuration - #10

Merged
adamdriscoll merged 1 commit into
mainfrom
codex/fix-github-issue-1
Jul 25, 2026
Merged

Expose built-in rule metadata through configuration#10
adamdriscoll merged 1 commit into
mainfrom
codex/fix-github-issue-1

Conversation

@adamdriscoll

@adamdriscoll adamdriscoll commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Centralize built-in condition creation in a reusable catalog
  • Expose built-in rule names and descriptions through Get-PSPConfiguration
  • Keep rule metadata informational and excluded from exported XML
  • Document built-in rule inspection and add catalog coverage tests

Testing

  • Added an xUnit unit test verifying all 12 built-in rules and their descriptions

Fixes: #1

@adamdriscoll
adamdriscoll merged commit 69dc4c4 into main Jul 25, 2026
2 checks passed
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.

PowerShell Protect should be able to enumerate its default rules

1 participant