mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
dbff74bee4
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>
146 lines
5.6 KiB
Plaintext
146 lines
5.6 KiB
Plaintext
#
|
|
# All the relative URL paths are intended to be GitHub ones
|
|
# For Espressif's public projects please use '../../espressif/proj', not a '../proj'
|
|
#
|
|
# Submodules SBOM information
|
|
# ---------------------------
|
|
# Submodules, which are used directly and not forked into espressif namespace should
|
|
# contain SBOM information here. Other submodules should have the SBOM manifest file
|
|
# included in the root of their project's repository.
|
|
#
|
|
# The sbom-hash entry records the submodule's checkout SHA as presented in git-tree
|
|
# commit object. For example spiffs submodule
|
|
#
|
|
# $ git ls-tree HEAD components/spiffs/spiffs
|
|
# 160000 commit 0dbb3f71c5f6fae3747a9d935372773762baf852 components/spiffs/spiffs
|
|
#
|
|
# The hash can be also obtained with git submodule command
|
|
#
|
|
# $ git submodule status components/spiffs/spiffs
|
|
# 0dbb3f71c5f6fae3747a9d935372773762baf852 components/spiffs/spiffs (0.2-255-g0dbb3f71c5f6)
|
|
#
|
|
# The submodule SHA recorded here has to match with SHA, which is presented in git-tree.
|
|
# This is checked by CI. Also please don't forget to update the submodule version
|
|
# if you are changing the sbom-hash. This is important for SBOM generation.
|
|
|
|
[submodule "components/bt/controller/lib_esp32"]
|
|
path = components/bt/controller/lib_esp32
|
|
url = ../../espressif/esp32-bt-lib.git
|
|
|
|
[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:a: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
|
|
|
|
[submodule "components/spiffs/spiffs"]
|
|
path = components/spiffs/spiffs
|
|
url = ../../pellepl/spiffs.git
|
|
sbom-version = 0.2-255-g0dbb3f71c5f6
|
|
sbom-supplier = Person: Peter Andersson
|
|
sbom-url = https://github.com/pellepl/spiffs
|
|
sbom-description = Wear-leveled SPI flash file system for embedded devices
|
|
sbom-hash = 0dbb3f71c5f6fae3747a9d935372773762baf852
|
|
|
|
[submodule "components/json/cJSON"]
|
|
path = components/json/cJSON
|
|
url = ../../DaveGamble/cJSON.git
|
|
sbom-version = 1.7.15
|
|
sbom-cpe = cpe:2.3:a:cjson_project:cjson:{}:*:*:*:*:*:*:*
|
|
sbom-supplier = Person: Dave Gamble
|
|
sbom-url = https://github.com/DaveGamble/cJSON
|
|
sbom-description = Ultralightweight JSON parser in ANSI C
|
|
sbom-hash = d348621ca93571343a56862df7de4ff3bc9b5667
|
|
|
|
[submodule "components/mbedtls/mbedtls"]
|
|
path = components/mbedtls/mbedtls
|
|
url = ../../espressif/mbedtls.git
|
|
|
|
[submodule "components/lwip/lwip"]
|
|
path = components/lwip/lwip
|
|
url = ../../espressif/esp-lwip.git
|
|
|
|
[submodule "components/mqtt/esp-mqtt"]
|
|
path = components/mqtt/esp-mqtt
|
|
url = ../../espressif/esp-mqtt.git
|
|
|
|
[submodule "components/protobuf-c/protobuf-c"]
|
|
path = components/protobuf-c/protobuf-c
|
|
url = ../../protobuf-c/protobuf-c.git
|
|
sbom-version = 1.4.1
|
|
sbom-cpe = cpe:2.3:a:protobuf-c_project:protobuf-c:{}:*:*:*:*:*:*:*
|
|
sbom-supplier = Organization: protobuf-c community <https://groups.google.com/g/protobuf-c>
|
|
sbom-url = https://github.com/protobuf-c/protobuf-c
|
|
sbom-description = Protocol Buffers implementation in C
|
|
sbom-hash = abc67a11c6db271bedbb9f58be85d6f4e2ea8389
|
|
|
|
[submodule "components/unity/unity"]
|
|
path = components/unity/unity
|
|
url = ../../ThrowTheSwitch/Unity.git
|
|
sbom-version = v2.4.3-51-g7d2bf62b7e6a
|
|
sbom-supplier = Organization: ThrowTheSwitch community <http://www.throwtheswitch.org>
|
|
sbom-url = https://github.com/ThrowTheSwitch/Unity
|
|
sbom-description = Simple Unit Testing for C
|
|
sbom-hash = 7d2bf62b7e6afaf38153041a9d53c21aeeca9a25
|
|
|
|
[submodule "components/bt/host/nimble/nimble"]
|
|
path = components/bt/host/nimble/nimble
|
|
url = ../../espressif/esp-nimble.git
|
|
|
|
[submodule "components/esp_wifi/lib"]
|
|
path = components/esp_wifi/lib
|
|
url = ../../espressif/esp32-wifi-lib.git
|
|
|
|
[submodule "components/cmock/CMock"]
|
|
path = components/cmock/CMock
|
|
url = ../../ThrowTheSwitch/CMock.git
|
|
sbom-version = v2.5.2-2-geeecc49ce8af
|
|
sbom-supplier = Organization: ThrowTheSwitch community <http://www.throwtheswitch.org>
|
|
sbom-url = https://github.com/ThrowTheSwitch/CMock
|
|
sbom-description = CMock - Mock/stub generator for C
|
|
sbom-hash = eeecc49ce8af123cf8ad40efdb9673e37b56230f
|
|
|
|
[submodule "components/openthread/openthread"]
|
|
path = components/openthread/openthread
|
|
url = ../../espressif/openthread.git
|
|
|
|
[submodule "components/bt/controller/lib_esp32c3_family"]
|
|
path = components/bt/controller/lib_esp32c3_family
|
|
url = ../../espressif/esp32c3-bt-lib.git
|
|
|
|
[submodule "components/esp_phy/lib"]
|
|
path = components/esp_phy/lib
|
|
url = ../../espressif/esp-phy-lib.git
|
|
|
|
[submodule "components/openthread/lib"]
|
|
path = components/openthread/lib
|
|
url = ../../espressif/esp-thread-lib.git
|
|
|
|
[submodule "components/ieee802154/lib"]
|
|
path = components/ieee802154/lib
|
|
url = ../../espressif/esp-ieee802154-lib.git
|
|
|
|
[submodule "components/bt/controller/lib_esp32h2/esp32h2-bt-lib"]
|
|
path = components/bt/controller/lib_esp32h2/esp32h2-bt-lib
|
|
url = ../../espressif/esp32h2-bt-lib.git
|
|
|
|
[submodule "components/bt/controller/lib_esp32c2/esp32c2-bt-lib"]
|
|
path = components/bt/controller/lib_esp32c2/esp32c2-bt-lib
|
|
url = ../../espressif/esp32c2-bt-lib.git
|
|
|
|
[submodule "components/bt/controller/lib_esp32c6/esp32c6-bt-lib"]
|
|
path = components/bt/controller/lib_esp32c6/esp32c6-bt-lib
|
|
url = ../../espressif/esp32c6-bt-lib.git
|
|
|
|
[submodule "components/heap/tlsf"]
|
|
path = components/heap/tlsf
|
|
url = ../../espressif/tlsf.git
|
|
|
|
[submodule "components/esp_coex/lib"]
|
|
path = components/esp_coex/lib
|
|
url = ../../espressif/esp-coex-lib.git
|