Module modeling :: Class _ProcessSanitizer
[hide private]

Class _ProcessSanitizer

source code

Class sanitizes processes by defined rules - adjusts the data or prevents illegal values to enter CMDB

Instance Methods [hide private]
 
sanitize(self, processDo) source code
Class Variables [hide private]
  _EXCHANGE_MODIFIER = _ProcessModifier()
  MATCHER_TO_MODIFIER_MAP = {_ProcessMatcher().byName(r"smcgui\....
Class Variable Details [hide private]

MATCHER_TO_MODIFIER_MAP

Value:
{_ProcessMatcher().byName(r"smcgui\.exe"): _ProcessModifier().replaceI\
nCommandline(r"\s*\\\\\.\\pipe\\\w+", ""), _ProcessMatcher().byName(r"\
w3wp\.exe"): _ProcessModifier().replaceInCommandline(r"\s+-a\s+\\\\\.\\
\pipe\\[\w-]+", ""), _ProcessMatcher().byName(r"vmware-vmx(\.exe)?"): \
_ProcessModifier().replaceInCommandline(r"\s+-@\s+\"pipe=\\\\\.\\pipe\\
\.+?\"", ""), _ProcessMatcher().byName(r"AppleMobileDeviceHelper\.exe"\
): _ProcessModifier().replaceInCommandline(r"\s+--pipe\s+\\\\\.\\pipe\\
\[\w-]+", ""), _ProcessMatcher().byName(r"EdgeTransport\.exe"): _EXCHA\
...