Skip to content

fix/rego query#720

Merged
aserto-bot merged 6 commits intomainfrom
fix/rego-query
Apr 24, 2026
Merged

fix/rego query#720
aserto-bot merged 6 commits intomainfrom
fix/rego-query

Conversation

@gertd
Copy link
Copy Markdown
Member

@gertd gertd commented Apr 24, 2026

The PR adds input rule validation to the Is function using the new runtime.ValidateRule() function, which verifies if the rule exists in the active bundle.

Add runtime.ValidateQuery() check to DecisionTree implementation, which retrieves the rules list from the policy list AST, so these always exist and do not need additional validation using ValidateRule()

Additional updates:

  • Remove obsolete PolicyInstance param from runtime and templates
  • Remove PolicyInstance middleware
  • Disable the mig010, migration to minimize the change of this PR
  • Update dependencies

@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 24882826695

Coverage remained the same at 7.429%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 9947
Covered Lines: 739
Line Coverage: 7.43%
Coverage Strength: 0.08 hits per line

💛 - Coveralls

@aserto-bot aserto-bot merged commit da73856 into main Apr 24, 2026
6 checks passed
@aserto-bot aserto-bot deleted the fix/rego-query branch April 24, 2026 09:51
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