checkmarx-ltd / cx-flow

Checkmarx Scan and Result Orchestration
Apache License 2.0
88 stars 87 forks source link

CXFLW-1336 Added code to add snippet in cxflow SARIF report its configurable. #1389

Closed satyamchaurasiapersistent closed 1 day ago

satyamchaurasiapersistent commented 2 weeks ago

Describe the problem

The specification has a snippet in the Location object for the affected lines of code, but the Sarif output uses the Location -> message property instead.

Proposed solution

Use the Location -> region -> snippet for the affected code.

Additional details

CxFlow 1.6.40-11

AvivCx commented 2 weeks ago

Logo Checkmarx One – Scan Summary & Detailsec2bde56-59cb-4e67-85c6-df3202a2d23c

No New Or Fixed Issues Found