Documentation/sbom: Add SBOM Documentation
Change-Id: I39fbcba60a0fbdbed9f662119ed7692c0a0fd30e Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68995 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
committed by
Lean Sheng Tan
parent
65c456227e
commit
5d9a7cc138
61
Documentation/sbom/sbom_generation.plantuml
Normal file
61
Documentation/sbom/sbom_generation.plantuml
Normal file
@@ -0,0 +1,61 @@
|
||||
@startuml
|
||||
|
||||
map "src/sbom/compiler-gcc.json" as gcc {
|
||||
software-name => GCC
|
||||
version => x.y.z
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/intel-me.json" as me {
|
||||
software-name => Intel Mangement Engine
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/intel-microcode.json" as ucode {
|
||||
software-name => Intel Microcode
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/generic-ec.json" as ec {
|
||||
software-name => ecxyz
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/generic-fsp.json" as fsp {
|
||||
software-name => Firmware Support Package
|
||||
version => x.y.z
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/payload-[...].json" as payload {
|
||||
software-name => ...
|
||||
version => x.y.z
|
||||
... => ...
|
||||
}
|
||||
map "src/sbom/coreboot.json" as coreboot {
|
||||
software-name => coreboot
|
||||
version => x.y.z
|
||||
url => coreboot.rocks
|
||||
... => ...
|
||||
}
|
||||
object "sbom.uswid" as uswid {
|
||||
merged SBOM data in binary format
|
||||
}
|
||||
object goswid {
|
||||
# ./goswid
|
||||
--compiler gcc.json
|
||||
--parent coreboot.json
|
||||
--requires fsp.json,payload.json
|
||||
intel-me.json
|
||||
intel-ec.json
|
||||
intel-ucode.json
|
||||
--output sbom.uswid
|
||||
}
|
||||
|
||||
left to right direction
|
||||
gcc --> goswid
|
||||
me --> goswid
|
||||
ucode --> goswid
|
||||
goswid <-- ec
|
||||
goswid <-- fsp
|
||||
goswid <-- payload
|
||||
|
||||
coreboot -up> goswid
|
||||
goswid -up> uswid
|
||||
|
||||
@enduml
|
Reference in New Issue
Block a user