Free plan available. Set up in minutes with the collectors you already use. Start free
Logthread

Guide

Managed DAST scans

New to this? See Code and app security: what you get.

Logthread can scan your running web application for you. It uses OWASP ZAP and Nuclei, so your CI does not have to. The results join your other findings under Code security → Findings. A step-by-step version of this page is Scan your website and API (DAST). Each scan also has a report with one extra check: did your own logs and detections see the attack?

Logthread only scans a site after you prove you control it and an owner or admin accepts the scan terms. Point full and API scans at test or staging systems. Full and API scans need the verification file on the site itself; a DNS record is enough for baseline scans only.

These are automated vulnerability scans. Logthread is not a PCI Approved Scanning Vendor (ASV) and does not perform penetration tests. The reports support PCI DSS 6.4 and 11.3.1 internal vulnerability scanning and ISO 27001 control 8.29 (security testing). They are not ASV scans (PCI DSS 11.3.2) or penetration tests (11.4).

Who scans you#

Every request a scan sends:

  • comes from Logthread's scan address, which is shown on each target page in the app, so you can allowlist it in your firewall or web application firewall;
  • carries the User-Agent Mozilla/5.0 (compatible; Logthread-DAST/1.0; +https://logthread.com/sdk/docs/managed-dast-scans; scan=<scan id>);
  • carries the header X-Logthread-Scan: <scan id>.

If you see this traffic and did not expect it, contact security@logthread.com with the scan id.

Set up a target#

Open Code security → Website and API scans (DAST) → Add your website or API. The page then walks you through these steps:

  1. Address, service and scope. Give the base URL, such as https://staging.example.com.
  2. The scan starts at that URL and never leaves its host and port.
  3. The service is the name your logs use for this application. Findings and the log check use it.
  4. Optionally, give path prefixes to scan only (such as /app) and prefixes to never touch (such as /admin or /logout). "Scan only under" matches the case you type; "Never scan" ignores case, so /admin also keeps scans off /Admin on servers such as IIS.
  5. Prove control. Either way works for baseline scans; full and API scans need the file:
  6. DNS: add a TXT record _logthread-scan.<host> whose value is the token the page shows. The same record on a parent domain covers every sub-domain under it. For example, _logthread-scan.example.com covers staging.example.com.
  7. File: serve the token as plain text at /.well-known/logthread-scan.txt on the site itself. Answer directly with no redirect, and keep the file under 4 KB. The file is needed for full and API scans: a DNS record shows you own the name, not that the server it points to is yours.

Logthread checks the proof again before every scan. If you remove it, the next scan fails and the target stops until you prove control again.

  1. Accept the scan terms. An owner or admin chooses which modes are allowed and accepts the terms. Logthread keeps who accepted, when, from which IP address, for which modes and scope. The record is shown on the target and in each report. If you change the scope, accept the terms again.
  2. Run the first scan. Start with a baseline scan. You can follow it live and stop it at any time.

Addresses that resolve to private, loopback, link-local or cloud metadata ranges are refused, as are Logthread's own addresses and public suffixes shared by many owners (such as github.io). This is checked when you add the target, before each scan, and on every connection the scanners make, including redirects.

Modes#

ModeWhat it doesUse it on
BaselineCrawls the site and runs ZAP's passive rules. Only GET, HEAD and OPTIONS requests go out, plus your login request when you set one. A DNS record or the file proves control.Any environment
FullNeeds the file proof. Adds ZAP's active scan (injection, cross-site scripting and more) and Nuclei's checks for known CVEs, exposures and misconfigurations. Denial-of-service, fuzzing, intrusive and brute-force checks are left out.Test or staging. On a host that looks like production, accepting the terms needs you to type the host name.
APINeeds the file proof. Imports your OpenAPI (Swagger) or GraphQL definition, by URL on the target or as an uploaded file of up to 5 MB, and attacks each operation.Test or staging, with the same rule as full

Limits and safety#

Each target has these limits:

  • Rate: requests per second, 1 to 50 (default 10).
  • Duration: a baseline scan runs at most 1 to 30 minutes (default 30). A full or API scan runs at most 10 to 240 minutes (default 240).
  • Scan window: optional days and hours in your time zone, such as weeknights from 22:00 to 06:00. A scan started outside the window waits for it to open, and ends when it closes.
  • Server errors: a scan stops on its own when the target answers mostly with server errors. The default is 30% of the answers in the last minute, or 100 in a row.
  • One scan at a time per target, and at most three queued or running per workspace.
  • Plan quotas: the number of targets and the managed scans per 30 days.

Stop ends a running scan within seconds. Every further request is refused at once.

How scan time is metered#

Managed scan time is each scan's run time, from when the scanner started to when the scan ended, counted to the microsecond and shown in hours (rounded half up to 6 decimals). A scan that crosses midnight at the end of a month counts in each month for the part that ran in it.

A scan's run time counts when the scan:

  • completed, or ran until its maximum duration or the end of its scan window (also when Logthread stopped it there);
  • was stopped by you: Stop, or the consent revoked or replaced, or the scope changed while it ran;
  • was stopped because the target failed: too many server errors, or the target refused the sign-in you set up.

It never counts when the scan failed on Logthread's side (the scan worker crashed, stopped answering or ran past its limit), also after you asked it to stop, or never started (stopped or expired while queued, or the proof of control or consent was missing when it was about to start). It also does not count when the proof of control disappeared while the scan ran. Each scan shows why it ended and whether its time counts.

Administration → Usage shows this month's managed scan time and scans under Scans, with scans still running counted up to now. From 1 November 2026 scan time is charged by usage at the standard scan prices (the first scan-hour each month is free, then ₹399 or $5 per scan-hour), unless your billing account has its own agreed rate; the quotas above still apply. Before billing is set up for your workspace, the usage is recorded and may be charged on your first statement. A 30-minute baseline scan is at most half a scan-hour, and a 4-hour full scan at most four.

Signed-in scans#

To scan pages behind a login, add a sign-in on the target. Use a dedicated test account. A sign-in needs an https:// target with a valid certificate: Logthread never sends credentials to an unverified server. It can be one of:

  • a bearer token;
  • a header and its value;
  • a session cookie;
  • a login form, given as the login path, the field names and the account.

The sign-in is stored encrypted and is never shown again. Only the scan worker uses it, and only for the target's own host.

Certificates#

Logthread verifies the target's TLS certificate. For a test system with a self-signed certificate, turn on Accept a self-signed certificate under the target's limits. That is not possible on a target with a sign-in.

Schedules and deploys#

  • Schedules: scan daily or weekly at an hour in your time zone, in a mode you accepted the terms for.
  • After each deploy: create the deploy hook on the target and store its token as a CI secret. Then call it at the end of your deploy job:
curl -fsS -X POST "https://logthread.com/api/dast/hooks/<target id>?mode=baseline" \
  -H "X-Logthread-Hook-Token: $LOGTHREAD_SCAN_HOOK_TOKEN"

Findings and the report#

The findings appear in Code security → Findings:

  • the tool is Managed ZAP or Managed Nuclei with the target's host;
  • the type is Your running website and API (DAST);
  • each finding has its URL, method, parameter and evidence. Credentials in the evidence are redacted.

Findings are triaged like every other finding. A finding is marked fixed when the next completed full scan of the target no longer reports it. Baseline, API and stopped scans never mark anything fixed.

Every scan has a report as HTML or PDF. It contains:

  • a summary by risk, and each finding with its location, evidence, CWE and fix;
  • what changed since the previous scan, both new findings and findings no longer found;
  • the scope, mode, limits and consent record;
  • the traffic: requests sent, answers by class, and requests the guard refused;
  • runtime correlation: how many of the scan's requests appear in your service's logs (they carry the scan id), and which detections fired while the scan ran. If your logs show none of the requests, a real attack would not be visible to you either.

The report also names the scanners that ran: the ZAP version and its active and passive scan-rule versions, the Nuclei version, its templates version and count, and when the rules and templates were last updated. Logthread updates the Nuclei templates and ZAP's scan rules every week, after a check that the updated scanners work.

The raw ZAP and Nuclei output is kept with the scan as evidence for 400 days.

How the scanner is isolated#

Scans run on a separate worker. It has no network route to Logthread's own systems and talks to Logthread only through the public API. The scanners themselves can only reach a guard. For each connection, the guard:

  • resolves the host and refuses non-public addresses;
  • pins the connection to the address it checked;
  • keeps requests on the target's host, port and scope;
  • applies the rate, duration and error limits;
  • adds the identifying headers.