# 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" # config sections related to feature CONFIG_MAPPINGS = { PROACTIVE: { "PROACTIVE_DEFENCE": [FULL], }, } # 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", )
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
plugins | Folder | 0755 |
|
|
rpc | Folder | 0755 |
|
|
__init__.py | File | 0 B | 0644 |
|
checkers.py | File | 2.45 KB | 0644 |
|
constants.py | File | 812 B | 0644 |
|
control.py | File | 2.5 KB | 0644 |
|
exceptions.py | File | 306 B | 0644 |
|
hooks.py | File | 2.39 KB | 0644 |
|
lookup.py | File | 2.57 KB | 0644 |
|
model.py | File | 2.32 KB | 0644 |
|
utils.py | File | 3.48 KB | 0644 |
|