Data Storage and Controls
Refer to the Cypress Cloud Terms of Use and our Security & Compliance guide for more specifics around reasonable use of Cypress Cloud, data storage, and security at Cypress.
Types of Data
When you run Cypress via cypress run and pass the --record flag, Cypress Cloud stores the following data for every run:
- Standard output in the terminal
- Test results
- Test definitions
- Cypress configuration (minus Cypress environment variables)
- Screenshots
- Videos
- OS environment variables related to CI and git information
When Test Replay capturing is enabled, Cypress sends the additional data outlined below to Cypress Cloud. See our guide on disabling Test Replay.
- The rendered DOM and CSS styles for the application under test
- Cypress commands and events represented in the Command Log
- Network traffic within your application under test
- Browser console logs
Cypress Cloud does not capture anything related to the code of your application under test or the code within any repositories that are associated with your project.
When Cloud AI is enabled, Cypress Cloud may share test content with a session-bound AI model to enhance your test management experience. Cypress does not use your data to train AI models or share it between customers.
You, the customer, own and are responsible for your test content. We trust that customers make decisions about the appropriateness of data to use in testing and avoid use of PII, PHI, or other types of protected information. Cypress makes commercially reasonable efforts to protect confidentiality of information that you provide to Cypress Cloud.
Data Controls
We understand that controlling what data Cypress sends to Cypress Cloud is important to our users. Cypress provides a number of ways to control what data Cypress sends to Cypress Cloud.
If you'd like more granular control over what data Cypress sends to Cypress Cloud, contact us to discuss your needs.
Project access controls
Cypress Cloud offers controls around the visibility of a project. You can set a project to be public or private. See project access control settings.
Setting a project to private means that only the users explicitly invited to the organization have visibility into the project, its runs, and any data captured by Cypress.
Test Replay controls
Network data redaction
By default, Cypress automatically redacts sensitive values from your network logs before uploading Test Replay data to Cypress Cloud. Redaction runs in the Cypress app, on your machine.
What gets redacted
Cypress redacts known-sensitive values from captured network requests and responses:
- Authentication and token headers, including
authorization,proxy-authorization,cookie,set-cookie, andx-api-key - Credential fields in request and response bodies, including
password,client_secret,access_token,refresh_token, andid_token - Access tokens passed as URL parameters, including
access_token,id_token,code, andtoken - Values that match a JWT or SAML-response pattern, wherever they appear
Redacted values appear as (redacted) in the Test Replay network log. Cypress captures everything else as usual, including request timing, status codes, and the structure of each request, so you keep the context you need to debug a request without exposing the values.
Here's how a redacted value looks, next to an un-redacted one:

Note: When this setting is active, Cypress fully drops API response bodies that it can't evaluate for redaction before storing the Test Replay data. For example, Cypress doesn't capture response bodies larger than 512 KB, or ones it can't decode to plain text, at all. Dropped response bodies show as "unavailable" in the network log.
Where redaction happens
Redaction runs in the Cypress app while your tests record, before Cypress uploads Test Replay data.
Who can see Test Replay data
Test Replay data, including the network log, is visible to everyone with access to your project. In a private project, only people invited to your organization with the required team roles can see them. In a public project, any Cloud user can see the runs and the captured data.
Redaction narrows what sits in that Test Replay data. If you are interested in managing access to Test Replay itself, review your project access controls.
Turn redaction off
You can turn redaction off per project.
- Open your project settings in Cypress Cloud.
- Go to the Test Replay section.
- Turn off Prevent capturing sensitive network data.

Sensitive form input masking
By default, Cypress replaces sensitive form input values with asterisks before creating Test Replay artifacts. Like network data redaction, masking runs in the Cypress App on your machine before Cypress uploads any data to Cypress Cloud.
What gets masked in Test Replay
Cypress masks values entered into these fields:
- Password fields (
input[type="password"]) - Hidden fields (
input[type="hidden"]) - Credit card and payment fields that use standard
autocompleteattributes
Masked values appear as asterisks in the captured DOM. You can inspect the form's structure and behavior without storing the entered values. Cypress captures the rest of the page as usual.
Update what is masked in Test Replay
Organization Owners and Admins can turn off masking for individual projects:
- Open your project settings in Cypress Cloud.
- Go to the Test Replay section.
- Turn off Mask sensitive input values.
Users without the Owner or Admin role see a locked setting and cannot change it.

Disable Test Replay
You can disable capturing data in Test Replay per project by following Opt out of Test Replay. Disabling capture means Test Replay is not available for viewing or debugging in the project. Disabling capture also prevents Cypress Cloud from capturing the following data:
- The rendered DOM and CSS styles for the application under test
- Cypress commands and events represented in the Command Log
- Network traffic within your application under test
- Browser console logs
Screenshot controls
Blackout elements in screenshots
The blackout option of cy.screenshot() covers every element that matches a selector with a black box when Cypress takes the screenshot, so those elements aren't visible in that screenshot, wherever you store or share it.
To black out elements in every screenshot, set a default in your support file:
before(() => {
Cypress.Screenshot.defaults({
// black out every element with the mask-cy attribute
blackout: ['[mask-cy]'],
})
})
To black out elements in a single screenshot, pass blackout to that cy.screenshot():
it('admin page loads', () => {
cy.visit('/admin')
cy.screenshot({
blackout: ['.user-name'],
})
})
blackout doesn't apply to the screenshots Cypress takes automatically when a test fails, so sensitive elements stay visible in them. To hide sensitive elements in every screenshot, failure screenshots included, hide them in the default onBeforeScreenshot and onAfterScreenshot callbacks, as shown in Keep sensitive data out of screenshots, including failures. Or turn off failure screenshots by setting screenshotOnRunFailure to false.
Remove Cypress Command Log from screenshots
The capture option of cy.screenshot() decides whether a screenshot includes the Cypress Command Log. With viewport or fullPage, Cypress captures only the application under test, so nothing from the Command Log appears in the image.
To capture only the application under test with every cy.screenshot(), set a default in your support file:
before(() => {
Cypress.Screenshot.defaults({
capture: 'viewport', // or fullPage
})
})
To capture only the application under test in a single screenshot, pass capture to that cy.screenshot():
it('sign in page', () => {
cy.visit('/sign-in')
cy.screenshot({
capture: 'viewport', // or fullPage
})
})
The screenshots Cypress takes automatically when a test fails always use capture: 'runner', whatever default you set, so they include the Command Log. To keep the Command Log out of failure screenshots, hide the Runner UI. Cypress hides it by default when you record a run with Test Replay enabled, and --no-runner-ui hides it in any cypress run. Or turn off failure screenshots by setting screenshotOnRunFailure to false. To keep specific values out of the Command Log itself, see Mask data in the Cypress Command Log.
Video controls
Disable video upload
You can delete videos that are recorded when you are passing video: true by following this guide to control what is uploaded to Cypress Cloud.
Cypress Command Log controls
Turn off Cypress Command Log rendering
You can disable showing the entirety of the Cypress Command Log as well as the Application under Test (AUT) controls in your tests to prevent all test content from being shown and recorded in any screenshot or video by passing --no-runner-ui via the CLI while running Cypress tests. See Cypress Command Line options. Passing --no-runner-ui means that the AUT is the only thing that is rendered while running tests, so the only thing that is captured in screenshots and videos.
When --no-runner-ui is set, Cypress still sends data from the Cypress Command Log to Cypress Cloud to be generated and displayed in Test Replay if it is enabled. See Disable Test Replay for more information.
Mask data in the Cypress Command Log
There are multiple ways to mask data in the Cypress Command Log. When you use these strategies, Cypress still sends data within test definitions to Cypress Cloud.
log: false for Cypress commands
You can pass log: false as an option to Cypress-specific commands in your tests to prevent the data from being shown visibly in the Cypress Command Log and being shown in any captured screenshots or videos.
Disable logging of XHR/Fetch requests
By default, Cypress logs all requests that match any cy.intercept() in the Cypress Command Log, as well as all XMLHttpRequests and fetch requests. You can use cy.intercept() to disable these logs by passing { log: false } in the second parameter. See the cy.intercept() command for more information.
beforeEach(() => {
// disable Cypress's default behavior of logging all XMLHttpRequests and fetches
cy.intercept({ resourceType: /xhr|fetch/ }, { log: false })
})
Mask Cypress commands in the Cypress Command Log
Users can mask passwords in the Cypress Command Log by using a custom command. See our guide on masking the contents of the .type() command for a code example to accomplish this.

Network requests controls
Cypress blocks requests from the hosts you specify. See our blockHosts configuration guide.

Cloud AI controls
Cloud AI is enabled by default for all users on any Cloud plan.
Organization admins and owners can enable and disable the AI capabilities for their entire organization from the organization settings.

When Cypress AI test-authoring tools read your app's DOM, Cypress automatically excludes values from sensitive field types before sending any data to the AI model. The redaction applies to password fields (input[type=password]), credit card fields using standard autocomplete attributes, and hidden inputs (input[type=hidden]). The tools still use the surrounding DOM structure and exclude only the field values.
For details, see cy.prompt sensitive data handling and Studio AI sensitive data handling.