Specifying an exclusion scope
Specifying an exclusion scope
July 25, 2024
ID 197965
You can specify an exclusion scope for the File Threat Protection task. Files in the exclusion scope are excluded from protection scopes.
To create an exclusion scope:
- Save the File Threat Protection task settings to a file using the following command:
kics-control --get-settings 1 --file <
full path to the configuration file
>
- Add the
[ExcludedFromScanScope.item_#]
section to the created file. The section contains the following settings:AreaDesc
– a description of the exclusion scope, which contains additional information about the exclusion scope.Path
– the path to the files or directories to be excluded from the protection scope.AreaMask.item_#
– file name mask for files to be excluded from the protection scope.Example:
[ExcludedFromScanScope.item_0000]
AreaDesc=
UseScanArea=Yes
Path=/tmp/notchecked
AreaMask.item_0000=*
- Import settings from the configuration file to the File Threat Protection task by using the following command:
kics-control --set-settings 1 --file <
full path to the configuration file
>
You can also manage exclusion scopes from the command line.
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.