Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


3.1.2 Optionally, add the vscan friendly name to the configuration to enable it in the administrative it in the administrative user interface.

ui.tasknames = \
profileformats = Profile Bitstream Formats, \
requiredmetadata = Check for Required Metadata, \
vscan = Scan for Viruses

...

service.host = <ipaddress of service host>
The ip address where host where the clam daemon runs, and which is configured in the clamd configuration file.
service.port = <port of service host>
The port where the host where the clam daemon runs.
socket.timeout = <socket timeout in millis>
The timeout value to use when the socket is connecting.
failfast = <true|false>
When scanning from the user interface, a value of true indicates that the scan process will stop at the first infected bitstream found. Otherwise, all of the bitstreams for the target item will be scanned. Only the infected bitstream(s) will be reported on.

4. Run a virus scan task from the GUI

Curation tasks can be run against container and item dspace objects by e-persons with administrative privileges. A curation tab will appear in the administrative ui after logging into dspace.
Click on the curation tab.
Select the option configured in step 3.1.2 above.
Select Perform.

5. Run a virus scan task from the curation command line client

5.1 Output the results to the console.
<dspace install>/bin/dspace curate -t vscan -i <handle of container or item dso> -r - -v
5.2 Capture these results in a file.
<dspace install>/bin/dspace curate -t vscan -i <handle of container or item dso> -r - -v > /<path...>/<name>
Table 1 – Virus Scan Results Table

...