Skip to content

add ValidateRule for input validation#101

Merged
aserto-bot merged 2 commits intomainfrom
fix/validate-rule
Apr 24, 2026
Merged

add ValidateRule for input validation#101
aserto-bot merged 2 commits intomainfrom
fix/validate-rule

Conversation

@gertd
Copy link
Copy Markdown
Member

@gertd gertd commented Apr 24, 2026

Add runtime.ValidateRule(), which checks if the rule exists using the OPA compiler.GetRules function

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 24, 2026

Coverage Report for CI Build 24881820986

Coverage decreased (-0.1%) to 20.519%

Details

  • Coverage decreased (-0.1%) from the base build.
  • Patch coverage: 9 uncovered changes across 1 file (0 of 9 lines covered, 0.0%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
query.go 9 0 0.0%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1579
Covered Lines: 324
Line Coverage: 20.52%
Coverage Strength: 0.22 hits per line

💛 - Coveralls

@aserto-bot aserto-bot merged commit f346f2d into main Apr 24, 2026
4 checks passed
@aserto-bot aserto-bot deleted the fix/validate-rule branch April 24, 2026 09:14
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.

3 participants