Show malware scan configuration
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
Query parameters
Response
200 - Malware scan configuration
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
200 - Malware scan configuration
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.