Security Watch Monitor Guide
How to view SQL injection detection verdicts sent by secwatch agents, scoped to your own organization, on a single screen.
What this page is
secwatch collectors installed on customer servers pick suspicious events out of audit logs, WAF, and CloudFront logs and send them to the giip Jev gateway, which judges them and stores the verdicts. This page shows those verdicts scoped only to your logged-in organization (csn), newest first. It shows the same data as the local monitor.py, but in the giip web console with no extra install.
- Access: any signed-in user can view it, and only their own organization's (csn) results are shown (the server scopes by membership).
- No secret exposure: queries use your login token only; collector auth keys never appear on screen.
How to use
- Time window: last 1 hour / 6 hours / 24 hours / 7 days. The screen shows only that window, newest first (a rolling view, not accumulated in the browser).
- Routing filter: All / 🔴 alert / 🟠 review / ⚪ log.
- Refresh: reloads the latest verdicts.
Reading the table
| Column | Meaning |
|---|---|
| Time | When the verdict was stored |
| Collector (LSsn) | Identifier of the agent that sent the event |
| Type | Event kind — secevt_batch_audit (audit log) · secevt_waf (WAF) · secevt_cf (CloudFront) · secevt_signal (aggregate signal) |
| Routing | 🔴 alert = act now / 🟠 review = needs a human / ⚪ log = judged normal, kept for the record |
| Severity | Risk level of the attack — 0–4 (0 noise · 1 recon · 2 enumeration/read · 3 reading credentials or PII · 4 write/privilege manipulation) |
| Attack likelihood | Confidence that the request is an attack (0–100%). Not a success rate — 97% means "97% sure this is an attack"; whether data was actually taken is shown by the flags below |
| Attack type | The attack type Jev classified it as (see the "Attack type values" table below) |
| Flags | Injection suspected · data-extraction suspected · write attempt |
| Confidence | How certain the attack-type / severity answers are (0–100%). A different number from "Attack likelihood" — that one has no separate confidence (the probability itself is the signal) |
| Engine | jev = 2nd-pass Jev judgment / rule = 1st-pass rules only |
| Reason | Why it was routed that way |
Attack type values
Jev classifies each event as one of the 10 types below. Severity is scored 0 noise · 1 recon/probe · 2 enumeration/read attempt · 3 reading credentials/PII · 4 write/file/privilege manipulation.
| Value | Name | Meaning |
|---|---|---|
recon_probe | Reconnaissance / probing | Early poking to test "does injection work here" before a real attack. It just inserts small variations to see how the app responds, so by itself it doesn't leak or change data — but it's a signal that a real attack may follow (usually severity 1). |
boolean_blind | Boolean blind | When output isn't visible, infers data one character (bit) at a time from how the response changes with true/false conditions. |
time_blind | Time blind | When response content isn't visible, injects delays like SLEEP and infers true/false from whether the response is slow. |
union_based | UNION-based extraction | Uses UNION SELECT to append attacker-chosen data to the normal result and pull it out at once. |
error_based | Error-based | Deliberately triggers a DB error so that data leaks inside the error message. |
file_write | File write | INTO OUTFILE/DUMPFILE to write files on the server (e.g. web shell — very dangerous, usually severity 4). |
file_read | File read | LOAD_FILE to read files off the server. |
schema_enum | Schema enumeration | Walks the table/column structure via information_schema etc. (reconnaissance in nature). |
stacked_or_ddl | Stacked query / DDL | Chains queries with a semicolon, or attempts structural changes like DROP/ALTER. |
benign | Not an attack | Judged a normal request (kept for the record). |
In short,
recon_probemeans "no data taken yet, but an attacker is testing for weaknesses." Repeatedrecon_probefrom the same collector is a precursor to a real attack — watch it closely.
What routing (routedTo) means
- 🔴 alert: data-exfiltration/write attempt suspected, or a high-confidence attack. Check immediately.
- 🟠 review: injection probability is borderline and needs a human decision.
- ⚪ log: judged normal (kept as evidence). Most events in quiet times land here.
When nothing shows
- Empty if your organization has no secwatch collector yet, or no events were sent in the selected window. The collector may still be running fine even with nothing to send (check its liveness via the local
monitor.py). - "Access denied" means you are not a member of that organization (only your own csn results are returned).
Attack likelihood vs actual impact
- Attack likelihood (previously "injection probability"): how confident the engine is that the request is an attack. 97% means "97% sure this is an attack" — not a success rate.
- Actual impact is shown by the flags and severity:
Data Extracted(the engine judged the attacker actually read DB values) andWrite Attempt. Badges appear only at 0.7 or above. - So 97% likelihood with no flags means "almost certainly an attack, but no evidence data was taken".
How to tell whether the attempt succeeded
Data Extractedflag — closest thing to a success indicator (the engine judged the attacker actually read DB values; shown only at 0.7+).Write Attemptflag — data/file/privilege writes. As the name says, an attempt, not confirmed success.- Severity 3 / 4 — 3 = reading credentials or PII, 4 = write/file/privilege manipulation; i.e. the kind of damage if it worked.
- Routing
alert— exfiltration/write suspicion at 0.7+ routes here and becomes a damage-check case. - Response code / size in the origin record — a value like
1064(syntax error) means the attack failed. Fetch the origin with the fetch command.
Limitation:
Data Extractedis the engine's estimate, not proof. To confirm, read the response size and status code in the original log. Rows from giip self-defense (origin locationfunc:) deliberately store no request body, so they cannot be confirmed from the row alone.
Retention and display window
- Verdict rows:
tKVSSecurityCheckhas no automatic deletion. It is not registered for scheduled cleanup, so verdict rows persist until a retention policy is added (verified 2026-10-18). - Display window: this page renders all rows in the selected window (1h / 6h / 24h / 7d, default 24h) as cards, with no row cap. Rows older than the window only drop out of the view; they remain in the DB.
- log rows: stored exactly like alert/review rows, just not notified. No separate retention rule (kept as evidence).
- Expected rows per day: only prefilter-flagged suspicious events are sent, so typically 0 to a few per collector (normal traffic is not sent). Checked-but-not-sent normal counts appear in the collection coverage panel at the top.
What is collected, and how to choose what to monitor
This screen does not collect anything. The secwatch collector (giip-fde-agent) installed on your servers reads logs, picks out only the suspicious events and sends them to the giip gateway. This page shows only the verdicts. You choose what to monitor by setting the source type and log path in the collector configuration.
Sources you can collect
| Source | What it looks at | Log used |
|---|---|---|
aurora_audit (db_audit, batch_audit) | which account ran which SQL | database audit log |
waf | path and arguments of blocked/allowed requests | web application firewall log |
cloudfront (cf) | request path and response size | CDN access log |
sec_monitor | events sent by an external security tool | that tool's JSON output |
signal (applog) | signals the application sends itself | app log / in-app defense points |
generic | any plain-text log that does not match the formats above | a file you specify |
You can enable several sources together. If what you want to monitor is not listed, point generic
at that log file.
Fields that are sent
| Field | Meaning |
|---|---|
| Timestamp | when the event happened |
| Database / database account | which DB, which account |
| Operation / response code | read vs. write, and the result code |
| Attacker address | the actual IP. The address is sent, not just its class, so it can be traced |
| Address class / client class | internal vs. external, bot vs. browser |
| SQL shape | the shape only of the query (see the note below) |
| Request path / argument shape | which path received arguments of what shape |
| Response size | if one request yields two distinct response sizes, that indicates data was extracted |
Raw text is never sent. SQL and request arguments are masked by the collector; only the "shape" leaves your server. Actual values, secrets and personal data are not transmitted to giip. Normal traffic is not sent either — the collector pre-filters and forwards only suspicious events; the number of events it checked but did not send appears as a count in the collection coverage panel at the top.
Pattern detail view
Each verdict event carries a per-organization number for its "same method (attack pattern)", shown as a Pattern #N badge. Clicking the badge opens the pattern detail screen (/{locale}/admin/secwatch-monitor/pattern/{no}).
- The top of the detail screen shows pattern metadata (signature, attack type, prefilter rule combination, total hits, distinct attackers, first/last seen).
- Below it is the list of verdict events grouped under that pattern, shown as the same cards as the monitor. The default time window is 7 days (this screen is for seeing when and how much a method has arrived, so the default range is wide).
- The number is sequential within an organization (csn) only, so the detail is also scoped to your organization (the server enforces the scope).
- If there is no pattern with that number you see "pattern not found"; if the pattern exists but has no events in the selected window you see an empty-list notice.
Related
- Collector install/operations: the secwatch agent (giip-fde-agent) operations guide.
- Judgment/storage/retention spec:
SPEC_JEV_SQLI_DETECTION. - End-to-end detection → investigation → response: GIIP AI Security Operations
Related case
- When signature detection stays silent — a sec-watch investigation case: a real reconnaissance campaign that managed WAF signature rules never reacted to, surfaced by sec-watch and investigated against the original logs the same day.