REQ-DDB-WIKI-051: The SBOM page renders the repository’s own SBOM beside its files’ licences

← Requirements

What it requires

  1. The SBOM page reads the repository's SBOM files (SPDX 2.3 JSON, or CycloneDX JSON; wiki.sbom.files, by default sbom.spdx.json and bom.cdx.json at 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, else docs/sbom.toml's accepted; with neither nothing is called unaccepted).
  2. It never writes or edits an SBOM.
  3. 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

Where it lives

  • Wiki: this site3

See it on the map

How it is met

implemented byresults (51 tests)read_sbomsbom_htmlsbom_page51 passed51 tests, a summary by result: every test is in the tests table below

Show on the map

Implemented by

Tests (51)

Linked directly

37 tests: 37 passed

37 passed
testresultlinked byimplementers exercisedcalls away
test_an_audience_can_redact_ownerspassedmeasured2 of 3: sbom_html, sbom_page—
test_calls_into_a_vendor_area_end_at_its_boundary_nodepassedmeasured2 of 3: sbom_html, sbom_page—
test_owners_overlay_the_map_and_the_file_pagepassedmeasured2 of 3: sbom_html, sbom_page—
test_vendor_areas_sit_outside_the_first_party_circlepassedmeasured2 of 3: sbom_html, sbom_page—
test_a_malformed_sbom_section_is_refused_by_namepassedcatalogunknown—
test_noassertion_and_unaccepted_licences_are_flaggedpassedmeasured2 of 3: read_sbom, sbom_html1
test_a_cyclonedx_sbom_reads_the_same_shapepassedmeasured1 of 3: read_sbom1
test_an_spdx_sbom_reads_its_package_and_componentspassedmeasured1 of 3: read_sbom1
test_the_repositorys_files_licences_are_summarisedpassedmeasured1 of 3: sbom_html1
test_the_sbom_drops_empty_columns_normalises_licences_and_states_coveragepassedmeasured1 of 3: sbom_html1
test_without_an_accepted_list_nothing_is_called_unacceptedpassedmeasured1 of 3: sbom_html1
test_a_build_writes_the_summary_beside_the_sitepassedmeasured2 of 3: sbom_html, sbom_page3
test_a_catalog_that_moved_since_its_pin_fails_checkpassedmeasured2 of 3: sbom_html, sbom_page3
test_a_discovered_flow_that_cannot_be_drawn_is_listed_not_fatalpassedmeasured2 of 3: sbom_html, sbom_page3
test_a_model_no_code_realises_gets_no_pagepassedmeasured2 of 3: sbom_html, sbom_page3
test_a_partner_site_bundles_no_body_on_symbol_pagespassedmeasured2 of 3: sbom_html, sbom_page3
test_a_partner_site_carries_no_call_textpassedmeasured2 of 3: sbom_html, sbom_page3
test_a_partner_site_lists_no_assertionspassedmeasured2 of 3: sbom_html, sbom_page3
test_a_public_site_keeps_requirement_text_off_the_requirement_pagepassedmeasured2 of 3: sbom_html, sbom_page3
test_a_repository_with_pinned_catalogues_gets_the_product_tracepassedmeasured2 of 3: sbom_html, sbom_page3
test_an_audience_that_excludes_bodies_gets_nonepassedmeasured2 of 3: sbom_html, sbom_page3
test_an_imported_trace_is_drawn_over_its_test_flowpassedmeasured2 of 3: sbom_html, sbom_page3
test_build_writes_a_self_contained_sitepassedmeasured2 of 3: sbom_html, sbom_page3
test_exports_obey_the_audiencepassedmeasured2 of 3: sbom_html, sbom_page3
test_needs_json_contributes_requirementspassedmeasured2 of 3: sbom_html, sbom_page3
test_the_site_names_a_declared_report_it_could_not_readpassedmeasured2 of 3: sbom_html, sbom_page3
test_the_site_shows_nodes_rules_catalogs_and_mutationspassedmeasured2 of 3: sbom_html, sbom_page3
test_versioned_builds_and_a_diff_between_thempassedmeasured2 of 3: sbom_html, sbom_page3
test_versions_burn_down_toward_roadmap_milestonespassedmeasured2 of 3: sbom_html, sbom_page3
test_a_failed_fetch_is_said_not_shown_as_no_issuespassedmeasured2 of 3: sbom_html, sbom_page4
test_a_linked_test_page_draws_its_flowchart_and_a_test_naming_no_mode_does_notpassedmeasured2 of 3: sbom_html, sbom_page4
test_a_page_marks_the_branch_its_recorded_run_failed_onpassedmeasured2 of 3: sbom_html, sbom_page4
test_an_empty_report_is_a_measured_zeropassedmeasured2 of 3: sbom_html, sbom_page4
test_change_impact_follows_a_changed_function_to_requirements_and_flowspassedmeasured2 of 3: sbom_html, sbom_page4
test_open_issues_reach_the_requirement_and_its_grouppassedmeasured2 of 3: sbom_html, sbom_page4
test_the_impact_page_links_the_map_change_lenspassedmeasured2 of 3: sbom_html, sbom_page4
test_without_a_report_the_change_is_not_measuredpassedmeasured2 of 3: sbom_html, sbom_page4
Reached through calls

14 tests: 14 passed

14 passed
testresultlinked byimplementers exercisedcalls away
test_a_running_hub_is_opened_instead_and_a_dead_one_ignoredpassedinferred3 of 3: read_sbom, sbom_html, sbom_page4
test_without_a_hub_the_static_site_is_built_and_openedpassedinferred3 of 3: read_sbom, sbom_html, sbom_page4
test_check_refresh_brings_the_index_current_firstpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_check_exits_nonzero_on_a_problempassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_creates_the_output_directorypassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_prints_the_flow_as_jsonpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_prints_the_tracepassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_takes_an_out_of_tree_configpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_writes_markdown_without_sphinxpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_cli_writes_otlp_json_and_the_overlaypassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_command_prints_yaml_and_applies_a_reviewed_filepassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_flow_verb_prints_svgpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_the_trace_cli_reads_imports_from_the_configpassedinferred3 of 3: read_sbom, sbom_html, sbom_page5
test_wiki_check_prints_ears_notes_without_failing_on_thempassedinferred3 of 3: read_sbom, sbom_html, sbom_page5