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 accessPath on Location objects to syft-json output #2287

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Nov 3, 2023

This is a follow up to #2259 , where the API now populates the VirtualPath field on file.Location objects. This updates the JSON schema to v12.0.1 to reflect the new accessPath element.

Partially addresses #1835 (using accessPath here instead of virtualPath)
Closes #1836

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@github-actions github-actions bot added the json-schema Changes the json schema label Nov 3, 2023
@wagoodman wagoodman marked this pull request as ready for review November 3, 2023 19:46
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman merged commit 502971a into main Nov 8, 2023
10 checks passed
@wagoodman wagoodman deleted the add-accessPath-to-json branch November 8, 2023 23:05
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
* add accessPath on Location objects to syft-json output

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* generate json schema v12.0.1

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
json-schema Changes the json schema
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report virtual path consistently between file.Resolvers
2 participants