Repository navigation
Conversation
…r rule, nav, redirect and overview links #1802 Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
|
Landed in bundle #1805, rebase-merged to main. nik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1802
Public docs for the ten
third-party/*cloud rules:docs/cloud/third-party/index.mdx(the scan, sampling, sensitive-page rule, limits) and one page per rule, with Cloud-tab navigation, a row indocs/cloud/rules.mdx, links from the Security and rules overview pages,docs/index.mdxand the README, and a redirect from/rules/third-partyso the announcement and dashboard links resolve.Where the pages live, and why not
docs/rules/The rules are a private plugin pack, so they are not in the open-source registry. Under
docs/rules/that breaks three checks that tie the directory to the registry:packages/rules/tests/docs-rule-pages.test.ts(every rule page needs a**Rule ID**a loaded rule has), the glossary generator (it reads everydocs/rules/**page and wants a hub entry), anddocs-index-rule-counts.test.ts(a README ordocs/index.mdxcategory row must match the registry's count). So the pages are underdocs/cloud/third-party/and the README anddocs/index.mdxmention the rules as prose beside the gap-analysis note, not as a counted category row (the same way gap analysis is handled). Say if you would rather extend the registry-bound checks to allow cloud-only rule pages; that is a separate change.What is stated, and where it comes from (private repo,
origin/main)packages/third-party/src/rules/index.ts(the rule pack at the end of the file); weight 1.packages/third-party/src/thresholds.tsheader andvendor-count.apps/worker-agent/src/third-party-scan.ts.packages/third-party/src/scan.ts(pageSensitivityOf).readScanOutcomeandhumanizeScanSkipin the rules file.compromised-script, at least high for session replay and the sensitive-page count:apps/api/src/lib/issue-triage/critical.tsandthird-party-severity.ts.packages/third-party/src/classifier.ts; the three blocklists and their refresh:apps/api/src/lib/third-party-scan/blocklists.ts.apps/api/src/routes/v1/services-third-party-scan.ts; no vendor score in any customer surface:packages/private-contracts/src/third-party-section.ts.Checked
make validateindocs/(62 tests, links, anchors, glossary);packages/rulesdocs-rule-pagesanddocs-index-rule-counts(51); no em dashes; sentence-case headings. The webprose:checkbelongs to the private repo'sapps/webcontent, not these docs.Agent skill: no change needed. The skills do not list rules by name or count, and the rules reach an agent through
get_reportlike any other.nik