Trait nessus::VulnScanner
[−]
[src]
pub trait VulnScanner { fn list_policies(&self) -> Result<PolicyReponse>; fn create_scan(
&self,
template_uuid: &str,
settings: ScanSettings
) -> Result<CreateScanResponse>; fn configure_scan(
&self,
scan_id: u64,
template_uuid: Option<String>,
settings: ScanSettingsUpdate
) -> Result<UpdateScanResponse>; fn delete_history(&self, scan_id: u64, history_id: u64) -> Result<()>; fn delete_scan(&self, scan_id: u64) -> Result<()>; fn launch_scan(&self, id: u64) -> Result<ScanLaunchResponse>; fn stop_scan(&self, id: u64) -> Result<()>; fn pause_scan(&self, id: u64) -> Result<()>; fn resume_scan(&self, id: u64) -> Result<()>; fn scan_details(&self, id: u64) -> Result<ScanDetails>; fn list_scans(&self) -> Result<ScanListResponse>; fn list_scan_folder(&self, id: u64) -> Result<ScanListResponse>; fn export_scan(&self, scan_id: u64) -> Result<ExportToken>; fn export_status(&self, scan_id: u64, file_id: u64) -> Result<ExportStatus>; fn download_export_raw(&self, scan_id: u64, file_id: u64) -> Result<String>; fn download_export(
&self,
scan_id: u64,
file_id: u64
) -> Result<NessusClientDatav2>; }
Required Methods
fn list_policies(&self) -> Result<PolicyReponse>
fn create_scan(
&self,
template_uuid: &str,
settings: ScanSettings
) -> Result<CreateScanResponse>
&self,
template_uuid: &str,
settings: ScanSettings
) -> Result<CreateScanResponse>
fn configure_scan(
&self,
scan_id: u64,
template_uuid: Option<String>,
settings: ScanSettingsUpdate
) -> Result<UpdateScanResponse>
&self,
scan_id: u64,
template_uuid: Option<String>,
settings: ScanSettingsUpdate
) -> Result<UpdateScanResponse>
fn delete_history(&self, scan_id: u64, history_id: u64) -> Result<()>
fn delete_scan(&self, scan_id: u64) -> Result<()>
fn launch_scan(&self, id: u64) -> Result<ScanLaunchResponse>
fn stop_scan(&self, id: u64) -> Result<()>
fn pause_scan(&self, id: u64) -> Result<()>
fn resume_scan(&self, id: u64) -> Result<()>
fn scan_details(&self, id: u64) -> Result<ScanDetails>
fn list_scans(&self) -> Result<ScanListResponse>
fn list_scan_folder(&self, id: u64) -> Result<ScanListResponse>
fn export_scan(&self, scan_id: u64) -> Result<ExportToken>
fn export_status(&self, scan_id: u64, file_id: u64) -> Result<ExportStatus>
fn download_export_raw(&self, scan_id: u64, file_id: u64) -> Result<String>
fn download_export(
&self,
scan_id: u64,
file_id: u64
) -> Result<NessusClientDatav2>
&self,
scan_id: u64,
file_id: u64
) -> Result<NessusClientDatav2>
Implementors
impl VulnScanner for Client