Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
6fe84e7
fix: add properties field to ModelCard xml and proto to resolve misma…
wiebe-vandendriessche Dec 17, 2025
ba61d08
fix: removed some unnecessary whitespace
wiebe-vandendriessche Dec 17, 2025
8594f3c
fix: bump version numbers in BOM schema files to 1.5.1, 1.6.2, and 1.7.1
wiebe-vandendriessche Jan 15, 2026
995ae24
test: add tests for custom properties field in modelCard (json, xml, …
wiebe-vandendriessche Jan 16, 2026
5253cc8
fix: add another custom property to ModelCard across JSON, XML, and p…
wiebe-vandendriessche Feb 9, 2026
6bd58d4
feat: enum labels for spdx.schema.json
jkowalleck Feb 23, 2026
c023c57
fix(schema): correct typos in content-type text and refType comment
Mehrn0ush Feb 25, 2026
cc6acec
fix(crypto-registry): normalize RFC/FIPS standard name formatting
Mehrn0ush Feb 24, 2026
ed15b8c
chore: update algorithm families [skip ci]
github-actions[bot] Feb 26, 2026
e243156
chore: harden schema validators
jkowalleck Mar 2, 2026
efa346b
Added missing scarf to docs.
stevespringett Mar 2, 2026
1077a1e
Updated documentation generation
stevespringett Mar 10, 2026
5e99aff
Updated documentation generation
stevespringett Mar 10, 2026
1b72aa7
Fixed potential security issue
stevespringett Mar 10, 2026
20ad7c5
Fixed potential security issue
stevespringett Mar 10, 2026
56db703
Potential fix for code scanning alert no. 39: Uncontrolled data used …
stevespringett Mar 10, 2026
7461ab7
Update crypto definitions
bhess Feb 24, 2026
dd6c364
Remove duplicate KDF, merge with kdf with SP800-108r1
bhess Feb 26, 2026
a8c33c3
Consistent use of kdf for password-based key derivation algorithms, a…
bhess Mar 5, 2026
ca44d3c
chore: update algorithm families [skip ci]
github-actions[bot] Mar 5, 2026
d7113a5
major changes to json template doc generation - reducing filesize fro…
stevespringett Mar 10, 2026
bb03d9e
remove buf comments
jkowalleck Mar 12, 2026
2372b9b
fix scroll-padding-top for XML
jkowalleck Mar 13, 2026
0a0644b
Add RSA-X931
jvdsn Mar 11, 2026
a14f771
Add standard
jvdsn Apr 16, 2026
2fb0a18
Add TLS-PRF family
jvdsn Mar 12, 2026
46319ac
Separate out AES KW / KWP
jvdsn Mar 11, 2026
3a032a1
Add SP800-56C family
jvdsn Mar 12, 2026
ced5c38
Add two variants instead of one
jvdsn Mar 12, 2026
704daf1
Fix primitive
jvdsn Mar 12, 2026
72426e2
Fix SipHash primitive classification in cryptography registry
Mehrn0ush Mar 12, 2026
14234a7
Add AES-OCB to cryptography registry
Mehrn0ush Mar 12, 2026
ccb3605
Add ANSI KDFs
jvdsn Mar 12, 2026
a4eeb7e
Deduplicate MD4 and MD5 entries in cryptography registry
Mehrn0ush Mar 12, 2026
db118a0
Remove dash from SHA-3 hash algorithms
jvdsn Mar 11, 2026
032febe
Remove dash from EdDSA
jvdsn Mar 11, 2026
20a0907
Add hashAlgorithm to IKE-PRF
jvdsn Mar 11, 2026
e665103
Fixed JSON issue
stevespringett Mar 26, 2026
e4e3b49
Add SSH-KDF
jvdsn Mar 27, 2026
f0f4730
Initial plan
Copilot Apr 16, 2026
5016701
chore: pin GitHub Actions to immutable commit SHAs
Copilot Apr 16, 2026
0470a0d
chore(workflows): add zizmor security gate and harden Actions credent…
Copilot May 8, 2026
c70cc84
chore: bump schema versions for upcoming changes
jkowalleck May 18, 2026
2efabef
fix: allow multiple entries for ModelCard considerations lists in xml…
wiebe-vandendriessche Dec 17, 2025
5fec39a
test: Add second entry for users, useCases, technicalLimitations, and
wiebe-vandendriessche Jan 16, 2026
4bd68a0
fix: add test cases for all supported formats
wiebe-vandendriessche Feb 9, 2026
13eb309
fix: correct BLS12 algorithm pattern
Mehrn0ush May 2, 2026
ada9a62
fix: correct GOST 28147 algorithm names
Mehrn0ush May 2, 2026
4719040
chore(deps): bump shivammathur/setup-php from 2.37.0 to 2.37.1
dependabot[bot] May 23, 2026
ded5dcc
chore(deps): bump zizmorcore/zizmor-action from 0.5.3 to 0.5.6
dependabot[bot] May 27, 2026
f765402
ci: pinned action comments exact versions
jkowalleck Jun 3, 2026
c5be100
chore: adjust zizmor
jkowalleck Jun 3, 2026
cb22d83
chore: adjust zizmor
jkowalleck Jun 3, 2026
1dd78dd
wip
jkowalleck Jun 3, 2026
3efe1a9
wip
jkowalleck Jun 3, 2026
62e48e1
wip
jkowalleck Jun 3, 2026
4009627
wip
jkowalleck Jun 3, 2026
52c7af8
Add AI/ML schema and update .gitignore
mrutkows Jun 22, 2026
54edb90
Encode the AI/ML schema draft for v2.0
mrutkows Jun 22, 2026
667b2ee
Encode the AI/ML schema draft for v2.0
mrutkows Jun 22, 2026
8a2354a
Update AI/ML v2.0 schema
mrutkows Jun 22, 2026
cdc7564
Update AI/ML v2.0 schema
mrutkows Jun 23, 2026
f95c17e
Update AI/ML v2.0 schema
mrutkows Jun 23, 2026
80aa4d8
Update AI/ML v2.0 schema
mrutkows Jun 23, 2026
b49107f
remove backup of 1.7 ported schema
mrutkows Jun 24, 2026
047c3e3
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
a193f60
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
cd997f4
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
dcb2564
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
aaa4681
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
3695c8c
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
64d0a9b
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
6a0f45d
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
7eccfff
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
e519ac8
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 24, 2026
e86de75
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
79f8a01
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
0b93ad7
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
29aa921
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
530b188
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
0e0e2b7
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
589f183
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
0a326c4
Final adjustments to 2.0 AI/ML schema
mrutkows Jun 25, 2026
8e18937
Final adjustments to 2.0 AI/ML schema
mrutkows Jul 8, 2026
f574e01
Add examples for all simple, non-nested schema objects
mrutkows Jul 8, 2026
61b202f
Add examples for all simple, non-nested schema objects
mrutkows Jul 8, 2026
09524a8
Add examples for all simple, non-nested schema objects
mrutkows Jul 8, 2026
8ec6842
Add popular coding benchmarks to enum.
mrutkows Jul 22, 2026
e1116c4
Future proof modelParameter's format object with properties
mrutkows Jul 30, 2026
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
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand All @@ -16,6 +18,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand All @@ -26,6 +30,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand All @@ -36,6 +42,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand All @@ -46,6 +54,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand All @@ -56,6 +66,8 @@ updates:
schedule:
interval: 'weekly'
day: 'saturday'
cooldown:
default-days: 7
labels: [ 'dependencies' ]
commit-message:
prefix: 'chore' ## prefix maximum string length of 15
Expand Down
22 changes: 14 additions & 8 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up JDK
# see https://github.com/actions/setup-java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: '21'
distribution: 'zulu'
Expand All @@ -33,7 +35,7 @@ jobs:
run: ./gen.sh
- name: Archive Schema documentation
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: XML-Schema-documentation
path: docgen/xml/docs
Expand All @@ -46,18 +48,20 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Python Environment
# see https://github.com/actions/setup-python
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ env.PYTHON_VERSION_DEFAULT }}
architecture: 'x64'
- name: Generate Schema documentation
run: ./gen.sh
- name: Archive Schema documentation
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: JSON-Schema-documentation
path: docgen/json/docs
Expand All @@ -70,12 +74,14 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Generate Schema documentation
run: ./gen.sh
- name: Archive Schema documentation
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: PROTO-Schema-documentation
path: docgen/proto/docs
Expand Down
31 changes: 18 additions & 13 deletions .github/workflows/bundle_2.0_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 2.0-dev-threatmodeling
paths:
- 'schema/2.0/**/*.schema.json'
- 'tools/src/main/js/bundler/bundle-schemas.js'
- 'tools/src/main/js/bundle-schemas.js'
workflow_dispatch: # Allows manual trigger

jobs:
Expand All @@ -19,39 +19,44 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
# see https://github.com/actions/checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v6
# see https://github.com/actions/setup-node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'

- name: Install dependencies
working-directory: tools/src/main/js/bundler
working-directory: tools/src/main/js
run: npm install

- name: Bundle schemas
working-directory: tools/src/main/js/bundler
working-directory: tools/src/main/js
run: |
node bundle-schemas.js \
../../../../../schema/2.0/model \
../../../../../schema/2.0/cyclonedx-2.0.schema.json
../../../../schema/2.0/model \
../../../../schema/2.0/cyclonedx-2.0.schema.json

- name: Check for changes and commit
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BUNDLED_FILE="schema/2.0/cyclonedx-2.0-bundled.schema.json"
MINIFIED_FILE="schema/2.0/cyclonedx-2.0-bundled.min.schema.json"

# Add both files (works for both new and modified files)
git add "$BUNDLED_FILE" "$MINIFIED_FILE"
# Add the file (works for both new and modified files)
git add "$BUNDLED_FILE"

# Check if there are staged changes
if git diff --staged --quiet; then
echo "No changes to bundled schemas"
echo "No changes to bundled schema"
else
echo "Committing bundled schema changes"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "chore: update bundled schemas [skip ci]"
git push
git commit -m "chore: update bundled schema [skip ci]"
git push "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
fi
6 changes: 4 additions & 2 deletions .github/workflows/generate_algorithm_families.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
# see https://github.com/actions/checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v5
# see https://github.com/actions/setup-python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.x'

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up JDK
# see https://github.com/actions/setup-java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: '8'
distribution: 'zulu'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
# see https://github.com/actions/setup-node
uses: actions/setup-node@v6
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24.x'
package-manager-cache: false
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup PHP
# see https://github.com/shivammathur/setup-php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
with:
php-version: "8.4"
tools: composer:v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run test
run: ./test.sh
16 changes: 10 additions & 6 deletions .github/workflows/update_spdx_licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
ref: ${{ github.ref_name }}
persist-credentials: false
- name: Set up JDK
# see https://github.com/actions/setup-java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: '21'
distribution: 'zulu'
Expand All @@ -54,7 +55,7 @@ jobs:
- name: Artifact changes
if: ${{ steps.diff.outputs.changed == 'true' }}
# https://github.com/actions/upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
retention-days: 1
name: schema-spdx
Expand All @@ -74,9 +75,10 @@ jobs:
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
ref: ${{ github.ref_name }}
persist-credentials: false
- name: Switch branch
id: branch
run: |
Expand All @@ -93,11 +95,13 @@ jobs:
fi
- name: Fetch changes
# https://github.com/actions/download-artifact
uses: actions/download-artifact@v5
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: schema-spdx
path: schema
- name: Commit and push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
if git diff --quiet -- 'schema/spdx.*'
Expand All @@ -109,7 +113,7 @@ jobs:
git config user.email 'spdx-license-bumper@bot.local'
git add -A schema
git commit -s -m "feat: bump SPDX licenses $SB_VERSION"
git push origin "$SB_BRANCH"
git push "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$SB_BRANCH"
- name: Pull request
if: ${{ steps.branch.outputs.existed == 'false' }}
run: >
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Zizmor

on:
push:
branches: ['master', 'main']
pull_request:
branches: ['**']
workflow_dispatch:
schedule:
- cron: '0 0 * * 6'

permissions: {}

concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true

jobs:
zizmor:
name: Zizmor
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Checkout
# see https://github.com/actions/checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run zizmor 🌈
# see https://github.com/zizmorcore/zizmor-action
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
with:
# advanced-security: false => emit findings as workflow-command annotations (::error file=…) rather than
# uploading a SARIF report to GitHub's Security tab.
# Uploading SARIF requires `security-events: write` and GitHub Advanced Security (GHAS),
# both of which are unnecessary here and would violate the least-privilege policy.
# The two modes are mutually exclusive: advanced-security must be false for
# annotations to take effect.
advanced-security: false
annotations: true
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Filesystem
**/.DS_Store

# Tooling
.idea/
.vscode/
tools/target/
.bob

# UML diagrams
**/.uml/
Loading