Skip to content

Commit

Permalink
fix(Glimps): module name
Browse files Browse the repository at this point in the history
  • Loading branch information
glimps-glv committed Jan 21, 2025
1 parent 9b1118a commit 758875e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Glimps/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from glimps.models import GLIMPSModule
from sekoia_automation.module import Module

from glimps.export_action import ExportSubmission
from glimps.search_analysis_by_sha256_action import SearchPreviousAnalysis
Expand All @@ -23,7 +22,7 @@
module.register(RetrieveAnalysis, "RetrieveAnalysis")

# register deprecated actions
deprecated_module.register(DeprecatedRetrieveAnalysis, "get-results/{uuid}")
deprecated_module.register(DeprecatedSearchPreviousAnalysis, "get-search/{sha256}")
deprecated_module.register(DeprecatedSubmitFileToBeAnalysed, "post-submit")
module.register(DeprecatedRetrieveAnalysis, "get-results/{uuid}")
module.register(DeprecatedSearchPreviousAnalysis, "get-search/{sha256}")
module.register(DeprecatedSubmitFileToBeAnalysed, "post-submit")
module.run()

0 comments on commit 758875e

Please sign in to comment.