For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fail on authentication failure

How to fail a Snyk API and Web scan on authentication failure

In Snyk API & Web, you can force your scans to fail if authentication is unsuccessful.

To enable this feature:

  1. Configure authentication for your Web or API target.

  2. Select the When login fails, fail the scan immediately and notify me check box.

  3. Click Save.

On your next scan, Snyk tries to authenticate. If authentication or reauthentication is not possible, the scan fails immediately, and Snyk notifies you by email so that you can take action.

Last updated

Was this helpful?