feat: added built-in systemd security plugin
This commit is contained in:
20
modules/systemd/__init__.py
Normal file
20
modules/systemd/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from core.base import BaseWorker
|
||||
from core.schemas import ModuleManifest
|
||||
|
||||
from .config import SystemdModuleConfig
|
||||
from .systemd_security import SystemdWorker
|
||||
|
||||
MANIFEST = ModuleManifest(
|
||||
identifier="systemd",
|
||||
name="Systemd Security Audit",
|
||||
category="systemd",
|
||||
version="0.1.0",
|
||||
api_version="1",
|
||||
description="Audits systemd service and timer configuration.",
|
||||
)
|
||||
|
||||
CONFIG_MODEL = SystemdModuleConfig
|
||||
|
||||
|
||||
def build_worker(config: SystemdModuleConfig) -> BaseWorker:
|
||||
return SystemdWorker(config)
|
||||
Reference in New Issue
Block a user