Cosmin Cojocar
19fa856bad
fix: make sure that nil Cwe pointer is handled when getting the CWE ID
2022-08-20 13:32:31 +02:00
Cosmin Cojocar
c0680bb6a3
Process the code snippet before adding it to the SARIF report
...
Preprocess the code snippet from the issue in order to extract only the line(s)
of code where the issue is located. In addition remove the line numbers and whitespaces
before writing the code snippet into the SARIF report.
2022-02-09 16:19:40 +01:00
Cosmin Cojocar
09a2941ad4
Use the CWE name as a name in the SARIF report
2022-01-27 15:51:51 +01:00
Yiwei Ding
b45f95f6ad
Add support for suppressing the findings
2021-12-09 11:53:36 +01:00
Matthieu MOREL
bfb0f422fe
chore(lint): enable errorlint and gci ( #698 )
2021-09-13 09:40:10 +02:00
Matthieu MOREL
e72b1e5f25
Use of vars instead of func
2021-06-13 13:30:16 +02:00
Matthieu MOREL
1256f16f33
Fix lint and fail on error in the ci build
2021-05-31 10:44:12 +02:00
Matthieu MOREL
d040f0725f
Handle gosec version in SARIF report
2021-05-20 10:16:42 +02:00
Matthieu MOREL
3a9a6ad8b3
Sarif provide Snippet with Issue.Code
...
* Provide Snippet with Issue.Code
* Fix documentation
2021-05-13 16:02:28 +02:00
Matthieu MOREL
103c429df5
Enable golangcli and improve testing for formatters
2021-05-10 10:08:04 +02:00
Matthieu MOREL
c4f5932ab7
Refactor : Replace Cwe with cwe.Weakness
2021-05-07 16:54:34 +02:00
Matthieu MOREL
ddfa25381f
Define a report package with core and per format sub-packages
2021-05-06 09:31:51 +02:00