INNER CODE UNIT · Rust
search_assets
Symph0nia/CyberEdge · src/repository/mod.rs:158
async fn search_assets(&self, scope_id: &str) -> Result<Vec<Asset>, RepositoryError>;
async fn search_services(&self, scope_id: &str) -> Result<Vec<Service>, RepositoryError>;
async fn search_certificates(
&self,
scope_id: &str,
) -> Result<Vec<Certificate>, RepositoryError>;
async fn search_websites(&self, scope_id: &str) -> Result<Vec<Website>, RepositoryError>;
async fn report_finding(
&self,
mutation: &Mutation,
finding: Finding,
) -> Result<MutationResult<Finding>, RepositoryError>;
async fn search_findings(&self, scope_id: &str) -> Result<Vec<Finding>, RepositoryError>;