2021-12-27 13:52:26 +01:00
|
|
|
from typing import List
|
|
|
|
|
|
|
|
# List of directories to search for immutablle files. Defaults to "/".
|
|
|
|
SEARCH_LOCATIONS = [] # type: List[str]
|
|
|
|
|
|
|
|
# To prevent a timeout if this script is run regularly for monitoring,
|
|
|
|
# the search can be done in steps for each location given in SEARCH_LOCATIONS.
|
|
|
|
# Steps mean if you have location_A, the first execution of this script will
|
|
|
|
# process location_A non-recursively and terminates,
|
|
|
|
# the second execution will process location_A/subdir_A recursively and terminates,
|
|
|
|
# the third execution will process location_A/subdir_B recursively and terminates and so on.
|
2022-01-05 20:16:57 +01:00
|
|
|
# After all subdirectories where processed, the subsequent execution will begin again with location_A non-recursively.
|
2021-12-27 13:52:26 +01:00
|
|
|
SEARCH_IN_STEPS = False
|
|
|
|
|
|
|
|
# List of directories to ignore.
|
|
|
|
IMMUTABLE_DIRECTORY_WHITELIST = [] # type: List[str]
|
|
|
|
|
|
|
|
# List of immutable files to ignore.
|
|
|
|
IMMUTABLE_FILE_WHITELIST = [] # type: List[str]
|
|
|
|
|
|
|
|
# Is the script allowed to run or not?
|
|
|
|
ACTIVATED = True
|