INNER CODE UNIT · Rust
search_findings
Symph0nia/CyberEdge · src/repository/mod.rs:175
async fn search_findings(&self, scope_id: &str) -> Result<Vec<Finding>, RepositoryError>;
async fn search_observations(&self, task_id: &str)
-> Result<Vec<Observation>, RepositoryError>;
async fn get_evidence(&self, evidence_id: &str) -> Result<Evidence, RepositoryError>;
async fn claim_task(
&self,
timestamp: prost_types::Timestamp,
) -> Result<Option<ClaimedTask>, RepositoryError>;
async fn complete_task(
&self,
task_id: &str,
records: Vec<DiscoveryRecord>,
timestamp: prost_types::Timestamp,
) -> Result<(), RepositoryError>;