Run a security scan
fleet__scan_securityStart a fresh security scan on each chosen site (up to 50) with its own security plugin: GuardPress, which scans before answering and reports the site's security score and grade, otherwise Wordfence, which scans in the background. Optional site_ids (default every connected site). A scan changes nothing on the site, so it starts at once; the reply lists sites with no scanner (Kadence Security cannot scan). Use fleet__check_vulnerabilities afterwards for what was found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_ids | No | Restrict to these site ids. Omit for every eligible site. |