We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5cc58b7 + b917f8b commit 7152f66Copy full SHA for 7152f66
cmd/upload.go
@@ -105,6 +105,15 @@ func processSarif(sarif Sarif) [][]map[string]interface{} {
105
}
106
107
var results []map[string]interface{}
108
+ // Iterate through run.Artifacts and create entries in the results object
109
+ for _, artifact := range run.Artifacts {
110
+ if artifact.Location.URI != "" {
111
+ results = append(results, map[string]interface{}{
112
+ "filename": artifact.Location.URI,
113
+ "results": []map[string]interface{}{},
114
+ })
115
+ }
116
117
for _, obj := range codacyIssues {
118
source := obj["source"].(string)
119
issue := map[string]interface{}{
0 commit comments