mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
sarif-results-summary: add codeFlow (path-problem) output, remove meta-data
The per-language result counts are removed; they belong in a separate sarif-info script.
This commit is contained in:
committed by
=Michael Hohn
parent
29b62b8b1a
commit
85ddaaafe1
@@ -11,6 +11,11 @@ def get_relatedlocation_message_info(related_location):
|
||||
|
||||
The relatedLocation typically starts from
|
||||
get(sarif_struct, 'runs', [int], 'results', [int], 'relatedLocations', [int])
|
||||
|
||||
For a threadFlow, extract message information for a location contained in it.
|
||||
|
||||
The location typically starts from
|
||||
get(sarif_struct, 'runs', _i, 'results', _i, 'codeFlows', _i, 'threadFlows', _i, 'locations', _i)
|
||||
"""
|
||||
message = get(related_location, 'message', 'text')
|
||||
artifact = get(related_location, 'physicalLocation', 'artifactLocation')
|
||||
|
||||
Reference in New Issue
Block a user