Repository navigation
Description
squirrelscan/repo#2118 changed two things a user can see on a website's crawl settings page, and the docs do not describe either.
Include and exclude patterns now apply to cloud audits. They were editable and stored before that PR but nothing on the run path read them, so a customer could set exclusions and watch the crawl ignore them. They now reach every cloud audit of that site: manual, scheduled, the initial audit after adding a site, the GitHub quick-check, and an infra retry. A run records the scope it dispatched with, so a retry reproduces the crawl that failed rather than one re-scoped by settings that moved since.
Worth documenting alongside that: the patterns are bounded (50 per list, 500 characters each, 4KB encoded), and the settings page now refuses a list that exceeds those rather than accepting it and dropping the tail at crawl time.
Authorised crawls. A website with a custom request header configured for its cloud audits now crawls under an "authorised" profile: higher concurrency, no fixed per-host delay, and robots.txt is not applied. The last part needs saying plainly, because it is wider than it sounds. The engine gates robots Disallow and robots Crawl-delay on one flag, so an authorised crawl ignores both, and anything a site previously kept out with Disallow needs an exclude pattern instead. The crawl still backs off per host on 429/503/Retry-After.
The settings page shows the resulting status read-only ("Authorised crawl: on (custom header)") and disables the robots toggle while it is on, keeping the saved preference for when it is off.
Suggested home: the cloud audit / website settings pages, wherever custom request headers are already described.
Acceptance Criteria
- Docs state that a website's include and exclude patterns apply to its cloud audits, and which triggers that covers
- Docs state the pattern limits and that the settings page rejects a list exceeding them
- Docs describe the authorised crawl profile, what turns it on, and what it changes
- Docs state plainly that an authorised crawl does not apply robots.txt at all, and that exclude patterns are the way to keep sections out
-
make validatepasses indocs/
Activity