You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSON report: executedRules and a reason for pages that never answered #1396
Split from #1260 (the per-page list shipped there as the opt-in --include-pages, rows url, finalUrl, status, outcome, ruleCount). The rest of that request needs its own decision:
executedRules in the JSON report: the rule ids that ran on this audit, so issues + passedRules + notChecked + skippedChecks can be checked against it, without a consumer re-reading its own squirrel.toml and subtracting.
A reason on page entries that did not answer normally (a connection error, a rate-limited request that never stored a response, an excluded or robots-blocked URL), and a skipped outcome. Today those URLs are not stored pages, so they are not listed; rate-limited ones are only counted in rateLimited.
Definition proposed in triage: executedRules = rules that produced at least one non-skipped check, so a fully skipped rule is not listed as executed.
Acceptance Criteria
The JSON report has an optional top-level executedRules array of rule ids that produced at least one non-skipped check on this audit.
Every rule id in issues, passedRules and skippedChecks that ran is in executedRules; a rule that was fully skipped or disabled is not.
executedRules is bounded (the rule catalog is finite) and absent or empty on a report read back with squirrel report --input, which says so, like passedRules.
With --include-pages, a URL the crawl requested but could not store (connection error, rate limited with no stored response, excluded, blocked by robots.txt) is listed with outcomeerror or skipped and a reason, inside the existing 2,000-entry cap.
meta.schemaVersion bumps its minor version; both fields are optional so existing consumers and the published-report schema keep validating.
docs/configuration/output.mdx documents both fields, and make validate passes in docs/.
Tests cover an errored fetch, a rate-limited page with no stored response, an excluded URL and a fully skipped rule.
Activity
fix(report): an unstored page's reason is a fixed code, never a URL, …
fix(report): unstored rows: codes for server errors and WAF refusals,…
test(report): allowlist the synthetic secret strings in the reason-re…
fix(report): 'Blocked by <provider>' maps to blocked; spy test on the…
feat(report): executedRules, and --include-pages lists URLs the crawl…
style(cli): format the #1396 files
fix(report): an unstored page's reason is a fixed code, never a URL, …
fix(report): unstored rows: codes for server errors and WAF refusals,…
fix(report): 'Blocked by <provider>' maps to blocked; spy test on the…
test(report): allowlist the synthetic secret strings in the reason-re…
nc9 commentedon Nov 1, 2026
Shipped in v0.0.156 and checked against it: every acceptance criterion is met, including a live
--include-pagesrun against a local server (a 500 path and a 429 path listed with reasonshttp-500andrate-limited). Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.156nik