You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Add Support for Declaring Usage Context (CBOM, TM, etc) #670
In many security-sensitive applications, it's crucial to understand not just what cryptographic asset is used, but how it is used. For example, an algorithm might be used for legal document signing, authentication/authorization workflows, or encryption at rest.
At present, CycloneDX provides detailed support for cryptographic assets via the cryptoProperties structure. However, it lacks a normative way to specify the usage context of the asset.
Proposed Enhancement
Introduce a new optional field to assert the usage context . This could be an enumeration or free-form string, with examples such as:
The current proposal to add a usageContext field (e.g., signing-legal-documents, authentication, encryption-at-rest) is very useful, but it relies on manual declaration. However, in complex environments, this information is often implicit in existing complex cryptographic processes, which are described by various artifacts such as keys, algorithms, protocols, and the flows in which they are engaged.
An emerging concept suggests that we can determine usage by analyzing the cryptographic processes related to the asset.
A process consists of a sequence of cryptographic operations organized for a specific purpose, such as key generation, signature creation, and document validation. We can discuss the required granularity.
If the process is documented in the inventory or CBOM, then the usage context can be derived normatively without the need for manual declaration.
I recommend considering a proposal to enhance the schema by providing some declarations for these processes.
Activity
stevespringett commentedon Aug 7, 2025
Note to self. This may tie into the work in #463 where we're describing behavior.
akrogames commentedon Sep 18, 2025
The current proposal to add a usageContext field (e.g., signing-legal-documents, authentication, encryption-at-rest) is very useful, but it relies on manual declaration. However, in complex environments, this information is often implicit in existing complex cryptographic processes, which are described by various artifacts such as keys, algorithms, protocols, and the flows in which they are engaged.
An emerging concept suggests that we can determine usage by analyzing the cryptographic processes related to the asset.
A process consists of a sequence of cryptographic operations organized for a specific purpose, such as key generation, signature creation, and document validation. We can discuss the required granularity.
If the process is documented in the inventory or CBOM, then the usage context can be derived normatively without the need for manual declaration.
I recommend considering a proposal to enhance the schema by providing some declarations for these processes.
Initial checkin of behavior model. Should satisfy goals outlined in #670
stevespringett commentedon Aug 31, 2026
Closing as this is now captured in behaviors shipping with 2.0