Skip to content

Explainable blocks

From “I got blocked” to a fix, without guessing.

A firewall that blocks without saying why gets switched off. Spalto writes down why it decided, shows it in plain words, and helps you fix a false positive without opening a bigger hole than you need.

Spalto security event page. Why: Blocked because of signatures rule 942100 (SQL Injection Attack Detected via libinjection). The match was in ARGS: id. The matched-rules table shows the value 1' OR '1'='1, severity Critical, mode block.

The workflow

Five steps from a support ticket to a fix.

  1. 01

    The user sends you a reference

    The block page says the request was blocked and shows a reference ID. API clients get the same ID in the JSON body. Your own block pages can include it with {{event_id}}.

  2. 02

    The reference opens the event

    Paste it into the console. The event page starts with one plain sentence about why, then a table: the rule, what it looks for, where it matched, the value, the severity and the mode.

  3. 03

    The request flow shows every stage

    One request, top to bottom. Each module is marked passed, blocked, attention or not reached. For bots you see each signal and how much it added to the score.

  4. 04

    Propose an exception

    The False positive card drafts the narrowest exception the event allows: this application, this path and method, these rules, this field. You review the change and add a note.

  5. 05

    Undo is one step

    The exception is a new configuration version. If it was wrong, roll back to the version before. The audit log keeps who did what and when.

Step 3

Every module, its decision, and its time.

Fifteen modules looked at this request. Fourteen allowed it. The signature engine blocked it after 870 microseconds, on one rule. The trace also shows which rule groups the pre-filter skipped because the text they need wasn't in the request.

That's the level of detail you get on every event, not only in a debug mode.

Module table from a Spalto event: limits, access, cookies, sessions, csrf, cors, bots, api_auth, identity, rate_limits, api_schema, files, positive and ssrf allowed. ssrf ran in detect mode. signatures blocked with 1 match in 870 microseconds.

Step 4

An exception that's only as wide as it has to be.

The draft is limited to this application, this path and the matched rules and fields where possible. You see the exact configuration change before it applies, and you can write down why.

The search form that legitimately sends SQL words gets its exception. The rest of the site keeps the rule.

False positive card: propose an exception limited to this application, this path and the matched rules and fields. You review it before anything changes.

Same thing, from a terminal

Everything in the console is in the CLI and the API.

So the workflow fits a script or a runbook, and on-call doesn't need a browser at 3 a.m.

# what got blocked in the last hour?
$ waap events list -app shop -since 1h
# why?
$ waap explain EVENT-ID
# draft the narrowest exception, then apply it
$ waap except EVENT-ID
$ waap except -apply -m "search form sends SQL words" EVENT-ID
# changed your mind
$ waap config rollback -m "undo exception" 12

Before it happens

Trace a request without sending it.

Type a request, or pick one from the traffic log, and run it through the policy. Choose the current configuration or an older version. Each stage reports passed, matched, blocked, skipped or not reached, with rule IDs, matched values, scores and time spent.

A trace writes nothing: no event, no counter, no ban. It does leave an entry in the audit log, so you know who looked. Stateful checks start empty, and response stages don't run.

Everywhere else

Explanations at every level.

Request path panel

Every application lists its stages in order, with rule counts and which ones are off or only watching. The panel is built from the same table the pipeline runs, and tests check that the two agree.

Detect mode

Put an application, or one module, in detect mode. Events read would block and the dashboard counts them, so you can tune before you enforce.

Why was this allowed?

For clients or paths you choose, and for up to 24 hours, allowed requests are recorded with their full trace. Useful when something got through and you need to know how.

Scores you can read

Each request gets an attack score from 1 to 99, plus sub-scores for SQL injection, XSS and command injection. They come from the rules that matched. There's no hidden model, and you can filter and write rules on them.

Masking when you need it

Events keep full values by default, so you can judge them. Switch an application to pci masking and credentials, cookies and card numbers are hidden. Viewers always see masked values.

A trail for every change

Each change is a numbered version with a comment and a diff. The audit log is hash-chained, so tampering shows, and it records refused attempts too.

Want to put it in front of your own apps?

There's no public release yet. If you run web applications or APIs and want to try Spalto in a lab, or help shape it, write to us. A person answers.