Refresh the rules at runtime for the Yara Analyser Job. As we the inital ruleset is build into the worker image they will (without this PR) only be updated when a new worker iamge is build. This PR updates the rules when the Yara Analysis Job is executed.
Applicable issues
None
Additional information
This PR also:
sets the platform to linux/amd64 for worker, server and api-server images. We do not support other architectures (because dependencies will not work on eg aarch64.
git clones/pulls the ruleset at depth=1 instead of the whole repo
Description of the change
Refresh the rules at runtime for the Yara Analyser Job. As we the inital ruleset is build into the worker image they will (without this PR) only be updated when a new worker iamge is build. This PR updates the rules when the Yara Analysis Job is executed.
Applicable issues
None
Additional information
This PR also:
Checklist