ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- class VirusScan.VirusScan(system, config, vtype=None)¶
I am the public interface common to all implementations of <no title>. Combined we implement the Bridge Pattern
Parameters:
system: a <no title> object to interact with the target system
config: a <no title> that defines this user
vtype: optionally the type of VirusScan to be wrapped by this instance, otherwise the value is read from config
- handle_alert(category=None, program=None)¶
Handle a real-time alert displayed by the VirusScan
- run_full_scan(block=True)¶
Start a full system scan and optionally wait for it to finish.
Parameters:
block: Whether or not to wait until the scan is finished before this function returns, defaults to True
- run_quick_scan(block=True)¶
Run the quick version of the scan and optionally wait for it to finish.
Parameters:
block: Whether or not to wait until the scan is finished before this function returns, defaults to True
- update()¶
Have the VirusScan check for and apply any available updates.