Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Bump github.com/google/osv-scanner from 1.7.4 to 1.8.1 #4198

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 27, 2024

Bumps github.com/google/osv-scanner from 1.7.4 to 1.8.1.

Release notes

Sourced from github.com/google/osv-scanner's releases.

v1.8.1

v1.8.0/v1.8.1:

Features:

  • [Feature #35](google/osv-scanner#35) OSV-Scanner now scans transitive dependencies in Maven pom.xml files! See our documentation for more information.
  • [Feature #944](google/osv-scanner#944) The osv-scanner.toml configuration file can now filter specific packages with new [[PackageOverrides]] sections:
    [[PackageOverrides]]
    # The package name, version, and ecosystem to match against
    name = "lib"
    # If version is not set or empty, it will match every version
    version = "1.0.0"
    ecosystem = "Go"
    # Ignore this package entirely, including license scanning
    ignore = true
    # Override the license of the package
    # This is not used if ignore = true
    license.override = ["MIT", "0BSD"]
    # effectiveUntil = 2022-11-09 # Optional exception expiry date
    reason = "abc"

Minor Updates

  • [Feature #1039](google/osv-scanner#1039) The --experimental-local-db flag has been removed and replaced with a new flag --experimental-download-offline-databases which better reflects what the flag does.
    To replicate the behavior of the original --experimental-local-db flag, replace it with both --experimental-offline --experimental-download-offline-databases flags. This will run osv-scanner in offline mode, but download the latest version of the vulnerability databases before scanning.

Fixes:

  • [Bug #1000](google/osv-scanner#1000) Standard dependencies now correctly override dependencyManagement dependencies when scanning pom.xml files in offline mode.

New Contributors

Full Changelog: google/osv-scanner@v1.7.4...v1.8.1

Changelog

Sourced from github.com/google/osv-scanner's changelog.

v1.8.0/v1.8.1:

Features:

  • [Feature #35](google/osv-scanner#35) OSV-Scanner now scans transitive dependencies in Maven pom.xml files! See our documentation for more information.
  • [Feature #944](google/osv-scanner#944) The osv-scanner.toml configuration file can now filter specific packages with new [[PackageOverrides]] sections:
    [[PackageOverrides]]
    # The package name, version, and ecosystem to match against
    name = "lib"
    # If version is not set or empty, it will match every version
    version = "1.0.0"
    ecosystem = "Go"
    # Ignore this package entirely, including license scanning
    ignore = true
    # Override the license of the package
    # This is not used if ignore = true
    license.override = ["MIT", "0BSD"]
    # effectiveUntil = 2022-11-09 # Optional exception expiry date
    reason = "abc"

Minor Updates

  • [Feature #1039](google/osv-scanner#1039) The --experimental-local-db flag has been removed and replaced with a new flag --experimental-download-offline-databases which better reflects what the flag does.
    To replicate the behavior of the original --experimental-local-db flag, replace it with both --experimental-offline --experimental-download-offline-databases flags. This will run osv-scanner in offline mode, but download the latest version of the vulnerability databases before scanning.

Fixes:

  • [Bug #1000](google/osv-scanner#1000) Standard dependencies now correctly override dependencyManagement dependencies when scanning pom.xml files in offline mode.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/google/osv-scanner](https://github.com/google/osv-scanner) from 1.7.4 to 1.8.1.
- [Release notes](https://github.com/google/osv-scanner/releases)
- [Changelog](https://github.com/google/osv-scanner/blob/main/CHANGELOG.md)
- [Commits](google/osv-scanner@v1.7.4...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/google/osv-scanner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner June 27, 2024 08:54
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 27, 2024
@dependabot dependabot bot requested review from naveensrinivasan and raghavkaul and removed request for a team June 27, 2024 08:54
clients/osv.go Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@spencerschrock spencerschrock self-assigned this Jul 1, 2024
dependabot likes to add the toolchain directive, so remove it.
match the go version to the minimum required by osv-scanner

Signed-off-by: Spencer Schrock <[email protected]>
As mentioned in the CHANGELOG, both flags are needed to replace the old flag.
https://github.com/google/osv-scanner/blob/main/CHANGELOG.md#v180v181

Signed-off-by: Spencer Schrock <[email protected]>
Copy link
Member

@justaugustus justaugustus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@dependabot dependabot bot merged commit 9f9afa0 into main Jul 1, 2024
36 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/osv-scanner-1.8.1 branch July 1, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants