CERT-Polska / drakvuf-sandbox

DRAKVUF Sandbox - automated hypervisor-level malware analysis system
https://drakvuf-sandbox.readthedocs.io/
Other
1k stars 140 forks source link

Handle drakrun config in dedicated object (DrakrunConfig) #878

Closed psrok1 closed 3 months ago

psrok1 commented 3 months ago

In current version we use Karton config while drakrun.lib should be independent from Karton. In addition: knowledge about default values and relationships between configuration fields is dispersed in drakrun modules, mainly in main.py

In this PR I try to map current configuration layout using Pydantic to provide single, coherent object that can be used in various drakrun components.