Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v2.4.1

### Fixes:

- [Bug #2915](https://github.com/google/osv-scanner/pull/2915) Fix issue where osv-scanner reported already-fixed advisories as unfixed for RHEL-family RPM packages (Red Hat, AlmaLinux, Rocky Linux) with epochs by sending epoch-qualified versions.

# v2.4.0

### Features:
Expand Down
2 changes: 1 addition & 1 deletion cmd/osv-scanner/__snapshots__/main_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ OPTIONS:
---

[Test_run/version - 1]
osv-scanner version: 2.4.0
osv-scanner version: 2.4.1
osv-scalibr version: 0.4.5
commit: n/a
built at: n/a
Expand Down
6 changes: 3 additions & 3 deletions cmd/osv-scanner/scan/source/__snapshots__/command_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Loaded filter from: <rootdir>/testdata/locks-many/osv-scanner-test.toml
"rules": [],
"supportedTaxonomies": [],
"taxa": [],
"version": "2.4.0"
"version": "2.4.1"
},
"extensions": []
},
Expand Down Expand Up @@ -391,7 +391,7 @@ Total 2 packages affected by 3 known vulnerabilities (1 Critical, 2 High, 0 Medi
],
"supportedTaxonomies": [],
"taxa": [],
"version": "2.4.0"
"version": "2.4.1"
},
"extensions": []
},
Expand Down Expand Up @@ -3767,7 +3767,7 @@ Total 1 package affected by 2 known vulnerabilities (0 Critical, 0 High, 0 Mediu
],
"supportedTaxonomies": [],
"taxa": [],
"version": "2.4.0"
"version": "2.4.1"
},
"extensions": []
},
Expand Down
14 changes: 7 additions & 7 deletions docs/github-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ permissions:

jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.4.1"
```

### View results
Expand Down Expand Up @@ -97,7 +97,7 @@ permissions:

jobs:
scan-scheduled:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.4.1"
```

As written, the scanner will run on 12:30 pm UTC every Monday, and also on every push to the main branch. You can change the schedule by following the instructions [here](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).
Expand Down Expand Up @@ -132,7 +132,7 @@ permissions:

jobs:
osv-scan:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.4.1"
with:
# Only scan the top level go.mod file without recursively scanning directories since
# this pipeline is about releasing the go module and binary
Expand Down Expand Up @@ -184,7 +184,7 @@ Examples
```yml
jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.4.1"
with:
scan-args: |-
--lockfile=./path/to/lockfile1
Expand All @@ -196,7 +196,7 @@ jobs:
```yml
jobs:
scan-pr:
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.4.1"
with:
scan-args: |-
--recursive
Expand All @@ -222,7 +222,7 @@ jobs:
name: Vulnerability scanning
# makes sure the extraction step is completed before running the scanner
needs: extract-deps
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.4.1"
with:
# Download the artifact uploaded in extract-deps step
download-artifact: converted-OSV-Scanner-deps
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
{target_arch: armhf},
{target_arch: aarch64}
]
uses: "extract/osv-scanner/.github/workflows/osv-scanner-reusable.yml@v2.3.8"
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.4.1"
with:
download-artifact: "${{ matrix.platform.target_arch }}-OSV-Scanner-deps"
matrix-property: "${{ matrix.platform.target_arch }}-"
Expand Down
Loading
Loading