Show malware scan configuration

View as MarkdownOpen in Claude
Read one Malware Scanner global configuration. Ids come from "List malware scan presets", which answers the same attributes for every configuration. Response attributes, under the same keys the writes accept: `name`, `tier` (basic, premium), `status` (enabled, disabled), `is_default` (true for the configuration new websites receive), `schedule` (`frequency` monthly, weekly or daily, `start_hour` HH:MM, `timezone`, `day_week`, `day_month`), `extensions` (file extensions skipped by the scan, from the provider's own code-file set: `php`, `phtml`, `php3`, `php4`, `php5`, `php7`, `phps`, `inc`, `js`, `html`, `htm`, `htaccess`, `svg`), `max_file_size` (bytes) and the timestamps. `sites_count`, how many websites use the configuration, is opt in with `fields[preset-malware-scans]=sites_count`. A configuration of another organization answers 404.

Authentication

AuthorizationBearer

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

Path parameters

preset_malware_scanstringRequired

Query parameters

fields[preset-malware-scans]stringOptional
Opt into the computed website count

Response

200 - Malware scan configuration

dataobjectOptional
jsonapiobjectOptional