Skip to navigation

Retrieve a website's Malware Scanner settings

View as MarkdownOpen in Claude

Returns how one website is scanned: whether scanning is on, its tier (inherited from the global configuration), the schedule (inherited, read only here), which areas are scanned (filesystem and content.included), the areas skipped (a dashboard-only setting), its scan quota with the dates it resets, and the next scheduled scan. The values read back under the same keys “Update a website’s Malware Scanner settings” accepts.

The id is the website’s Malware Scanner settings id: read it from the site_preset_malware_scan include of “Retrieve a website” (?include=site_preset_malware_scan) or from meta.updated[].site_preset_malware_scan_id of “Assign websites to a Malware Scanner global configuration”.

A website that was never assigned a global configuration has no Malware Scanner settings.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

site_preset_malware_scanstringRequired

Query parameters

includestringOptional

Relations to add to the answer: preset (the global configuration the website uses). Without include it is answered; an empty include= answers none. Any other name answers 400.

Response

200 - Malware scan service

dataobjectOptional
jsonapiobjectOptional