Releases: scanoss/vulnerabilities
v0.12.0
What's Changed
Changed
- Updated dependencies to the latest versions
- Replace error_message/error_code by info_message/info_code
- Updated linter to v2.10.1
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
Added
- Added
lint_docker_fixMakefile target for auto-fixing linting issues via Docker - Added new
go-component-helperdependency for shared component handling logic
Changed
- Extracted
SanitizeComponentsandGetComponentsVersionto externalgo-component-helperlibrary, removing localpkg/helpers/component_helper.go - Replaced
dtos.ComponentDTOandentities.ComponentwithcompHelper.ComponentDTOandcompHelper.Componentacross adapters, service, and use cases - Improved component status classification in vulnerability use case using exhaustive switch with explicit handling for
ComponentNotFound,VersionNotFound,InvalidPurl,ComponentWithoutInfo, andInvalidSemver - Components with
ComponentNotFound/VersionNotFoundstatus now fall back to requirement as version when no semver operator is present - Upgraded
scanoss/go-grpc-helpertov0.13.0 - Upgraded
scanoss/go-modelstov0.5.1 - Upgraded
scanoss/papitov0.30.0
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
Added
- Included component status (
error_code,error_message) in vulnerability and CPE responses - Added
Componententity withStatusfield for tracking component processing state - Added
SanitizeComponentsandGetComponentsVersionshared helpers for reuse across vulnerability and CPE use cases - Added
HasSemverOperatorutility to detect invalid semver operators in PURL versions
Changed
- Refactored component sanitization: invalid PURLs are no longer filtered out but returned with an appropriate status code (
invalid_purl,component_without_info) - Moved component version resolution logic from
vulnerability_use_case.goto sharedhelpers/component_helper.go - Updated OSV and local vulnerability use cases to accept
entities.Componentinstead ofdtos.ComponentDTO - Simplified adapter functions by removing the valid/invalid component split
- Upgraded
scanoss/go-grpc-helpertov0.12.0
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
Changed
- Added support for GitHub PURLs in OSV use case by mapping them to GIT ecosystem with Git URLs
- Refactored component version resolution in vulnerability use case to use concurrent worker pool
- Upgraded
/scanoss/go-modelstov0.3.0
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
Added
- Included Exploit Prediction Scoring System (EPSS) to vulnerability response
- Added configurable worker pool for local vulnerability processing (
VULN_SCANOSS_WORKERS)
Changed
- Refactored OSV use case
- Refactored local vulnerability use case with multithreading support and context cancellation handling
- Upgraded
scanoss/papito v0.28.0
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's New
Changed
- Optimized query performance for retrieving vulnerabilities by PURL version using CTE (Common Table Expression) approach in
pkg/models/vulns_purl.go:111
v0.6.2
chore:SP-3551 Fixes and updates CI workflows
v0.6.0
What's new
Changed
- Replaced REST endpoint GET
/api/v2/vulnerabilities/cpes/componentby/v2/vulnerabilities/cpes/component - Replaced REST endpoint POST
/api/v2/vulnerabilities/cpes/componentsby/v2/vulnerabilities/cpes/components - Replaced REST endpoint GET
/api/v2/vulnerabilities/componentby/v2/vulnerabilities/component - Replaced REST endpoint POST
/api/v2/vulnerabilities/componentsby/v2/vulnerabilities/components - Replaced REST endpoint POST
/api/v2/vulnerabilities/echoby/v2/vulnerabilities/echo - Updated
github.com/scanoss/papito v0.17.0
v0.5.0
What's changed
Added
-
Added new vulnerability PAPI definitions
-
Added semver support for requests
-
Added new adapters to map requests to ComponentDTO
-
Added gRPC
GetComponentCpesand REST endpoint GET/api/v2/vulnerabilities/cpes/component -
Added gRPC
GetComponentsCpesand REST endpoint POST/api/v2/vulnerabilities/cpes/components -
Added gRPC
GetComponentVulnerabilitiesand REST endpoint GET/api/v2/vulnerabilities/component -
Added gRPC
GetComponentsVulnerabilitiesand REST endpoint POST/api/v2/vulnerabilities/components
Changed
-
Integrated the scanoss go-model module
-
Refactored request and output adapters
-
Refactored CPE and Vulnerability use cases to accept the new ComponentDTO struct
-
Refactored vulnerability service to maintain both legacy and new vulnerability and CPE handlers
-
Updated direct dependencies
V0.4.1
What's Changed
- Update package-scripts.sh by @ortizjeronimo in #15
New Contributors
- @ortizjeronimo made their first contribution in #15
Full Changelog: v0.4.0...v0.4.1