Community Templates
Contribute your mock configurations back to the SureStage community. Submit a simulation as a template, pass an automated sanitization scan, and enter the admin review queue before being published to the Blueprint Library.
Overview
Community Templates has two sides:
- Submitters — any user can submit a simulation as a community template
- Reviewers — admins review, approve, reject, or request revisions
This feature requires the growth_community_templates feature flag to be enabled.
Submitting a Template
Step 1: Start the Wizard
- Open any simulation you own from My Simulations
- Click Submit to Community (upload icon) in the simulation actions
- The Submit Template Wizard opens — a three-step flow
Step 2: Scan & Review
The first step runs an automated sanitization scan on your simulation's routes and responses.
- Click Run Scan
- The scanner checks for:
| Finding Type | Examples | Severity |
|---|---|---|
| Secrets | API keys (sk_live_*), AWS access keys, JWT tokens | Critical / High |
| PII Fields | SSN, credit cards, passwords, dates of birth | High / Medium |
| Hardcoded Values | Bearer tokens, Basic auth headers | Medium / Low |
- The Sanitization Report displays:
- Risk Score (0–100) with a color-coded bar
- Findings grouped by category with severity badges, location, masked value, and remediation suggestion
- Fix any Critical or High issues in your simulation before proceeding
- Click Continue
Step 3: Submission Details
Fill in template metadata:
- Name (required) — descriptive name (e.g., "Stripe Payment API Mock")
- Description (optional) — who the template is for and what it provides
- Category (required) — select from the dropdown
- Tags (optional) — comma-separated for search discoverability
Step 4: Confirm & Submit
Review your summary and click Submit for Review. The submission enters the queue as Pending Review.
Tracking Submissions
View all your submissions from My Submissions:
| Status | Meaning | Actions |
|---|---|---|
| Draft | Created but not submitted | Edit, Withdraw |
| Pending Review | Waiting for admin review | Withdraw |
| Approved | Published to the library | — |
| Rejected | Admin rejected with feedback | View feedback |
| Revision Requested | Admin asked for changes | View feedback, Resubmit |
| Withdrawn | You cancelled the submission | — |
Click the eye icon on rejected or revision-requested submissions to view reviewer feedback.
Admin Review Queue
The review queue is only accessible to administrators.
- Open the admin panel
- Navigate to the Template Review Queue
- The queue shows pending submissions with submitter name, category, date, and scan score
- Click a row to expand and see the full sanitization report
- Enter reviewer notes and choose an action:
| Action | Result |
|---|---|
| Approve | Template is published to the Blueprint Library |
| Request Revision | Returns to submitter with your notes |
| Reject | Permanently rejected with required reason |
Community Badge
Community-contributed templates display a Community badge on their card in the Blueprint Library, distinguishing them from official SureStage templates. The badge optionally shows the author's name.
Limitations
- One pending submission per simulation at a time
- Only the submitter or an admin can withdraw a submission
- Sanitization scan runs against current route data — changes after submission are not reflected
Next Steps
- Template Discovery — Browse all available templates
- Sharing & Collaboration — Share simulations with teammates
- Managing Simulations — Create simulations to submit