Cloud SIEM Rule Tuning Audit

Pull every rule tuning expression from your Sumo Logic Cloud SIEM and audit it: what it excludes or includes, whether it is global or attached to specific rules (and which), whether it is enabled, who changed it and when, and the findings that deserve a look: disabled, orphaned, dangling, duplicated, very broad, stale or undocumented expressions and over-tuned rules. Filter, search, export as CSV or JSON, or open the executive PDF report.

  1. Connect: pick your deployment, paste an access ID and key, click Load tuning expressions; or click Load Demo Data to try it with a sample set.
  2. Review: the summary tiles, the findings list, and the searchable table (click an expression for its full text, the rules it applies to and the raw record).
  3. Share: export as CSV or JSON, or open the executive PDF report for leadership.
Connects only to Sumo Logic

Your access key goes from this browser to the Sumo Logic deployment you choose, and nowhere else: the page's security policy allows no other connection. The key is held in memory while the page is open and is never written to storage. The expressions are processed here; the audit is built on your device.

Before the first run: create an access key in Sumo Logic (Administration > Security > Access Keys) with a role that can view Cloud SIEM rules and tuning expressions, and add this page's origin, https://siemcraft.io, under the key's Allowed domains. Without it Sumo Logic refuses the browser's request.

1Connect

Pick your deployment and enter an access key. Nothing is sent until you click Load tuning expressions. No key? Load Demo Data loads a sample set of tuning expressions instead.

How it works and what to check first

Requests. The page calls GET /api/sec/v1/rule-tuning-expressions?limit=100 on the deployment's API host with HTTP Basic authentication (access ID and key), following the pagination until every expression is in; with Resolve rule names ticked it also calls GET /api/sec/v1/rules?limit=100 the same way. It retries on rate limiting (429). No other endpoint is called and nothing is written.

What a tuning expression is. A Cloud SIEM rule tuning expression is an extra condition appended to a rule's own expression. With exclude set, records matching it are dropped before the rule is evaluated (the usual way to silence a vulnerability scanner, a backup account or a test network); otherwise only matching records are kept. An expression is either global (applied to every rule) or attached to a list of rule IDs. The API returns each expression's name, description, text, enabled flag, exclude flag, global flag, rule IDs, and creation and update stamps.

Findings. Disabled; Global; No rules; Dangling (rule IDs not in the rule list); Disabled rules only; Duplicate (identical expression text, whitespace and case ignored); Broad (one condition with no operator other than equality on a single field, or a pattern that is only wildcards); Stale (last updated over 365 days ago); Undocumented (empty description). They are hints, not verdicts.

Allowed domains. Browsers send an Origin header, and Sumo Logic rejects a request whose origin is not on the access key's allowlist. Add this page's origin to the key.

Errors. When a run fails, the HTTP status points to the cause:

  • No status / “Could not reach the API” — almost always the key’s Allowed domains, or the wrong deployment. Confirm you added this page’s origin (shown under Before the first run) to the key’s Allowed domains in Sumo Logic, and that the deployment you selected matches your account, then run again.
  • 401 — a bad, mistyped, expired or disabled key. Click Forget credentials, then re-enter the Access ID and Access Key (watch for stray spaces) and run again; if it persists, create a fresh key in Sumo Logic.
  • 403 — the key’s role cannot access Cloud SIEM. Use a key whose role can view Cloud SIEM; an administrator can grant that capability, then run again.

Show raw API response reveals the exact field names returned for your tenant — useful when a column looks empty.