diff functionality
#106
Replies: 6 comments
-
|
I agree that supporting diff based on the Checking
I'm hesitant to add this level of complexity without feedback from more users. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for answering. I'm coming from the requirement to produce a SARIF with The appendix linked states,
So, perhaps using a SARIF with
I'm with you on this. We've a requirement that we handle SARIF files from any tool that supports this output. So, while it could potentially be a SARIF with any of the available attributes, it's likely to end up being only a subset of these multiple attributes. |
Beta Was this translation helpful? Give feedback.
-
|
Are you requesting that we provide a way to diff two files ("new" and "old") and update the "new" file with
My read of the spec is that
|
Beta Was this translation helpful? Give feedback.
-
|
Yeah. The goal is to produce a SARIF file 'C', from SARIF files 'A' and 'B' where 'C' contains the results with I'm a bit confused about the usage of |
Beta Was this translation helpful? Give feedback.
-
Ok, that makes sense. However, I think the initial implementation would likely only consider
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I think we're on the same page here. I agree that you'd need feedback from users before adding a feature to specify additional fields. However, I doubt there would be such requirements from the general users right now :)
I agree with you on this as well. And this is not something that can be exposed generally because the properties within |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, this is a question/discussion regarding the diff functionality.
I see that the diff functionality takes into account the
LocationandLineproperty to compute the list of new findings per severity. However, per the SARIF spec, thefingerprintsandpartialFingerprintsprovide a one-stop check for uniqueness. I understand what's provided as part ofdifffunctionality partially makes sense in the scenario perhaps where none of the fingerprints attributes are present.What are your thoughts on the other result attributes such as
codeFlow,stacks, different attributes oflocationattribute etc that can be used to distinguish if results are unique? Would you suggest they be considered outside the scope of this project's implementation? Any ideas on how to handle those cases? Perhaps accept a list of attributes that would serve as the order to compare results against?Beta Was this translation helpful? Give feedback.
All reactions