Skip to content

fix(scan): reject colliding output paths - #52

Open
wanggiya wants to merge 1 commit into
trustabl:mainfrom
wanggiya:fix/42-reject-output-path-collision
Open

fix(scan): reject colliding output paths#52
wanggiya wants to merge 1 commit into
trustabl:mainfrom
wanggiya:fix/42-reject-output-path-collision

Conversation

@wanggiya

Copy link
Copy Markdown

Closes #ISSUE_NUMBER

Rejects configurations where JSON_FILE and SARIF_FILE resolve to the same output path, preventing the JSON scan from overwriting the SARIF report.

Tested:

  • identical paths exit 2
  • equivalent relative paths exit 2
  • distinct paths pass collision validation
  • bash syntax validation passes

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.

1 participant