Skip to content

Do not output dependency files in jsonout

Igor Frenkel requested to merge ifrenkel/439777-remove-dependency_files-2 into main

What does this MR do?

Dependency files will be removed as of security report schemas version 15-1-0. This MR removes the attribute from the json output generated by the jsonout command. report.DependencyFiles will no longer be available. When included in gemnasium a build error is thrown when the analyzer resolves its report version to the newest (as opposed to v4.1.0 in this project's go.mod).

This is the simplest approach to remove the attribute. Another option is to explicitly change the version of report for this project. However, this requires a few changes to downstream dependency because both this project and report rely on ruleset (v1 vs v2). For completeness see the more extensive MR: Draft: Use v4.4.0 of report module (!52 - closed) • Igor Frenkel

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Igor Frenkel

Merge request reports

Loading