for use in both, the scan API and the on_add/on_update hooks Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>