microsoft / sarif-tools

A set of Python command line tools for working with SARIF files produced by code analysis tools
MIT License
76 stars 19 forks source link

How to remove specific entries #13

Closed MFaisalZaki closed 9 months ago

MFaisalZaki commented 1 year ago

I tried to copy while applying blame-filter, but it didn't work as expected.

I want to ask if it is possible to provide a specific entry with filename and lines to be filtered out.

balgillo commented 10 months ago

Hi, sorry for the delay spotting the issue that you have raised. Thank you for your interest in sarif-tools!

I checked the copy operation with blame-filter and it worked as I expect, i.e. it filters issues by author information as described in the README. The tool doesn't have a facility for filtering issues by filename or line location. Is that a feature that you want - can you elaborate on your needs?