- integrations
- Python
- ocx_sdk
RefusedEntry
RefusedEntryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass 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
| Name | Type | Description |
|---|---|---|
referrer_digest | str | The rejected candidate’s own digest. |
reason | str | English prose explaining the refusal — free to be reworded
upstream (PKG-25); branch on reason_kind, never on this text. |
reason_kind | str | The frozen, machine-branchable slug to switch on. |
reasonattributeinstance attribute#
reason: strreason_kindattributeinstance attribute#
reason_kind: strreferrer_digestattributeinstance attribute#
referrer_digest: strfrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> RefusedEntryBuild from one decoded entry of SbomListingReport.refused.