You can add or delete a scan scope with a specified Path
for OAS, ODS, OAFIM, ODFIM, and AntiCryptor tasks from the command line.
To add a new scan scope, execute the following command:
kics-control --set-settings <task
ID>|<task
>|<
task name
> --add-path <
path
>
A new [ScanScope.item_#]
section will be added to the configuration file. The application scans the objects in the directory specified by the Path
setting.
If a [ScanScope.item_#]
section already exists for the specified Path
setting, a duplicate section will not be added to the configuration file. If the UseScanArea
setting is set to No
its value will change to Yes
after this command is executed and the objects located in this directory will be scanned.
To delete a scan scope, execute the following command:
kics-control --set-settings <task
ID>|<task
>|<
task name
> --del-path <
path
>
The [ScanScope.item_#]
section that contains the specified path will be deleted from the task configuration file. The application will not scan the objects in the directory specified by the Path
setting.