← All docs

Evidence and redaction

When a check fails, the alert links to the evidence a developer needs to start from "here is what happened" instead of "can you reproduce it?".

Updated

What is evidence?

Evidence is the record MageSentinel keeps of a check run: what the browser saw, which requests it made and what the store answered. It exists so that a failure explains itself. The run page in the dashboard shows it next to the failure code, the step that failed and the assertion that did not hold.

What a failing run captures

A full-page screenshot of the step that failed. It is saved as WebP, or as JPEG when the page is too tall for WebP.

A network log of the requests that matter: every request that errored, and the calls to the store’s own cart, checkout, REST and GraphQL endpoints, with their headers and bodies. Images, fonts and stylesheets are counted but their bodies are not kept, and each body is cut at 8,000 characters.

The browser console errors and warnings, the Web Vitals measured on each step, and a summary of the run: the slowest requests, the failed requests and the external hosts the page loaded scripts from.

All of these logs are stored compressed and open in the dashboard as plain JSON.

What a passing run keeps

Much less. A run that passes keeps one viewport-sized screenshot of the final checkout state, so the dashboard always has something to show, plus the timings and the Web Vitals summary. The network and console logs are recorded during every run, because they cannot be collected after the fact, but they are only written to disk when the run fails.

What is redacted, and when

Redaction happens as the evidence is written, not in a later clean-up pass, so the sensitive values never reach disk.

Headers: Authorization, Proxy-Authorization, Cookie, Set-Cookie, X-API-Key, X-Auth-Token, X-CSRF-Token and X-XSRF-Token are replaced with [REDACTED].

Request and response bodies: in JSON, the values of keys such as password, secret, token, access_token, refresh_token, api_key, cc_number, card_number, cvv, cvc, iban and Magento’s form_key are replaced. Bodies that are not JSON, such as form posts and HTML, are scanned for the same names in key=value form. Any run of 13 to 19 digits that looks like a card number becomes [REDACTED_CARD].

Everything written then goes through a second pass that drops any field whose name looks like a secret. The network log you download is safe to forward to a client or paste into a ticket.

How long evidence is kept

Retention is set by plan: 3 days on Free, 7 on Solo, 14 on Starter, 30 on Agency and 90 on Scale. Billing in the dashboard shows how much evidence your organisation currently stores.

Who can see it

Evidence belongs to the organisation that owns the store. The dashboard and the API only return a run’s evidence to members of that organisation; a run ID from another organisation comes back as not found.

Questions

Does MageSentinel store card numbers or passwords from my checkout?

No. Card-like numbers, passwords, tokens, cookies and CSRF keys are replaced as the evidence is written, so they never reach disk.

Is there a video or a Playwright trace of the run?

No. A failing run keeps a full-page screenshot of the failed step plus the network and console logs. Full Playwright traces were dropped: they took tens of megabytes per run and could not be opened in the dashboard.

Can I send the evidence to my developer or agency?

Yes. The network log is already redacted, so it can be forwarded or attached to a ticket as it is.

How long do you keep screenshots and logs?

For the retention period of your plan: 3 days on Free, 7 on Solo, 14 on Starter, 30 on Agency and 90 on Scale.

More docs

  • How checkout monitoring works: MageSentinel drives a real browser through product, cart, checkout, shipping and payment on your Magento or WooCommerce store, then asserts the business result.
  • Failure codes: Each MageSentinel failure has one stable code: STORE, PRODUCT, CART, CHECKOUT, SHIPPING, TAX, PAYMENT, ORDER, NETWORK or INTERNAL. Never a raw exception.
  • What UNKNOWN means: MageSentinel never forces an unclear run into PASS or FAIL. UNKNOWN is a first-class outcome for runs that reached no conclusive point, and it never pages.
  • Scheduling and alerts: MageSentinel runs the checkout check from once a day on Free to every 5 minutes on Scale and alerts once per PASS/FAIL change, not on every failing check.
  • REST API reference: The MageSentinel REST API: authenticate with an API key, list stores, monitors, runs and incidents, and start a checkout check from CI after a deploy.