REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.05 KB
Close
/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/feature_management/constants.py
Text
Base64
# feature name constants PROACTIVE = "proactive" AV = "av" #: Not available permissions NA = "na" #: Full permissions FULL = "full" #: Report only permission for AV feature AV_REPORT = "report" #: Log-only permission for PROACTIVE feature. #: User retains the feature in observation mode (PROACTIVE_DEFENCE.mode=LOG) #: instead of having it fully disabled. Selected by the #: FEATURE_MANAGEMENT.proactive_disable_target config toggle. LOG = "log" # config sections related to feature CONFIG_MAPPINGS = { PROACTIVE: { "PROACTIVE_DEFENCE": [FULL, LOG], }, } # Native FM panel extension name NATIVE_EXTENSION_NAME = "imunify360" # Mapping of feature names to extension variables FEATURE_EXT_VARIABLES = { AV: "imunify360_av", PROACTIVE: "imunify360_proactive", } # Mapping of extension variable to default value EXTENSION_DEFAULTS = { FEATURE_EXT_VARIABLES[AV]: AV_REPORT, FEATURE_EXT_VARIABLES[PROACTIVE]: FULL, } NATIVE_FEATURE_MANAGEMENT_PACKAGE_EXTENSION_FILES = ( NATIVE_EXTENSION_NAME, NATIVE_EXTENSION_NAME + ".tt2", )
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
plugins
DIR
-
drwxr-xr-x
2026-06-08 20:23:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rpc
DIR
-
drwxr-xr-x
2026-06-08 20:23:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__pycache__
DIR
-
drwxr-xr-x
2026-06-08 20:23:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
checkers.py
2.45 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
constants.py
1.05 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
control.py
2.50 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
exceptions.py
306 B
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hooks.py
2.64 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lookup.py
2.76 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
model.py
2.37 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils.py
3.48 KB
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
0 B
lrw-r--r--
2026-05-26 21:20:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).