Skip to contentSkip to conversation

lib: sbom30: Add action statement for affected VEX statements

PATCH New Joshua Watt 1 participant 1 message Mar 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: sbom30: Add action statement for affected VEX statements

VEX Affected relationships have a mandatory action statement that indicates the mitigation for a vulnerability. Since we don't track this add a statement indicating that no mitigation is known.

---
 meta/lib/oe/sbom30.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oe/sbom30.py +1 -0
index 0595ebd41ca..227ac518770 100644
@@ -685,6 +685,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet):
             to,
             spdxid_name="vex-affected",
             security_vexVersion=VEX_VERSION,
+            security_actionStatement="Mitigation action unknown",
         )
 
     def new_vex_ignored_relationship(self, from_, to, *, impact_statement):
Signature · 1 line
2.47.1