Skip to content

Allow processing multline issues from gosec

Vitória Rio requested to merge vitoriario/gosec:master into master

What does this MR do?

Gosec can report multiline issues in the format <start_line>-<end_line> as you can see on these test cases. This MR allows the converter function to parse multiline issues reported from gosec. If it cannot convert the string line to an integer, it means that the issue is a multiline one so the line range gets extracted.

What are the relevant issue numbers?

Relates to gitlab-org/gitlab#285500 (closed)

Does this MR meet the acceptance criteria?

Edited by Zach Rice

Merge request reports