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 & Web scan on authentication failure

Snyk is rolling out a new navigation. The steps on this page describe the classic interface. If your view looks different, visit Navigate the Snyk Web UI to map these options to the new interface.

Fail 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?