giip
SES Proposal
9 min read

Security Watch Monitor Guide

How to view SQL injection detection verdicts sent by secwatch agents, scoped to your own organization, on a single screen.

🛡️ Go to the Security Watch Monitor page →

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

  1. 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).
  2. Routing filter: All / 🔴 alert / 🟠 review / ⚪ log.
  3. Refresh: reloads the latest verdicts.

Reading the table

ColumnMeaning
TimeWhen the verdict was stored
Collector (LSsn)Identifier of the agent that sent the event
TypeEvent 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
SeverityRisk level of the attack — 0–4 (0 noise · 1 recon · 2 enumeration/read · 3 reading credentials or PII · 4 write/privilege manipulation)
Attack likelihoodConfidence 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 typeThe attack type Jev classified it as (see the "Attack type values" table below)
FlagsInjection suspected · data-extraction suspected · write attempt
ConfidenceHow 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)
Enginejev = 2nd-pass Jev judgment / rule = 1st-pass rules only
ReasonWhy 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.

ValueNameMeaning
recon_probeReconnaissance / probingEarly 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_blindBoolean blindWhen output isn't visible, infers data one character (bit) at a time from how the response changes with true/false conditions.
time_blindTime blindWhen response content isn't visible, injects delays like SLEEP and infers true/false from whether the response is slow.
union_basedUNION-based extractionUses UNION SELECT to append attacker-chosen data to the normal result and pull it out at once.
error_basedError-basedDeliberately triggers a DB error so that data leaks inside the error message.
file_writeFile writeINTO OUTFILE/DUMPFILE to write files on the server (e.g. web shell — very dangerous, usually severity 4).
file_readFile readLOAD_FILE to read files off the server.
schema_enumSchema enumerationWalks the table/column structure via information_schema etc. (reconnaissance in nature).
stacked_or_ddlStacked query / DDLChains queries with a semicolon, or attempts structural changes like DROP/ALTER.
benignNot an attackJudged a normal request (kept for the record).

In short, recon_probe means "no data taken yet, but an attacker is testing for weaknesses." Repeated recon_probe from 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) and Write 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

  1. Data Extracted flag — closest thing to a success indicator (the engine judged the attacker actually read DB values; shown only at 0.7+).
  2. Write Attempt flag — data/file/privilege writes. As the name says, an attempt, not confirmed success.
  3. Severity 3 / 4 — 3 = reading credentials or PII, 4 = write/file/privilege manipulation; i.e. the kind of damage if it worked.
  4. Routing alert — exfiltration/write suspicion at 0.7+ routes here and becomes a damage-check case.
  5. 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 Extracted is 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 location func:) deliberately store no request body, so they cannot be confirmed from the row alone.

Retention and display window

  • Verdict rows: tKVSSecurityCheck has 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

SourceWhat it looks atLog used
aurora_audit (db_audit, batch_audit)which account ran which SQLdatabase audit log
wafpath and arguments of blocked/allowed requestsweb application firewall log
cloudfront (cf)request path and response sizeCDN access log
sec_monitorevents sent by an external security toolthat tool's JSON output
signal (applog)signals the application sends itselfapp log / in-app defense points
genericany plain-text log that does not match the formats abovea 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

FieldMeaning
Timestampwhen the event happened
Database / database accountwhich DB, which account
Operation / response coderead vs. write, and the result code
Attacker addressthe actual IP. The address is sent, not just its class, so it can be traced
Address class / client classinternal vs. external, bot vs. browser
SQL shapethe shape only of the query (see the note below)
Request path / argument shapewhich path received arguments of what shape
Response sizeif 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.
  • 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