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

Make findings paths relative #418

Open
salsolatragus opened this issue Oct 9, 2018 · 0 comments
Open

Make findings paths relative #418

salsolatragus opened this issue Oct 9, 2018 · 0 comments

Comments

@salsolatragus
Copy link
Collaborator

Problem: A detector might (accidentally) output absolute paths to findings. This is not a problem as long as the processing of the findings happens on the same machine as the detector ran on, but it presents an issue for portability.

Solution: Since valid findings should always be located in the project version's build path, we could automatically relativize the paths. Either when loading findings for further processing (not that in this case, the project base path might already be different from the findings' base path!) or in a validation step after running the detector (as part of the CLI?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant