INNER CODE UNIT · Rust
report_finding
Symph0nia/CyberEdge · src/repository/mod.rs:169
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>;
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>;