Skip to content
ocx
install

RefusedEntry

RefusedEntryclassdataclass#

Re-exported from ocx_sdk._resultsView source
class RefusedEntry(referrer_digest: str, reason: str, reason_kind: str)

One candidate sbom examined and rejected (C-014).

All three fields always present (sbom.rs:192-205).

Attributes

NameTypeDescription
referrer_digeststrThe rejected candidate’s own digest.
reasonstrEnglish prose explaining the refusal — free to be reworded upstream (PKG-25); branch on reason_kind, never on this text.
reason_kindstrThe frozen, machine-branchable slug to switch on.

reasonattributeinstance attribute#

reason: str

reason_kindattributeinstance attribute#

reason_kind: str

referrer_digestattributeinstance attribute#

referrer_digest: str

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> RefusedEntry

Build from one decoded entry of SbomListingReport.refused.