Elastalert fails to start with validate error on rule #14471
-
Version2.4.140 Installation MethodSecurity Onion ISO image Descriptionupgrading Installation TypeStandalone Locationon-prem with Internet access Hardware SpecsMeets minimum requirements CPU8 RAM32gb Storage for /250GB Storage for /nsm252g Network Traffic Collectiontap Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusYes, there are salt failures (please provide detail below) LogsYes, there are additional clues in /opt/so/log/ (please provide detail below) DetailEverything is running except so-elastalert Failed validating 'required' in schema: I don't know where this rule comes from or how to get rid of it. I have the standard sigmaRulePackages of core and emerging_threats_addon. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
My screen shot was too large.
It says: ElastAlert: OK, Strelka: OK, Suricata: OK, Total Found 46,731
Automatically apply filters, groupings, and date ranges
ElastAlert
Under Group Metrics it shows
Count Ruleset Severity
26,018 ETOPEN high
10,882 ETOPEN informational
3,884 securitiononion-yara unknown
3,053 ETOPEN critical
2,434 ETOPEN low
183 core high
123 ETOPEN unknown
74 core critical
50 emerging_threats_addon critical
16 securityonion-resources critical
8 emerging_threats_addon high
3 securityonion-resources high
1 emerging_threats_addon medium
1 custom high
1 custom medium
so-status shows so-ElastAlert as missing. Running so-elastalert-
restart doesn't change it's status. /opt/so/log/elastalert/stderr.log
shows that it fails to restart with the following line:
elastalert.util.EAException: Invalid Rule file:
/opt/elastalert/rules/rules/custom/proc_creation_lnx_vim_shell_executio
n.yml
'type' is a required property
This is from the sigma rule group. I have removed these from the web
administration, but they persist.
Elastalert appears to scan through the rules, hit this one, find an
error and quit. How can I remove the sigma rules so Elastalert will
continue running?
…On Fri, 2025-04-04 at 15:31 +0000, Jorge Reyes wrote:
In Detections what does the status on the top right say next to each
detection engine? Have you tried running a sync?
https://docs.securityonion.net/en/2.4/detections.html#options
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
<Security-Onion-Solutions/securityonion/repo-
***@***.***>
--
Daniel R. Bidwell | ***@***.***
TikvahShalomConsulting,LLC
If two always agree, one of them is unnecessary.
Karma is getting what you deserve,
mercy is not getting what you deserve
grace is getting what you do not deserve.
In theory, theory and practice are the same.
In practice, they are not.
|
Beta Was this translation helpful? Give feedback.
I found that if I moved all of the rules in the /opt/so/rules/elastalert/rules/custom/*.yml to someplace like /opt/so/rules/save/ and ran so-rule-update ; so-elastalert-restart. The elastalert process would parse the remaining rules and run sucessfully.
With this I should close this ticket and open a new one for getting the custom rules to work.