A support guide should ask for the evidence needed to investigate a particular failure, not the customer’s entire machine or account. Specify what to collect, what to exclude, how to inspect the result and which approved private route receives it.
Begin with the diagnostic question. For example: did an export fail before the request was accepted or while the job was running? That question can justify a software version, approximate event time, request reference and relevant error excerpt. It does not automatically justify every environment variable, a full customer database or a screenshot of an authenticated session.
The bundle below is a fictional documentation exercise. It contains synthetic field descriptions, not actual customer logs. It performs no upload and authorizes no collection from another person or system. An actual product’s security, privacy and support owners must approve the request and handling process.
Use a field-level collection decision
OWASP’s Logging Cheat Sheet identifies data normally excluded from logs, including access tokens, passwords, encryption keys and sensitive personal information. It also discusses special treatment or de-identification for other fields. Applying a collection boundary is stronger than hoping customers will notice every sensitive value in an unrestricted archive.
Here is a complete ten-field decision for the invented export failure. Seven fields are requested in bounded form and three are excluded. “Requested” means appropriate under this fictional specification, not that these fields are safe in every product.
| Candidate field | Decision | Permitted form or reason |
|---|---|---|
| Application version | Include | Exact product version; no unrelated installed-software inventory |
| Operating-system family | Include | Supported family/version needed to reproduce; no device identifier |
| Failing task and step | Include | Export task and documented step; no customer dataset |
| Occurrence time | Include | Approximate time with timezone and stated precision |
| Request reference | Include | Approved noncredential reference needed to join the event |
| Relevant event excerpt | Include | Bounded, reviewed lines with sensitive values removed |
| Relevant configuration | Include | Only named nonsecret keys necessary for the failure |
| Session token | Exclude | Carries access authority; not needed for this request |
| Complete customer dataset | Exclude | Outside the diagnostic question; use a permitted synthetic reproduction |
| Full environment dump | Exclude | Can include credentials and unrelated private system information |
Resolve uncertain fields before publication. A familiar name such as request_id does not prove that its value is harmless or that the company permits external sharing.
Preserve the relationship without preserving every identity
Redaction can destroy diagnostic meaning when the same original identifier is replaced inconsistently. Preserve the relationships the question requires while removing unnecessary identity. Treat the transformed bundle as controlled data; pseudonymized material is not automatically anonymous.
In the fictional excerpt, the same customer identifier appears in request and job records. Replace both with CUSTOMER-A. A different customer becomes CUSTOMER-B. Do not replace every identifier with the same word if the difference between customers explains the failure.
| Original teaching field | Shared representation | Diagnostic reason |
|---|---|---|
| Customer identifier repeated in two events | CUSTOMER-A in both | Preserve the same-subject relationship |
| Another customer identifier | CUSTOMER-B | Do not merge different subjects |
| Authorization header value | Omitted entirely | Access material is unnecessary |
| Local user folder | SANITIZED-PATH | Preserve path role only if useful |
| Relevant error code | Unchanged approved code | Needed to identify the documented failure class |
Keep any re-identification map under the organization’s authorized controls rather than shipping it inside the same support bundle. Do not publish a regex and call it a complete secret detector. Structured fields, free text, nested files and images can disclose information in different ways.
Give the customer a complete instruction
The fictional guide can say: “Collect the export application version, supported operating-system family, failing step, approximate time with timezone, permitted request reference and the named diagnostic excerpt. Include only the configuration keys listed for this issue. Do not include passwords, session tokens, authorization headers, customer records or your full environment.”
Continue: “Open the prepared files and review them before sending. Remove unrelated content and use consistent placeholders where the support owner’s instructions permit them. Send the bundle through the private upload route supplied in your existing support case. If a required file cannot be shared under your organization’s rules, stop and tell the support owner which evidence is unavailable.”
A real guide must name its actual supported collector, file location and private channel. Do not invent a command or download tool because the instructions need another step. Verify what the collector actually includes; a filename such as safe-diagnostics.zip is not evidence of its contents.
Review the transfer and the receiving process
Document who can access the upload, which case it belongs to, what purpose permits its use and which retention rule governs the original and derived copies. OWASP notes that legal, regulatory and contractual requirements can affect log retention. There is no universal number of days that this article can supply for every support organization.
Do not place sensitive bundles in public issues, open chat channels or general marketing forms. An encrypted transport does not establish that the recipient, retention policy or downstream access is appropriate. Confirm the complete approved route.
If support needs additional evidence, name the specific missing question and obtain the appropriate approval. Do not escalate automatically from a bounded excerpt to “send everything.” A missing field can remain an explicit diagnostic limitation.
The API example review protects material a publisher makes public. This workflow governs information a customer may send privately to support. Different direction, audience and purpose require a separate collection decision.
Test the guide using a synthetic case
Prepare a harmless local folder containing the ten teaching fields. Have a second reviewer follow the guide and inspect the intended seven-field bundle. Confirm that the excluded access values and unrelated records are absent, and that repeated subject placeholders still correlate.
That local exercise tests the instructions and artifact construction. It does not prove a real collector never captures a secret or that an external destination received the bundle. Keep those production checks separate and appropriately authorized.
The minimal reproduction guide helps reduce a failure to necessary conditions. The source worksheet keeps observed evidence, assumptions and unresolved fields apart.
Approve the guide when the collection purpose is narrow, the requested fields are justified, preview and exclusion steps are usable, and transfer and retention have named owners. Useful support evidence is a designed request, not an indiscriminate archive.
