Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vers range validation before compilation #455

Merged
merged 4 commits into from
Nov 27, 2023

Conversation

sahibamittal
Copy link
Collaborator

@sahibamittal sahibamittal commented Nov 23, 2023

Description

It would be good if we could perform the validation during the CEL script compilation, in order to give users feedback synchronously.

Addressed Issue

Closes DependencyTrack/hyades#873

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@sahibamittal sahibamittal requested a review from nscuro November 24, 2023 11:18
@sahibamittal sahibamittal requested a review from nscuro November 27, 2023 14:49
@nscuro nscuro added the enhancement New feature or request label Nov 27, 2023
@nscuro nscuro changed the title Add vers range check before compilation Add vers range validation before compilation Nov 27, 2023
@nscuro nscuro merged commit c309d0a into main Nov 27, 2023
6 checks passed
@nscuro nscuro deleted the validate-vers-range-cel-compile branch November 27, 2023 16:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2023
@nscuro nscuro added this to the 5.3.0 milestone Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate provided vers ranges during CEL policy script compilation
2 participants