WarUI

Security event hooks for local auditing

GRID-A29-F19P2beyond-baselinePlanned

A unified set of events (sanitized, URL blocked, export guarded, paste rejected, filter rejected, sensitive reveal) lets apps log or alert locally. WarGrid never transmits anything itself.

Planned. This page shows the specification from issue #209. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with a combined event console and buttons that trigger each event class.

Expected behavior

Each trigger emits one typed event in the console. With redactValues, payload values are replaced by length and hash placeholders.

Planned API surface

onSecurityEventsecurityEvent.typesecurityEvent.severitysecurityEvent.detailsecurityEvents.redactValues

Acceptance criteria

  • All component-level security events also emit onSecurityEvent with a stable type enum. (pending)
  • redactValues defaults to true. (pending)
  • Events are synchronous and do not block rendering for longer than 1 ms per event. (pending)
  • No event triggers a network request. (pending)