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 except `sites_count`. 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), `sites_count` (how many websites use the configuration - always present on this route, unlike the listing where it is opt in) and the timestamps. 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

Response

200 - Malware scan configuration

dataobjectOptional
jsonapiobjectOptional