Replies: 1 comment 1 reply
-
Hello! Apologies for the delayed response, this is our first GitHub discussion and I didn't have notifications set up.
Now tracked in #197. The challenging part is that SARIF is supposed to be for SAST output (i.e. reference a file and line), while GuardDog also acts on package metadata
Your reasoning makes sense - the simplest thing we could do is implement a |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've some observations and questions in the context of #36 being closed recently without adding support for managing false positives.
What is the workflow I try to achieve with guarddog
What I want to get is to:
guarddog pypi scan
),Where I'm now
I got (1) and (2) from above working. With some adventures due to pypa/pip#1884, but that's another story.
I'm stuck at (3). I hoped for #36 to deliver at least some minimal functionality. As it got closed, and the proposed solution does not work for me (I don't use github actions), I thought I could roll some custom approach on my own.
First thought was to use SARIF output as a starting point, but
guarddog pypi scan
, which I must use instead ofverify
to scan local sources, does not support it.Doubts / questions
pypi scan
output its results in SARIF format? Is the reason it currently does not do it a matter of priorities and/or lack of demand or is there some deeper issue here?guarddog pypi scan
could achieve same result - it seems to me that you could end up with scanning one thing and installing a different one, because scan is a separate process from the one that ultimately takes artifacts and install them - so your build step could use different artifacts, builds from different source etc. But maybe I'm missing something here?Any feedback very much appreciated! :)
Beta Was this translation helpful? Give feedback.
All reactions