Error running salt <sensorname>state.highstate #6666
-
Hi all, After modifying my sensor.sls file by adding: I then executed salt state.highstate. I got the following error message:
Which file/location should I look for? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It looks like for some reason, YARA rules and maybe other indicators are being written to a file (or temp file) within the |
Beta Was this translation helpful? Give feedback.
-
Are you running the Zeek-OTX integration here? I just tested that integration and was not able to duplicate this behavior. I don't have Have you tried updating the OTX data?
|
Beta Was this translation helpful? Give feedback.
-
@mbaki The file |
Beta Was this translation helpful? Give feedback.
@mbaki The file
/opt/so/conf/zeek/policy/custom/zeek-otx/.otx/4/a/6138debb9bd98b0f5c3983a4.json
is being rendered as a jinja template and the line with\"Registered to: %s%s%s%s {%s}\"
more specifically the{%s}
is causing issues. If you edit the file, and make the very first line read{% raw %}
and the very last line{% endraw %}
then it will cause the text between to not be rendered as jinja and you should have success runningsalt-call state.highstate
.