Finding

Struct Finding 

Source
#[non_exhaustive]
pub struct Finding {
Show 18 fields pub created_time: Option<i64>, pub created_time_dt: Option<String>, pub desc: Option<String>, pub first_seen_time: Option<i64>, pub first_seen_time_dt: Option<String>, pub last_seen_time: Option<i64>, pub last_seen_time_dt: Option<String>, pub modified_time: Option<i64>, pub modified_time_dt: Option<String>, pub product: Option<Box<Product>>, pub product_uid: Option<String>, pub related_events: Option<Vec<RelatedEvent>>, pub remediation: Option<Box<Remediation>>, pub src_url: Option<String>, pub supporting_data: Option<Value>, pub title: Option<String>, pub types: Option<Vec<String>>, pub uid: Option<String>,
}
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)
Expand description

Finding

The Finding object describes metadata related to a security finding generated by a security tool or system.

[] Category: | Name: finding

Fields (Non-exhaustive)ยง

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
ยงcreated_time: Option<i64>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Created Time

The time when the finding was created.

optional

ยงcreated_time_dt: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Created Time

The time when the finding was created.

optional

ยงdesc: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Description

The description of the reported finding.

optional

ยงfirst_seen_time: Option<i64>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

First Seen

The time when the finding was first observed.

optional

ยงfirst_seen_time_dt: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

First Seen

The time when the finding was first observed.

optional

ยงlast_seen_time: Option<i64>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Last Seen

The time when the finding was most recently observed.

optional

ยงlast_seen_time_dt: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Last Seen

The time when the finding was most recently observed.

optional

ยงmodified_time: Option<i64>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Modified Time

The time when the finding was last modified.

optional

ยงmodified_time_dt: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Modified Time

The time when the finding was last modified.

optional

ยงproduct: Option<Box<Product>>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Product

Details about the product that reported the finding.

optional

ยงproduct_uid: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Product Identifier

The unique identifier of the product that reported the finding.

optional

ยงrelated_events: Option<Vec<RelatedEvent>>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Related Events/Findings

Describes events and/or other findings related to the finding as identified by the security product. Note that these events may or may not be in OCSF.

optional

ยงremediation: Option<Box<Remediation>>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Remediation Guidance

Describes the recommended remediation steps to address identified issue(s).

optional

ยงsrc_url: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Source URL

The URL pointing to the source of the finding.

optional

ยงsupporting_data: Option<Value>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Supporting Data

Additional data supporting a finding as provided by security tool

optional

ยงtitle: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Title

A title or a brief phrase summarizing the reported finding.

required

ยงtypes: Option<Vec<String>>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Types

One or more types of the reported finding.

optional

ยงuid: Option<String>
๐Ÿ‘ŽDeprecated: Use the new <code>finding_info</code> object. (Since 1.0.0)

Unique ID

The unique identifier of the reported finding.

required

Trait Implementationsยง

Sourceยง

impl Clone for Finding

Sourceยง

fn clone(&self) -> Finding

Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Sourceยง

impl Debug for Finding

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Sourceยง

impl Default for Finding

Sourceยง

fn default() -> Finding

Returns the โ€œdefault valueโ€ for a type. Read more
Sourceยง

impl<'de> Deserialize<'de> for Finding

Sourceยง

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Sourceยง

impl PartialEq for Finding

Sourceยง

fn eq(&self, other: &Finding) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Sourceยง

impl Serialize for Finding

Sourceยง

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Sourceยง

impl StructuralPartialEq for Finding

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dest: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Sourceยง

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,