Hub rules-logstash

rules-logstash

v3 public Verified

Logstash

Logstash is a server-side data processing pipeline that ingests, transforms, and sends data to various destinations. These rules govern Logstash configuration to prevent insecure input plugins, inefficient filter patterns, and sensitive data leakage.

@sigmashakeinc 2 pulls 5 rules published Apr 8, 2026 synced Nov 22, 2026 sigmashakeinc/rules/rulesets/rules-logstash →
Severity
3 error 2 warn 0 info
demo.cast
Logstash is a server-side data processing pipeline that ingests, transforms, and sends data to various destinations. These rules govern Logstash configuration to prevent insecure input plugins, inefficient filter patterns, and sensitive data leakage.

Rules index

5 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

logstash

logstash-no-cleartext-elasticsearch-output warning log

Logstash is outputting to Elasticsearch over plain HTTP. All indexed data and credentials transit unencrypted. Set the hosts scheme to https:// and configure ssl_certificate_authorities with the CA cert.

Rule source requires an active Pro or Enterprise subscription.
logstash-no-exec-filter error block

The Logstash exec filter runs an OS command for every event, and if the command string interpolates event fields (e.g., %{field}), it enables command injection. Replace exec{} with a dedicated microservice or use conditional grok/mutate transforms.

Rule source requires an active Pro or Enterprise subscription.
logstash-no-hardcoded-password error block

Hardcoded Logstash output credentials (Elasticsearch password, API key) in pipeline configs are exposed to anyone with filesystem access to the Logstash config directory. Use the Logstash keystore: logstash-keystore add ES_PASSWORD and reference it as '${ES_PASSWORD}'.

Rule source requires an active Pro or Enterprise subscription.
logstash-no-http-output-to-plaintext warning log

Logstash http output is sending data to a plaintext HTTP endpoint. Log events may contain PII or credentials and should be transmitted over HTTPS only.

Rule source requires an active Pro or Enterprise subscription.
logstash-no-ruby-filter error log

The Logstash Ruby filter executes arbitrary Ruby code in-pipeline. If a pipeline config is loaded from an untrusted source or contains user-influenced paths, this is a code execution vector. Audit all ruby{} blocks; prefer built-in Logstash filters (grok, mutate, date) that have no code execution capability.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v3
Published
Apr 8, 2026
Source commits
0
Synced
Nov 22, 2026
Hash
7963795b322c5c737a6aeb3c8c0116c9d3cfc1a50f79d6983f802a52b92a5151
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-logstash/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-logstash. The published version only bumps when a maintainer resyncs.

No commit history available.