pub enum FindingKind {
Show 24 variants
ExplicitTargetMissing,
ExplicitTargetTypeMismatch,
InvalidReference,
UnsupportedReferenceSemantics,
UnsupportedDocumentFormat,
UnsupportedTargetKind,
UnsupportedVersionScope,
UnsupportedCapability,
DependencyChangedSubjectUnchanged,
DependencyAndSubjectCochanged,
SubjectChanged,
ExplicitReferenceRemoved,
DocumentRemoved,
ExternalOutOfScope,
OpaqueMdxRegion,
OpaqueHtmlRegion,
ObservationCorrelationAmbiguous,
UnlinkedDocument,
PolicyWeakened,
CoverageReduced,
ControlPlaneChanged,
DebtWorsened,
DebtExpired,
WaiverInvalid,
}Expand description
The complete closed v0 finding taxonomy, in schema declaration order.
Variants§
ExplicitTargetMissing
ExplicitTargetTypeMismatch
InvalidReference
UnsupportedReferenceSemantics
UnsupportedDocumentFormat
UnsupportedTargetKind
UnsupportedVersionScope
UnsupportedCapability
DependencyChangedSubjectUnchanged
DependencyAndSubjectCochanged
SubjectChanged
ExplicitReferenceRemoved
DocumentRemoved
ExternalOutOfScope
OpaqueMdxRegion
OpaqueHtmlRegion
ObservationCorrelationAmbiguous
UnlinkedDocument
PolicyWeakened
CoverageReduced
ControlPlaneChanged
DebtWorsened
DebtExpired
WaiverInvalid
Implementations§
Source§impl FindingKind
impl FindingKind
pub const fn as_str(self) -> &'static str
Sourcepub const fn scope(self) -> FindingScope
pub const fn scope(self) -> FindingScope
The closed key-scope assignment.
Sourcepub const fn built_in_disposition(self, enforce: bool) -> Disposition
pub const fn built_in_disposition(self, enforce: bool) -> Disposition
The first policy-step result for a candidate fact under
scanner-policy-defaults-v1, per profile.
Source§impl FindingKind
impl FindingKind
pub const fn evidence_class(self) -> &'static str
pub const fn invariant_class(self) -> &'static str
Trait Implementations§
Source§impl Clone for FindingKind
impl Clone for FindingKind
Source§fn clone(&self) -> FindingKind
fn clone(&self) -> FindingKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FindingKind
Source§impl Debug for FindingKind
impl Debug for FindingKind
impl Eq for FindingKind
Source§impl Ord for FindingKind
impl Ord for FindingKind
Source§fn cmp(&self, other: &FindingKind) -> Ordering
fn cmp(&self, other: &FindingKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FindingKind
impl PartialEq for FindingKind
Source§impl PartialOrd for FindingKind
impl PartialOrd for FindingKind
impl StructuralPartialEq for FindingKind
Auto Trait Implementations§
impl Freeze for FindingKind
impl RefUnwindSafe for FindingKind
impl Send for FindingKind
impl Sync for FindingKind
impl Unpin for FindingKind
impl UnsafeUnpin for FindingKind
impl UnwindSafe for FindingKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more