trellix-epo 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- trellix_epo/__init__.py +75 -0
- trellix_epo/assignmentrules.py +824 -0
- trellix_epo/clienttasks.py +2385 -0
- trellix_epo/constants.py +164 -0
- trellix_epo/edrf/__init__.py +23 -0
- trellix_epo/edrf/detection.py +172 -0
- trellix_epo/edrf/edrfpolicies.py +33 -0
- trellix_epo/edrf/general.py +316 -0
- trellix_epo/edrf/investigation.py +136 -0
- trellix_epo/edrf/policy.py +344 -0
- trellix_epo/edrf/remediation.py +384 -0
- trellix_epo/edrf/streaming.py +700 -0
- trellix_epo/epo.py +635 -0
- trellix_epo/epoclienttasks.py +218 -0
- trellix_epo/epopolicies.py +324 -0
- trellix_epo/epoqueries.py +145 -0
- trellix_epo/eporepository.py +363 -0
- trellix_epo/eposervertasks.py +268 -0
- trellix_epo/eposystemtree.py +482 -0
- trellix_epo/epotags.py +408 -0
- trellix_epo/epousers.py +352 -0
- trellix_epo/es/__init__.py +0 -0
- trellix_epo/es/atp/__init__.py +15 -0
- trellix_epo/es/atp/dac.py +350 -0
- trellix_epo/es/atp/esatppolicies.py +24 -0
- trellix_epo/es/atp/options.py +686 -0
- trellix_epo/es/cm/__init__.py +13 -0
- trellix_epo/es/cm/escommonpolicies.py +24 -0
- trellix_epo/es/cm/options.py +723 -0
- trellix_epo/es/fw/__init__.py +13 -0
- trellix_epo/es/fw/esfwpolicies.py +23 -0
- trellix_epo/es/fw/options.py +385 -0
- trellix_epo/es/fw/protocols.py +332 -0
- trellix_epo/es/fw/rules.py +1893 -0
- trellix_epo/es/sp/__init__.py +15 -0
- trellix_epo/es/sp/common.py +389 -0
- trellix_epo/es/sp/esppolicies.py +24 -0
- trellix_epo/es/sp/icap.py +161 -0
- trellix_epo/es/sp/netapp.py +325 -0
- trellix_epo/es/tp/__init__.py +17 -0
- trellix_epo/es/tp/accessprotection.py +975 -0
- trellix_epo/es/tp/estppolicies.py +23 -0
- trellix_epo/es/tp/exclusions.py +304 -0
- trellix_epo/es/tp/exploitprevention.py +1769 -0
- trellix_epo/es/tp/onaccessscan.py +1603 -0
- trellix_epo/es/tp/ondemandscan.py +1880 -0
- trellix_epo/es/tp/options.py +259 -0
- trellix_epo/es/wc/__init__.py +20 -0
- trellix_epo/es/wc/blockallow.py +196 -0
- trellix_epo/es/wc/browsercontrol.py +82 -0
- trellix_epo/es/wc/common.py +140 -0
- trellix_epo/es/wc/contentactions.py +198 -0
- trellix_epo/es/wc/eswcpolicies.py +24 -0
- trellix_epo/es/wc/messaging.py +145 -0
- trellix_epo/es/wc/options.py +392 -0
- trellix_epo/policies.py +569 -0
- trellix_epo/policycatalog.py +483 -0
- trellix_epo/repository.py +385 -0
- trellix_epo/sc/__init__.py +16 -0
- trellix_epo/sc/awl.py +1237 -0
- trellix_epo/sc/cc.py +173 -0
- trellix_epo/sc/fim.py +356 -0
- trellix_epo/sc/gen.py +836 -0
- trellix_epo/sc/rulegroups.py +300 -0
- trellix_epo/sc/rules.py +640 -0
- trellix_epo/sc/scpolicies.py +437 -0
- trellix_epo/servertasks.py +423 -0
- trellix_epo/sir/__init__.py +14 -0
- trellix_epo/sir/collect.py +358 -0
- trellix_epo/sir/registry.py +285 -0
- trellix_epo/sir/sirpolicies.py +33 -0
- trellix_epo/squid.py +561 -0
- trellix_epo/systemtree.py +804 -0
- trellix_epo/ta/__init__.py +15 -0
- trellix_epo/ta/__root__.ca +1 -0
- trellix_epo/ta/__signer__.ca +1 -0
- trellix_epo/ta/customprops.py +82 -0
- trellix_epo/ta/general.py +1459 -0
- trellix_epo/ta/markdown.py +48 -0
- trellix_epo/ta/repository.py +263 -0
- trellix_epo/ta/tapolicies.py +23 -0
- trellix_epo/ta/telemetry.py +90 -0
- trellix_epo/ta/troubleshooting.py +110 -0
- trellix_epo/tagcatalog.py +219 -0
- trellix_epo/tags.py +999 -0
- trellix_epo/users.py +523 -0
- trellix_epo/validators.py +1772 -0
- trellix_epo-2.0.0.dist-info/METADATA +1431 -0
- trellix_epo-2.0.0.dist-info/RECORD +92 -0
- trellix_epo-2.0.0.dist-info/WHEEL +5 -0
- trellix_epo-2.0.0.dist-info/licenses/LICENSE +190 -0
- trellix_epo-2.0.0.dist-info/top_level.txt +1 -0
trellix_epo/__init__.py
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
################################################################################
|
|
3
|
+
# Copyright (c) 2019 Benjamin Marandel - All Rights Reserved.
|
|
4
|
+
################################################################################
|
|
5
|
+
|
|
6
|
+
""" trellix_epo Class """
|
|
7
|
+
|
|
8
|
+
from importlib.metadata import version, PackageNotFoundError
|
|
9
|
+
|
|
10
|
+
try:
|
|
11
|
+
__version__ = version("trellix_epo")
|
|
12
|
+
except PackageNotFoundError:
|
|
13
|
+
__version__ = "0.0.0"
|
|
14
|
+
|
|
15
|
+
__all__ = ["constants", "policies", "validators", "ta", "es", "sc", "sir", "edrf", "epo", "tags",
|
|
16
|
+
"tagcatalog", "epotags", "assignmentrules", "clienttasks", "epoclienttasks",
|
|
17
|
+
"repository", "eporepository", "systemtree", "eposystemtree", "policycatalog", "epopolicies", "servertasks",
|
|
18
|
+
"eposervertasks", "squid", "epoqueries", "users",
|
|
19
|
+
"epousers"]
|
|
20
|
+
|
|
21
|
+
from .constants import State, Priority, Gti, OASState, Severity, Language, SCException, SCReputation
|
|
22
|
+
from .policies import Policies, Policy
|
|
23
|
+
from .ta.tapolicies import TAPolicies
|
|
24
|
+
from .ta.general import TAPolicyGeneral
|
|
25
|
+
from .ta.repository import TAPolicyRepository, RepositoryList
|
|
26
|
+
from .ta.troubleshooting import TAPolicyTroubleshooting
|
|
27
|
+
from .ta.customprops import TAPolicyCustomProps
|
|
28
|
+
from .ta.telemetry import TAPolicyTelemetry
|
|
29
|
+
from .es.tp.estppolicies import ESTPPolicies
|
|
30
|
+
from .es.tp.onaccessscan import ESTPPolicyOnAccessScan, OASProcessList, OASExclusionList, OASURLList
|
|
31
|
+
from .es.tp.ondemandscan import ESTPPolicyOnDemandScan, ODSLocationList, ODSExclusionList
|
|
32
|
+
from .es.tp.exploitprevention import (ESTPPolicyExploitPrevention, SearchFilter, EPExclusion, EPAppRule,
|
|
33
|
+
EPExecutable)
|
|
34
|
+
from .es.tp.options import ESTPPolicyOptions
|
|
35
|
+
from .es.tp.accessprotection import (ESTPPolicyAccessProtection, APRule, APSubRule, APTarget,
|
|
36
|
+
APExecutable, APUserName)
|
|
37
|
+
from .es.fw.esfwpolicies import ESFWPolicies
|
|
38
|
+
from .es.fw.rules import (ESFWPolicyRules, FWRule, FWGroup, FWNetwork, FWApplication,
|
|
39
|
+
FWExecutable, FWLocation, FWAddress)
|
|
40
|
+
from .es.fw.options import ESFWPolicyOptions
|
|
41
|
+
from .es.sp import ESSPPolicies, ESSPPolicy, ESSPPolicyICAP, ESSPPolicyNetApp, SPExclusion
|
|
42
|
+
from .es.cm import ESCommonPolicies, ESCommonPolicyOptions, AACExclusion
|
|
43
|
+
from .es.atp import ESATPPolicies, ESATPPolicyOptions, ESATPPolicyDAC, DACExclusion
|
|
44
|
+
from .es.wc import (ESWCPolicies, ESWCPolicy, RatingActions, ESWCPolicyOptions, ESWCPolicyMessaging,
|
|
45
|
+
ESWCPolicyBlockAllowList, WCSite, ESWCPolicyContentActions,
|
|
46
|
+
ESWCPolicyBrowserControl)
|
|
47
|
+
from .sc.scpolicies import SCPolicies, SCPolicy
|
|
48
|
+
from .sir import SIRPolicies, SIRPolicyCollectData, SIRPolicySetRegistry, SIRRegistryValue
|
|
49
|
+
from .edrf import (EDRFPolicies, EDRFPolicy, EDRFPolicyGeneral, EDRFPolicyStreaming,
|
|
50
|
+
EDRFEventLog, EDRFFileEvent, EDRFEventFilter, EDRFFilterCondition,
|
|
51
|
+
EDRFSyslogServer, EDRFPolicyDetection, EDRFRegistryExclusion,
|
|
52
|
+
EDRFPolicyInvestigation, EDRFPolicyRemediation, EDRFAllowedIP)
|
|
53
|
+
from .sc.rules import SCRules, SCExclusionRules, SCUpdaterRules
|
|
54
|
+
from .sc.gen import SCGENPolicyConfiguration, SCGENPolicyExceptionRules
|
|
55
|
+
from .sc.awl import SCAWLPolicyOptions, SCAWLPolicyRules
|
|
56
|
+
from .sc.cc import SCCCPolicyRules
|
|
57
|
+
from .sc.fim import SCFIMPolicyRules
|
|
58
|
+
from .sc.rulegroups import SCRuleGroups, SCRuleGroup, SCAWLRuleGroup, SCCCRuleGroup, SCFIMRuleGroup
|
|
59
|
+
from .epo import EPOClient, EPOError
|
|
60
|
+
from .tags import Tag, TagCriteria, TagCondition, TagProperty, TagList
|
|
61
|
+
from .assignmentrules import (AssignmentRule, AssignmentRuleList, PolicyAssignment,
|
|
62
|
+
RuleTagCriteria, SystemGroups)
|
|
63
|
+
from .clienttasks import (ClientTask, ClientTaskList, DeploymentItem, TADeploymentTask,
|
|
64
|
+
TAUpdateTask, SIRFileRetrievalTask, SCEnableTask, SCDisableTask,
|
|
65
|
+
SCBeginUpdateTask, SCEndUpdateTask, SCBeginInventoryTask,
|
|
66
|
+
SCEndInventoryTask, SCPullInventoryTask, SCDebugInfoTask,
|
|
67
|
+
SCCLIAccessTask, SCObserveModeTask, SCRunCommandsTask)
|
|
68
|
+
from .repository import Package, Repository, packages_to_markdown
|
|
69
|
+
from .systemtree import System, Group, systems_to_markdown, groups_to_markdown
|
|
70
|
+
from .policycatalog import (PolicyRef, Assignment, AppliedPolicy, policies_to_markdown,
|
|
71
|
+
assignments_to_markdown, applied_to_markdown)
|
|
72
|
+
from .servertasks import (ServerTask, TaskLogEntry, TaskMessage, RunningTask,
|
|
73
|
+
server_tasks_to_markdown, task_log_to_markdown)
|
|
74
|
+
from .squid import Query, SavedQuery, rows_to_markdown, saved_queries_to_markdown
|
|
75
|
+
from .users import User, Role, PermissionSet, PermissionSetList, users_to_markdown
|