esp-idf/tools
Frantisek Hrbata 7f9a5a8b71 tools: add sbom information for submodules
Conflicts:
- protobuf-c submodule version and hash changed to v1.4.0
- removed pytest dependency

This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.

The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:

sbom-version:
   submodule version

sbom-cpe:
   CPE record if available in NVD. This will be used by the SBOM
   tool to check for possible submodule vulnerabilities. The
   version in the CPE can be replaced with the "{}" placeholder,
   which will be replaced by the "sbom-version" value from above.

sbom-supplier:
   Person or organization who is providing the submodule.
   It has to start with "Person:" or "Organization:" prefix
   as required by the SPDX-2.2 standard.

sbom-url:
   URL to the project if exists, e.g. github.

sbom-description:
   Project description.

sbom-hash:
   Submodule SHA as recorded in the git-tree. This field is used by
   CI to check that the submodule checkout hash and info in .gitmodules
   are in sync. IOW if submodule is updated and it has SBOM info in
   .gitmodules, the .gitmodules has to be updated too. The test is
   part of this commit. The checkout has of the submodule can be found
   by using "git submodule status".

Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
	path = components/bootloader/subproject/components/micro-ecc/micro-ecc
	url = ../../kmackay/micro-ecc.git
	sbom-version = 1.0
	sbom-cpe = cpe:2.3🅰️micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
	sbom-supplier = Person: Ken MacKay
	sbom-url = https://github.com/kmackay/micro-ecc
	sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
	sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-15 06:45:17 +02:00
..
ble
catch
ci coredump: remove tests (moved to esp-coredump repo) 2023-05-16 13:04:27 +08:00
cmake tools: extend information in project_description.json 2023-06-08 18:35:00 +02:00
docker feat (cmock): add ruby and libbsd-dev to docker image 2023-03-10 17:54:33 +08:00
esp_app_trace
esp_prov
find_build_apps
idf_monitor_base bug(monitor/console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2 2023-04-21 15:52:13 +02:00
idf_py_actions
idf_size_yaml
kconfig
kconfig_new
ldgen
mass_mfg
mocks
templates/sample_component
test_apps app: Updates the chip version format (vX.Y) 2023-03-03 22:26:39 +00:00
test_idf_monitor
test_idf_py
test_idf_size
test_idf_tools
test_mkdfu
test_mkuf2
test_sbom tools: add sbom information for submodules 2023-06-15 06:45:17 +02:00
unit-test-app
windows
build_apps.py
check_python_dependencies.py
check_term.py
detect_python.fish
detect_python.sh
eclipse-code-style.xml
find_apps.py
format-minimal.sh
format.sh
gdb_panic_server.py
gen_esp_err_to_name.py
idf.py
idf_monitor.py
idf_size.py
idf_tools.py Tools: Update the certificate of idf_tools.py 2023-05-25 16:30:22 +02:00
mkdfu.py
mkuf2.py
python_version_checker.py
set-submodules-to-github.sh
toolchain_versions.mk
tools.json tools: add ULP toolchain for linux-i686 platform 2023-06-13 12:50:38 +07:00
tools_schema.json