Limiting the size of objects to be scanned for viruses
Limiting the size of objects to be scanned for viruses
Aug 21, 2023
ID 62586
You can specify the maximum size of objects to be scanned for viruses and other threats.
To restrict the size to be scanned for viruses and other threats:
- Export rule settings to an ХML file using the following command:
# /opt/kaspersky/klms/bin/klms-control \
--get-rule-settings <rule ID> -f <rule settings file name>
or--get-rule-settings <rule name> -n -f <rule settings file name>
The
<rule name>
should be enclosed in double quotes if it contains blanks. - Open the rule settings ХML file for editing.
- Specify the maximum size that should be scanned (
0
- no size restriction). To do so, in the<engineSettings>
subsection of the<avScanSettings>
section, for the <maxSizeLimit
> parameter set a value under1073741824 bytes (
equal to1 GB)
. - Save the changes made.
- To import rule settings from an ХML file, use the following command:
# /opt/kaspersky/klms/bin/klms-control \
--set-rule-settings <rule ID> -f <rule settings file name>
or--set-rule-settings <rule name> -n -f <rule settings file name>
The
<rule name>
should be enclosed in double quotes if it contains blanks.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.