Skip to content

Commit d119454

Browse files
authored
Merge branch 'main' into add-sbom-evidence-to-all-components
2 parents 5e7405f + b70fb04 commit d119454

14 files changed

+1800
-2012
lines changed

.github/workflows/cve_bin_tool_action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
security-events: write
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 60
1516
steps:
1617
- uses: intel/cve-bin-tool-action@main
1718
with:

cve_bin_tool/cvedb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ def copy_db(self, filename, export=True):
796796
"""Copy database file to or from new path."""
797797
self.db_close()
798798
if export:
799-
shutil.copy(self.dbpath, filename)
799+
shutil.copy2(self.dbpath, filename)
800800
else:
801-
shutil.copy(filename, self.dbpath)
801+
shutil.copy2(filename, self.dbpath)
802802

803803
def remove_cache_backup(self) -> None:
804804
"""Removes the backup if database was successfully loaded."""

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ importlib_metadata>=3.6; python_version < "3.10"
99
importlib_resources; python_version < "3.9"
1010
jinja2>=2.11.3
1111
jsonschema>=3.0.2
12-
lib4sbom>=0.8.7
13-
lib4vex>=0.2.0
12+
lib4sbom>=0.9.0
13+
lib4vex>=0.2.1
1414
packageurl-python
1515
packaging>=22.0
1616
plotly

0 commit comments

Comments
 (0)