Code Security: guarantees, setup, incident, privacy and reason-code docs - #454
Conversation
Add the public documentation for Code Security's evidence chain, image lineage, runtime checks and remediation runs: - What Code Security guarantees: the rules behind verified fixes, lineage levels, complete-window runtime evidence, approved remediation and Terraform secret handling. - Configure evidence, lineage and remediation: cloudsec.respond, connection permissions (GitHub Attestations, Artifact Analysis occurrences), webhooks, pull-request disclosure, response playbooks and exclusions. - Automatic behavior and incident response. - Data handling and privacy: what is read and kept, retention and purge. - Unknown, partial and refusal reasons: every reason code with its action. AutoFix now runs as a remediation run and needs cloudsec.respond. The collection exclusion semantics in the configuration reference are updated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Adversarial review, first pass (commit 493bc8f), and fixes (commit 9365787) An independent reviewer checked every claim on these pages against the service code. It found 12 high, 3 medium and 1 low findings. All are fixed in 9365787:
Release timing, not a documentation error: the A second review pass is running on 9365787. |
…second review Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Second review pass (commit 9365787) and fixes (commit ce2cd99) The second pass found 6 high, 5 medium and 1 low. Fixed in ce2cd99:
Not changed: the reviewer said closing a fix pull request ends the run with |
|
Reviewed the new commit from a pristine archive. The four changed pages consistently say that a person or API key with |
LimaCharlie Cloud Security — code scanNo new code findings were introduced by this pull request. This check reports and never fails: no Scanned This comment is updated in place on every push to this pull request. |
Summary
Public documentation for Code Security's evidence chain, image lineage, runtime checks and remediation runs, in four sets:
containment-setup.mdcovers thecloudsec.respondpermission (separate fromcloudsec.set, needed for AutoFix and remediation decisions), connection permissions (GitHub App Attestations: Read-only, Artifact Analysis Occurrences Viewer), webhooks, image lineage statuses, build provenance, Terraform maps, pull-request disclosure (pr_live_context), remediation runs, response playbooks and exclusions.configuration.mdgets the current collection-exclusion rules (per-row account/provider/region, rows kept when a fact is missing, relationship removal, delete events) and thescanninglist.reasons.mdlists every unknown, partial and refusal reason code with the action to take.troubleshooting.mdlinks to it.incident-response.mdcovers what happens automatically, what never does, and how to cancel or undo a remediation.data-handling.mdcovers what is read, what is kept, secret handling, retention and purge. The purge text keeps the backup qualifier.guarantees.mdstates the product's rules in plain terms.autofix.mdnow describes AutoFix as a remediation run that needscloudsec.respond.index.mdno longer says file contents are never stored: it now says findings never hold them and that transient packages are deleted.This complements #453 (the provider-setup steps for the two new read permissions). The two PRs touch different hunks of
index.md.Before merging
Merge this when the matching features reach production, not before:
cloudsec.respondand running as a remediation run is not yet the production behavior.cloudsec remediation ...,cloudsec code iac-map extract|push) are on the CLI's main branch but not in the latest PyPI release (5.6.2).iac-map-extractbinary thatiac-map extractcalls needs a public download location before the Terraform map section is usable.Validation
mkdocs build --strictpasses. Every new#anchorlink was checked against the built site.markdownlint-cli2reports 0 issues.This is a public repository. It is left open for maintainer review and merge.
🤖 Generated with Claude Code