culiops/culiops-skills / skills/sre-investigate
sre-investigate
Unverifiedanalytics/sql/waf/summary.sql
View on GitHub-- One-row overview of the WAF dataset: window, requests per action, clients, client keys and rules. If sampled: requests, allowed, blocked, counted and other_actions scale by the factor; distinct_* are lower bounds.
SELECT min(ts) AS first_ts, max(ts) AS last_ts, count(*) AS requests,
count(*) FILTER (WHERE action = 'ALLOW') AS allowed,
count(*) FILTER (WHERE action = 'BLOCK') AS blocked,
count(*) FILTER (WHERE action = 'COUNT') AS counted,
count(*) FILTER (WHERE action NOT IN ('ALLOW', 'BLOCK', 'COUNT')) AS other_actions,
count(DISTINCT client_ip) AS distinct_clients, count(DISTINCT client_key) AS distinct_client_keys,
count(DISTINCT terminating_rule_id) AS distinct_rules
FROM logs
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |