pub struct FindingsApi { /* private fields */ }
Expand description
Findings API client
Implementations§
Source§impl FindingsApi
impl FindingsApi
Sourcepub fn new(client: VeracodeClient) -> Self
pub fn new(client: VeracodeClient) -> Self
Create new findings API client
Sourcepub async fn get_findings(
&self,
query: &FindingsQuery<'_>,
) -> Result<FindingsResponse, FindingsError>
pub async fn get_findings( &self, query: &FindingsQuery<'_>, ) -> Result<FindingsResponse, FindingsError>
Get findings with pagination
Sourcepub async fn get_all_findings(
&self,
query: &FindingsQuery<'_>,
) -> Result<Vec<RestFinding>, FindingsError>
pub async fn get_all_findings( &self, query: &FindingsQuery<'_>, ) -> Result<Vec<RestFinding>, FindingsError>
Get all findings across all pages automatically
Sourcepub async fn get_policy_findings(
&self,
app_guid: &str,
) -> Result<FindingsResponse, FindingsError>
pub async fn get_policy_findings( &self, app_guid: &str, ) -> Result<FindingsResponse, FindingsError>
Get policy scan findings (convenience method)
Sourcepub async fn get_sandbox_findings(
&self,
app_guid: &str,
sandbox_guid: &str,
) -> Result<FindingsResponse, FindingsError>
pub async fn get_sandbox_findings( &self, app_guid: &str, sandbox_guid: &str, ) -> Result<FindingsResponse, FindingsError>
Get sandbox findings (convenience method)
Sourcepub async fn get_all_policy_findings(
&self,
app_guid: &str,
) -> Result<Vec<RestFinding>, FindingsError>
pub async fn get_all_policy_findings( &self, app_guid: &str, ) -> Result<Vec<RestFinding>, FindingsError>
Get all policy scan findings (convenience method)
Sourcepub async fn get_all_sandbox_findings(
&self,
app_guid: &str,
sandbox_guid: &str,
) -> Result<Vec<RestFinding>, FindingsError>
pub async fn get_all_sandbox_findings( &self, app_guid: &str, sandbox_guid: &str, ) -> Result<Vec<RestFinding>, FindingsError>
Get all sandbox findings (convenience method)
Trait Implementations§
Source§impl Clone for FindingsApi
impl Clone for FindingsApi
Source§fn clone(&self) -> FindingsApi
fn clone(&self) -> FindingsApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FindingsApi
impl !RefUnwindSafe for FindingsApi
impl Send for FindingsApi
impl Sync for FindingsApi
impl Unpin for FindingsApi
impl !UnwindSafe for FindingsApi
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