kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Show shorter paths to resources in validation panel #12

Closed f1ames closed 9 months ago

f1ames commented 1 year ago

The paths to resources are now full/absolute paths which make it a bit unreadable:

image

It will be good to just have rootName/**/resource.yaml (or something similar).

This is directly read from .runs.results[].locations.physicalLocation.artifactLocation.uri in SARIF output file. So one solution to change it could be using uriBaseIds and providing relative, shorter path as ...artifactLocation.uri.

f1ames commented 9 months ago

Fixed with https://github.com/kubeshop/vscode-monokle/pull/75.