DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.61k stars 553 forks source link

Backport: fix os handling when trivy sets pkgType on properties #3729

Closed nscuro closed 4 months ago

nscuro commented 4 months ago

Description

Handles PkgType trivy property

Addressed Issue

Fixes #3721 Backports #3727

Additional Details

N/A

Checklist

codacy-production[bot] commented 4 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.02% (target: -1.00%) :white_check_mark: 100.00% (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (8bee63de30bfda5c6fda64213c75cf169ef4f474) | 22077 | 16766 | 75.94% | | | Head commit (f23829be4de01d2a21c34883e0844c555924e3b9) | 22083 (+6) | 16776 (+10) | 75.97% (**+0.02%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3729) | 6 | 6 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more