class PrivilegedPluginBase: def __init__(self, name, scanner, logger, watchdog, config): self.name = name self.scanner = scanner self.logger = logger self.watchdog = watchdog self.config = config def execute(self, *args, **kwargs): raise NotImplementedError("Privileged plugins must implement the execute method.") class SelfContainedPluginBase: def __init__(self, name, scanner, logger, watchdog, config): self.name = name self.scanner = scanner self.logger = logger self.watchdog = watchdog self.config = config def execute(self, *args, **kwargs): raise NotImplementedError("Self-contained plugins must implement the execute method.")