Overview
Esadax's Protection Bypass for Automation feature allows you to temporarily bypass deployment protection mechanisms, such as password protection, authentication, and trusted IPs, for automated tools like end-to-end testing. This is particularly useful when automating processes that require access to your application.
Table of Contents
- Compliance Measures
- Methods to Bypass Deployment Protection
- Protection Bypass for Automation
- How-to Protection Bypass for Automation
Compliance Measures
- Shared Responsibility: Ensure that compliance measures are shared between your team and Esadax.
- Firewall Access Control: Implement strict firewall rules to control access to sensitive areas.
- SAML/SSO: Use Single Sign-On (SSO) solutions for secure authentication.
- HTTPS/SSL: Enforce HTTPS to secure data in transit.
- Directory Sync: Synchronize directories for user management.
Methods to Bypass Deployment Protection
- Password Protection: Temporarily disable or bypass password protection for automated tools.
- Esadax Authentication: Use generated secrets to bypass Esadax's authentication layer.
- Trusted IPs: Extend trusted IP ranges for testing environments.
Protection Bypass for Automation
- Generated Secret: A secret value is created to bypass deployment protection.
- System Environment Variable: The secret is automatically added as
Esadax_AUTOMATION_BYPASS_SECRET to your deployments.
- Redeployment Requirement: Updating the secret will require redeploying your application.
Who Can Manage Protection Bypass for Automation?
- Team Members: Those with at least the "Member" role can manage bypass settings.
- Project Administrators: Users with the "Project Administrator" role have full control.
Using Protection Bypass for Automation
- Set Header or Query Parameter: Use
x-esadax-protection-bypass header or query parameter with your generated secret.
x-esadax-protection-bypass: your-generated-secret
- Optional Advanced Configuration:
Example: Playwright Configuration
const config: PlaywrightTestConfig = {
use: {
extraHTTPHeaders: {
'x-esadax-protection-bypass': process.env.Esadax_AUTOMATION_BYPASS_SECRET,
'x-esadax-set-bypass-cookie': true | 'samesitenone' // optional
}
}
};
Last Updated