mainwp/get-vulnerability-policy-v1 to read the Vulnerability Checker policy for your Dashboard. It reads saved settings without scanning sites, contacting a provider, or changing settings.
Access
Activate Vulnerability Checker on a Dashboard with WordPress Abilities API support. Your authenticated user must pass the Dashboard Abilities API permission check and have both access to the extension and itsview_vulnerabilities right.
Team Control users with that view right can read this policy when their site access is restricted. The response contains no site findings. Users without the view right cannot run the ability.
Use an Application Password over HTTPS, or an authenticated WordPress session with a REST nonce. See Abilities API authentication.
Read the Policy
The ability accepts no parameters. Extra input fields are rejected.This response is policy information, not a scan result or a claim that your sites are free of vulnerabilities. Credentials, API tokens, and notification recipients are never returned.
Discover the Schema
mainwp-vulnerability-checker. Both schemas reject extra fields. The ability is read-only and idempotent.
Errors
Anonymous execution returns HTTP401. An authenticated caller without the required access receives 403. Invalid input receives 400. If Dashboard authorization, the saved provider, or the existing installation binding is unavailable, the ability returns an error rather than a policy result.