Skip to content

fix: display ROOT as "Your Application" in VEX rule path patterns#697

Merged
timbastin merged 1 commit intol3montree-dev:mainfrom
gauravshinde1729:fix/vex-rules-not-working-for-direct-dependacies
Apr 13, 2026
Merged

fix: display ROOT as "Your Application" in VEX rule path patterns#697
timbastin merged 1 commit intol3montree-dev:mainfrom
gauravshinde1729:fix/vex-rules-not-working-for-direct-dependacies

Conversation

@gauravshinde1729
Copy link
Copy Markdown
Contributor

Summary: (l3montree-dev/devguard#1872)

VEX rules created for direct dependencies store a path pattern of
["", "ROOT", "pkg:..."]. The UI was rendering this literally as
"
> ROOT > pkg:..." which was confusing.

Strip the leading "*" before ROOT and replace ROOT with "Your
Application" so the pattern displays as "Your Application > pkg:...".

output:

Screenshot 2026-04-12 080307

  Body:

  VEX rules created for direct dependencies store a path pattern of
  ["*", "ROOT", "pkg:..."]. The UI was rendering this literally as
  "* > ROOT > pkg:..." which was confusing.

  Strip the leading "*" before ROOT and replace ROOT with "Your
  Application" so the pattern displays as "Your Application > pkg:...".
@timbastin
Copy link
Copy Markdown
Member

Awesome! Thank you!

@timbastin timbastin merged commit 20572a7 into l3montree-dev:main Apr 13, 2026
1 check 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.

2 participants