Resolve issues #453–#456: contract snapshot, pagination guide, incident templates, secrets audit#482
Open
wheval wants to merge 4 commits into
Open
Resolve issues #453–#456: contract snapshot, pagination guide, incident templates, secrets audit#482wheval wants to merge 4 commits into
wheval wants to merge 4 commits into
Conversation
Expose read-only Soroban export entrypoints with versioned schema, deterministic SHA-256 hashing, and stable asset ordering for off-chain sync.
Document page/limit, offset/limit, and Horizon cursor pagination with per-endpoint reference tables and links from API documentation.
Add copy-paste triage, update, status page, and postmortem templates and fix the broken alerting runbook incident-management link.
Add quarterly secrets inventory and audit checklist with cross-links from runbooks, deployment, security architecture, CI/CD, and release checklist.
|
@wheval Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Summary
This PR resolves four Stellar Wave issues in a single branch: an on-chain contract data snapshot for off-chain sync (#453), an API pagination guide for integrators (#454), incident response copy-paste templates (#455), and a secrets audit checklist (#456).
Purpose / Motivation
Changes Made
contracts/soroban/src/state_export.rs(schema, SHA-256 hash, stable ordering); added read-onlyexport_contract_data_snapshot()andlist_asset_state_snapshots()entrypoints; unit and client tests;docs/contract-data-snapshot-format.md.docs/pagination-guide.mdand linked from API docs, usage examples, and architecture docs.docs/runbooks/incident-response-templates.md; updated runbook index, incident guide, and alerting runbook (fixed broken incident-management link).docs/secrets-audit-checklist.md; linked from rotation playbook, runbook index, deployment, security architecture, CI/CD, and release checklist.lib.rsbaseline and wired snapshot exports (HEAD had a broken impl block).How to Test
Contract snapshot (Add Contract Data Snapshot Function #453)
list_asset_state_snapshots()and confirm lexicographic order.export_contract_data_snapshot()twice without state changes;state_hashmust match.Pagination guide (Write Pagination Guide #454)
docs/pagination-guide.mdfrombackend/docs/API.md.GET /api/v1/alerts/history,GET /api/v1/incidents, andGET /api/v1/transactionsagainst the endpoint table.Incident templates (Create Incident Response Templates #455)
docs/runbooks/incident-response-templates.mdfrom the runbook index and incident response guide.Secrets checklist (Build Secrets Audit Checklist #456)
docs/secrets-audit-checklist.mdfrom the secret rotation playbook.docs/security-audit-checklist.md(contract audit) is unchanged.Breaking Changes
None.
Related Issues
Closes #453
Closes #454
Closes #455
Closes #456
Checklist