diff --git a/plugins/cvebin2vex/surfactantplugin_cvebintool2vex.py b/plugins/cvebin2vex/surfactantplugin_cvebintool2vex.py index b9be94f0..690423d1 100644 --- a/plugins/cvebin2vex/surfactantplugin_cvebintool2vex.py +++ b/plugins/cvebin2vex/surfactantplugin_cvebintool2vex.py @@ -211,10 +211,12 @@ def cvebintool2vex(sbom: SBOM, software: Software, filename: str, filetype: str) # Clean up extra files delete_extra_files(cdxvex_file_path, vex_file_path, json_file_path) + from pluggy import HookimplMarker hookimpl = HookimplMarker("surfactant") + @hookimpl def update_db(): # Example update logic diff --git a/surfactant/__main__.py b/surfactant/__main__.py index 071f253b..06821a46 100755 --- a/surfactant/__main__.py +++ b/surfactant/__main__.py @@ -16,7 +16,6 @@ from surfactant.cmd.createconfig import create_config from surfactant.cmd.generate import sbom as generate from surfactant.cmd.merge import merge_command - from surfactant.cmd.plugin import ( plugin_disable_cmd, plugin_enable_cmd, @@ -24,7 +23,6 @@ plugin_list_cmd, plugin_uninstall_cmd, ) - from surfactant.cmd.stat import stat from surfactant.cmd.ui import ui