Skip to content

Choosing Security Tests

Each check Escape runs is a security test with its own identifier, for example header_strict_transport_security. A scan runs the tests that apply to its scanner type. You don't need to enable them one by one.

Each test has a reference page in the Vulnerabilities Reference with its identifier, the scanners that support it, and how it tests.

Skip a Security Test

To stop a test from running on a profile, set skip: true for its identifier in the profile configuration (Settings > Scan configuration > Expert):

security_tests:
  header_x_frame_options:
    skip: true
  csp_allowed_scripts:
    skip: true

The next scans of this profile don't run these tests. To run a test again, remove its entry or set skip: false.

A test disabled for the whole organization (for example with the /security-tests API) stays off in every profile: skip: false in a profile doesn't turn it back on. Enable it again for the organization.

Security Headers

Escape checks these HTTP response headers. Skip any of them with its identifier as shown above.

Header Security test Identifier
Content-Security-Policy Missing Content Security Policy Header csp_missing
Content-Security-Policy Unsafe Eval or Inline in Content Security Policy csp_unsafe_eval
Content-Security-Policy CSP Allowlisted Script Resources csp_allowed_scripts
Strict-Transport-Security Misconfigured Strict-Transport-Security Header header_strict_transport_security
X-Frame-Options Misconfigured X-Frame-Options Header header_x_frame_options
X-Content-Type-Options Misconfigured X-Content-Type-Options Header header_x_content_type_options
Referrer-Policy Misconfigured Referrer-Policy Header header_referrer_policy
Content-Type Misconfigured Content-Type Header header_content_type
Cache-Control Misconfigured Cache Control Header header_cache_control
Set-Cookie Misconfigured Set-Cookie Header header_set_cookie
Permissions-Policy Excessive Browser Permissions excessive_browser_permissions

Each reference page lists the scanners that run the test.