21 lines
514 B
Python
21 lines
514 B
Python
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)
|