Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update or update in server mode #208

Closed
luis100 opened this issue Dec 13, 2022 · 2 comments
Closed

Auto-update or update in server mode #208

luis100 opened this issue Dec 13, 2022 · 2 comments

Comments

@luis100
Copy link

luis100 commented Dec 13, 2022

When running Siegfried as a long-standing service, for example as a docker service, it would be important to keep Siegfried up-to-date with the signature database. But, currently, there is no way to call the update action via the service, nor to somehow schedule an auto-update.

This could be done in one of the following ways:

  • Add a new action to the Siegfried server API, e.g. GET /update, which would call the update action. An external service could be setup to call this endpoint periodically
  • Including an auto-update feature into the tool, specifically when it runs in server mode, e.g. sf -serve localhost:5138 -autoupdate 24h
@richardlehane
Copy link
Owner

This sounds very doable 👍

richardlehane added a commit that referenced this issue Mar 17, 2023
richardlehane added a commit that referenced this issue Mar 20, 2023
richardlehane added a commit that referenced this issue Mar 21, 2023
@richardlehane
Copy link
Owner

server mode has a new /update route in v1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants