REQ-DDB-WIKI-051: The SBOM page renders the repository’s own SBOM beside its files’ licences¶
What it requires
- The SBOM page reads the repository's SBOM files (SPDX 2.3 JSON, or CycloneDX JSON;
wiki.sbom.files, by defaultsbom.spdx.jsonandbom.cdx.jsonat the root) and shows the package licence and a component table (name, version, licence, kind, source, digest), flagging NOASSERTION, and a licence not on the accepted list (wiki.sbom.accepted, elsedocs/sbom.toml'saccepted; with neither nothing is called unaccepted). - It never writes or edits an SBOM.
- Beside it, the index's per-file SPDX identifiers: counts by licence and how many indexed files carry none.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
Tests (51)
Linked directly
37 tests: 37 passed
37 passed
Reached through calls
14 tests: 14 passed
14 passed
| test | result | linked by | implementers exercised | calls away |
|---|---|---|---|---|
test_a_running_hub_is_opened_instead_and_a_dead_one_ignored | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 4 |
test_without_a_hub_the_static_site_is_built_and_opened | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 4 |
test_check_refresh_brings_the_index_current_first | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_check_exits_nonzero_on_a_problem | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_creates_the_output_directory | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_prints_the_flow_as_json | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_prints_the_trace | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_takes_an_out_of_tree_config | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_writes_markdown_without_sphinx | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_cli_writes_otlp_json_and_the_overlay | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_command_prints_yaml_and_applies_a_reviewed_file | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_flow_verb_prints_svg | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_the_trace_cli_reads_imports_from_the_config | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |
test_wiki_check_prints_ears_notes_without_failing_on_them | passed | inferred | 3 of 3: read_sbom, sbom_html, sbom_page | 5 |