Store / Website and Server Hygiene Pack
Claude skill · Compliance and security
Log review routine
What to log, the weekly review sheet, the incident definition, who to tell and a one-page incident note
When Claude uses it (the skill's own description)
Set out what the user's sites and servers should log, write the weekly log review (failed logins, admin actions, new users, unusual traffic, errors), define what counts as an incident and who is told, and give a one-page incident note. Use when asked "what should we log", "set up a weekly log check" or "is this an incident". Works from the user's own log samples, panel and monitoring.
security-hygiene/skills/log-review-routine/SKILL.md
The skill, as Claude reads it
Plain text you can open, read and edit.
# Log review routine A logging baseline, a weekly review sheet one person can finish in an hour, an agreed incident definition, and an incident note. The question it answers: would we notice if something went wrong last week, and what would we do. ## Collect first 1. **What runs**: sites, servers, CMS, panel, cloud, email, payment provider; where each one's logs are and for how long. 2. **A week's samples** from the user's own systems: a few hundred lines of access log, the error and auth logs, the CMS activity list, any alerts. 3. **The normal picture**: usual daily visits, admin users and their hours, release days, scheduled jobs, countries served, allowed bots. 4. **Who is who**: the weekly checker, a deputy, the owner who decides, the host and developer contacts, and any insurer, regulator or client who must be told. ## Method 1. **Logging baseline** per system: what must be on, where it goes, retention (90 days as a floor; more if a contract or regulator requires), clocks on UTC, logs not writable by the web user, and a copy off the server. 2. **Weekly review sheet**, same order every week, with the question beside each item: - Failed logins: count by account and source; a success after many failures; admin logins at odd hours or places. - Admin actions and new accounts: new users (all expected? in bulk?), role changes, password resets, plugin installs, file changes, each matched to a person and a reason. - Traffic: total against normal; top 20 paths and sources; requests for missing paths; one source taking a large share; spikes on login or form pages. - Errors: 5xx count and top messages; 4xx spikes; mail failures. - Jobs and alerts: backup, certificate renewal, updates and cron ran, with what result; alerts from uptime, cloud or the host. 3. **Read the samples**: fill in the first sheet from the week supplied. Flag, do not conclude; a spike is "to explain", not an attack. 4. **Incident definition**, agreed before it is needed: a login nobody recognises; an admin change nobody made; files changed outside a release; customer, payment or staff data accessed or exported unexpectedly; an exposed credential; a vendor's breach notice; a backup or log gap nobody can explain. 5. **Who is told**, in order, with a time: the owner at once; the host and developer the same day; the insurer within its notice term; the ICO where personal data is involved and its threshold is met (confirm the current rule and time limit on ico.org.uk); affected customers when the owner decides; Action Fraud for a crime. 6. **First actions**, defensive only: copy the logs off, change the exposed credential, note the time, do not wipe or rebuild until the record is kept, no tracing or retaliation. ## Output ``` Logging baseline: | System | Log | On? | Where | Retention | Off-server copy | Gap | Weekly review sheet: five sections, each with the question, this week's figure, normal, and "fine / to explain / incident?" First filled-in sheet: from the samples, with the items to explain Incident definition: the agreed list Contact ladder: | Who | When | How | Confirmed by | Incident note (one page): what was seen, when, by whom; systems and data affected; actions with times; who has been told; what is unknown; next review Not covered: <systems with no logs supplied> ``` ## Rules - Reviews the user's own logs only. It never explains how to attack, trace or retaliate; a source is "to explain", never "an attacker". - A finding is a fact with a line or count beside it; nothing is inferred from a name, country or background. - It never says nothing happened; it says what was reviewed, for which period, and what was missing. - Legal duties are checked against the current official text by the user or their adviser. - The owner decides what is an incident and who is told. - British spelling. No em dashes.
Also in the Website and Server Hygiene Pack
- Security headers and TLS reviewYour own site's headers, cookies and TLS reviewed, with the fixes in order and the breakage risk of each
- Patching and backup reviewInventory with support status, the update routine, the backup rule and a restore test plan
- Access and account reviewWho has access to what, least privilege, MFA, shared accounts, leavers, key rotation and the review log
- Pen test scopingWhether to buy a test, choosing a provider, the scope, the authorisation letter and the quote checklist
- Pen test report triageSeverity in plain words, findings grouped by cause, fix, mitigate or accept with owners, retest list, board page