You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c4f5ea
Browse filesBrowse the repository at this point in the historyBrowse files
docs: resolve the DAST timeout and failure-reason TODOs [OD-801]
The SPA only shows the Auth failed label, so the failure reason is
read through the API. Point repeated timeouts to support.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/security/app-scanning.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ When a scan can't sign in, or loses the session and can't sign in again, the sca
168
168
169
169
For API targets with header-based authentication, **Auth failed** means that 90% or more of the responses from the target were HTTP 401 or 403, so the headers were most likely rejected. A successful result only means that the API didn't reject the headers, not that every endpoint was reachable.
170
170
171
-
The label reflects the target's last finished scan, so it goes away once a later scan finishes without an authentication failure. To see the exact reason, list the target with the Codacy API and read `lastAuthenticationFailureReason`, as shown in [Trigger DAST scans](../codacy-api/examples/triggering-dast-scans.md#checking-the-last-authentication-result). The reason starts with one of these messages:
171
+
The label reflects the target's last finished scan, so it goes away once a later scan finishes without an authentication failure. The Codacy UI only shows the label. To see the exact reason, list the target with the Codacy API and read `lastAuthenticationFailureReason`, as shown in [Trigger DAST scans](../codacy-api/examples/triggering-dast-scans.md#checking-the-last-authentication-result). The reason starts with one of these messages:
172
172
173
173
-**No login form found:** check that the login page URL shows the login form, and that the form follows [the markup the scan looks for](#helping-the-scan-find-your-login-form). The reason includes the URL the scan checked.
174
174
-**Login was rejected:** sign in manually with the same username and password, and check that the account isn't locked or asking for MFA or a CAPTCHA.
@@ -180,9 +180,7 @@ Apart from **No login form found**, the reason also names the form and the usern
180
180
Some failures aren't authentication failures, so the target doesn't show the **Auth failed** label, and the scan is retried:
181
181
182
182
-**The login page couldn't be reached:** check that the login page URL is correct and that [Codacy's IP addresses](../codacy-api/examples/triggering-dast-scans.md#adding-codacy-to-your-allowlist-for-dast-scans) can reach it.
183
-
-**The scan timed out:** an authenticated web app scan stops after about an hour. <!-- TODO: verify what to advise when an authenticated scan times out (narrower target URL? contact support?) -->
184
-
185
-
<!-- TODO: verify whether the scan's failure reason is shown anywhere in the Codacy UI; in the OD-815 PRs it is only available through the API -->
183
+
-**The scan timed out:** an authenticated web app scan stops after about an hour. If your scans keep timing out, let us know via support or your account representative.
0 commit comments