Skip to content

Commit 2d48cd1

Browse files
Merge branch 'main' into fix-html-report-severity-4392
2 parents 5aa22d7 + e6ee305 commit 2d48cd1

File tree

172 files changed

+2049
-1703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+2049
-1703
lines changed

.github/actions/spelling/allow.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ apcupsd
1515
api
1616
apk
1717
apparmor
18+
apr
1819
ares
1920
argparse
2021
Args
@@ -54,6 +55,7 @@ blog
5455
bluetooth
5556
bluetoothctl
5657
bluez
58+
boa
5759
boinc
5860
bolt
5961
boot
@@ -77,6 +79,7 @@ ceph
7779
cfa
7880
cfea
7981
cff
82+
cflow
8083
chaitanyamogal
8184
Changelog
8285
charset
@@ -149,6 +152,7 @@ dio
149152
Dio
150153
distro
151154
distros
155+
djvulibre
152156
dlt
153157
dmidecode
154158
dnsmasq
@@ -221,6 +225,7 @@ ftp
221225
ftpd
222226
fuzzer
223227
g
228+
GAAD
224229
GAD
225230
gawk
226231
gcc
@@ -294,6 +299,8 @@ ikeydoherty
294299
img
295300
imgur
296301
imsahil
302+
inclusivity
303+
indent
297304
INI
298305
inosmeet
299306
iperf
@@ -597,6 +604,7 @@ readthedocs
597604
realpython
598605
rebasing
599606
redhat
607+
redis
600608
refactored
601609
refactoring
602610
regex
@@ -702,6 +710,7 @@ toml
702710
toolkit
703711
tools
704712
tor
713+
toybox
705714
tpm
706715
traceroute
707716
transmission
@@ -737,6 +746,7 @@ util
737746
utkarsh
738747
utm
739748
uuid
749+
uwsgi
740750
v
741751
varnish
742752
venv
@@ -756,6 +766,8 @@ Vulnerability
756766
Vulnerabity
757767
vulnerablities
758768
vulnerablity
769+
wavpack
770+
WCAG
759771
webkitgtk
760772
webserver
761773
website
@@ -785,6 +797,7 @@ xml
785797
xscreensaver
786798
xvf
787799
xwayland
800+
xz
788801
yakkety
789802
yaml
790803
yashugarg

.github/workflows/build-wheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
egress-policy: audit
2929

3030
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
31-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
31+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
cache: 'pip'

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
# Initializes the CodeQL tools for scanning.
5353
- name: Initialize CodeQL
54-
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
54+
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
5555
with:
5656
languages: ${{ matrix.language }}
5757
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -76,4 +76,4 @@ jobs:
7676
# make release
7777

7878
- name: Perform CodeQL Analysis
79-
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
79+
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9

.github/workflows/cve_scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
egress-policy: audit
2323

2424
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
25+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2626
with:
2727
python-version: '3.11'
2828
cache: 'pip'

.github/workflows/formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
egress-policy: audit
2525

2626
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
27+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2828
with:
2929
python-version: '3.11'
3030
cache: 'pip'

.github/workflows/fuzzing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v5.3.0
22+
uses: actions/setup-python@v5.4.0
2323
with:
2424
python-version: 3.9
2525

2626
- name: Install Bazel
2727
run: |
2828
sudo apt-get update
2929
sudo apt-get install -y wget
30-
wget -c https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-amd64
31-
chmod +x bazelisk-linux-amd64
32-
sudo mv bazelisk-linux-amd64 /usr/local/bin/bazel
30+
wget -c https://github.com/bazelbuild/bazel/releases/download/7.4.1/bazel-7.4.1-linux-x86_64
31+
chmod +x bazel-7.4.1-linux-x86_64
32+
sudo mv bazel-7.4.1-linux-x86_64 /usr/local/bin/bazel
3333
bazel --version
3434
3535
- name: Install Fuzzing Dependencies
@@ -67,7 +67,7 @@ jobs:
6767
if: env.sbom != 'true'
6868
run: |
6969
[[ -e fuzz-cache ]] && mkdir -p .cache && mv fuzz-cache ~/.cache/cve-bin-tool
70-
NO_EXIT_CVE_NUM=1 python -m cve_bin_tool.cli test/assets/test-kerberos-5-1.15.1.out
70+
NO_EXIT_CVE_NUM=1 python -m cve_bin_tool.cli test/assets/test-kerberos-5-1.15.1.out --disable-data-source CURL,EPSS,GAD,NVD,OSV,PURL2CPE,RSD
7171
cp -r ~/.cache/cve-bin-tool fuzz-cache
7272
7373
- name: Run Fuzzing
@@ -84,4 +84,4 @@ jobs:
8484
at_index=$((($(date -u +%U) % ${#fuzzing_scripts[@]})))
8585
selected_script="${fuzzing_scripts[$at_index]}"
8686
echo "Selected script: $selected_script"
87-
timeout --preserve-status --signal=SIGINT 60m python $selected_script
87+
timeout --preserve-status --signal=SIGINT 60m python $selected_script

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
egress-policy: audit
2424

2525
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
26-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
26+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2727
with:
2828
python-version: '3.11'
2929
cache: 'pip'

.github/workflows/sbom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
egress-policy: audit
2828

2929
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
30+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3131
with:
3232
python-version: ${{ matrix.python }}
3333
cache: 'pip'

.github/workflows/testing.yml

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
pypi.org:443
5050
5151
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
52-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
52+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
5353
with:
5454
python-version: '3.11'
5555
cache: 'pip'
@@ -72,7 +72,7 @@ jobs:
7272
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
7373
strategy:
7474
matrix:
75-
python: ['3.9', '3.11', '3.12', '3.13']
75+
python: ['3.9', '3.10', '3.11', '3.12'] # updated: replaced 3.13 with 3.10 in short tests
7676
timeout-minutes: 90
7777
steps:
7878
- name: Harden Runner
@@ -108,7 +108,7 @@ jobs:
108108
www.sqlite.org:443
109109
110110
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
111-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
111+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
112112
with:
113113
python-version: ${{ matrix.python }}
114114
cache: 'pip'
@@ -185,7 +185,7 @@ jobs:
185185
test/test_cvedb.py
186186
187187
long_tests:
188-
name: Long tests on Python 3.10
188+
name: Long tests on Python 3.13
189189
permissions:
190190
contents: read
191191
if: |
@@ -204,26 +204,22 @@ jobs:
204204

205205
steps:
206206
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
207-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
207+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
208208
with:
209-
python-version: '3.10'
209+
python-version: '3.13'
210210
cache: 'pip'
211211

212-
# - name: "Skip tests if this is an automated sbom job"
213-
# env:
214-
# COMMIT_VAR: ${{ startsWith(github.head_ref, 'chore-sbom-py') && github.event.pull_request.user.login == 'github-actions[bot]' }}
215-
# run: |
216-
# if ${COMMIT_VAR} == true; then
217-
# echo "sbom=true" >> $GITHUB_ENV
218-
# echo "sbom set to true"
219-
# else
220-
# echo "sbom=false" >> $GITHUB_ENV
221-
# echo "sbom set to false"
222-
# fi
223-
#
224-
- name: "FIXME: Skip tests so we can break out of failure loop"
212+
- name: "Skip tests if this is an automated sbom job"
213+
env:
214+
COMMIT_VAR: ${{ startsWith(github.head_ref, 'chore-sbom-py') && github.event.pull_request.user.login == 'github-actions[bot]' }}
225215
run: |
216+
if ${COMMIT_VAR} == true; then
226217
echo "sbom=true" >> $GITHUB_ENV
218+
echo "sbom set to true"
219+
else
220+
echo "sbom=false" >> $GITHUB_ENV
221+
echo "sbom set to false"
222+
fi
227223
228224
- name: Get date
229225
id: get-date
@@ -290,7 +286,7 @@ jobs:
290286
fail_ci_if_error: false
291287

292288
long_tests_languages:
293-
name: Long tests on Python 3.10 (language parsers)
289+
name: Long tests on Python 3.13 (language parsers)
294290
permissions:
295291
contents: read
296292
if: |
@@ -309,9 +305,9 @@ jobs:
309305

310306
steps:
311307
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
312-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
308+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
313309
with:
314-
python-version: '3.10'
310+
python-version: '3.13'
315311
cache: 'pip'
316312

317313
- name: "Skip tests if this is an automated sbom job"
@@ -377,7 +373,7 @@ jobs:
377373
fail_ci_if_error: false
378374

379375
long_tests_scanners:
380-
name: Long tests on Python 3.10 (scanners)
376+
name: Long tests on Python 3.13 (scanners)
381377
permissions:
382378
contents: read
383379
if: |
@@ -396,9 +392,9 @@ jobs:
396392

397393
steps:
398394
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
399-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
395+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
400396
with:
401-
python-version: '3.10'
397+
python-version: '3.13'
402398
cache: 'pip'
403399

404400
- name: "Skip tests if this is an automated sbom job"
@@ -464,7 +460,7 @@ jobs:
464460
fail_ci_if_error: false
465461

466462
long_tests_sync:
467-
name: Long tests on Python 3.10 (synchronous)
463+
name: Long tests on Python 3.13 (synchronous)
468464
permissions:
469465
contents: read
470466
if: |
@@ -483,9 +479,9 @@ jobs:
483479

484480
steps:
485481
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
486-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
482+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
487483
with:
488-
python-version: '3.10'
484+
python-version: '3.13'
489485
cache: 'pip'
490486

491487
- name: "Skip tests if this is an automated sbom job"
@@ -603,9 +599,9 @@ jobs:
603599
www.sqlite.org:443
604600
605601
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
606-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
602+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
607603
with:
608-
python-version: '3.10'
604+
python-version: '3.13'
609605
cache: 'pip'
610606
- name: Get date
611607
id: get-date
@@ -709,7 +705,7 @@ jobs:
709705
egress-policy: audit
710706

711707
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
712-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
708+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
713709
with:
714710
python-version: '3.12'
715711
cache: 'pip'

.github/workflows/update-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
egress-policy: audit
3232

3333
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
34+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3535
with:
3636
python-version: '3.13'
3737
cache: 'pip'

.github/workflows/update-js-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3030

31-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
31+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3232
with:
3333
python-version: '3.11'
3434

.github/workflows/update-pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3030

31-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
31+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3232
with:
3333
python-version: '3.11'
3434

.github/workflows/validate-yml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2222
with:
2323
fetch-depth: 0
24-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
24+
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2525
with:
2626
python-version: '3.11'
2727
cache: 'pip'

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repos:
1212
rev: 5.13.2
1313
hooks:
1414
- id: isort
15+
stages: [pre-commit, pre-merge-commit]
1516
exclude: ^fuzz/generated/
1617

1718
- repo: https://github.com/psf/black-pre-commit-mirror

0 commit comments

Comments
 (0)