Set The Supported Malware Settings For An MX Network

PUT {{baseUrl}}/networks/:networkId/appliance/security/malware

Set the supported malware settings for an MX network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: mode| string| Set mode to 'enabled' to enable malware prevention, otherwise 'disabled' allowedUrls| array| The urls that should be permitted by the malware detection engine. If omitted, the current config will remain unchanged. This is available only if your network supports AMP allow listing allowedFiles| array| The sha256 digests of files that should be permitted by the malware detection engine. If omitted, the current config will remain unchanged. This is available only if your network supports AMP allow listing

Request Body

{"mode"=>"<string>", "allowedUrls"=>[{"url"=>"<string>", "comment"=>"<string>"}, {"url"=>"<string>", "comment"=>"<string>"}], "allowedFiles"=>[{"sha256"=>"<string>", "comment"=>"<string>"}, {"sha256"=>"<string>", "comment"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;mode&quot;:&quot;enabled&quot;,&quot;allowedUrls&quot;:[{&quot;url&quot;:&quot;example.org&quot;,&quot;comment&quot;:&quot;allow example.org&quot;},{&quot;url&quot;:&quot;help.com.au&quot;,&quot;comment&quot;:&quot;allow help.com.au&quot;}],&quot;allowedFiles&quot;:[{&quot;sha256&quot;:&quot;e82c5f7d75004727e1f3b94426b9a11c8bc4c312a9170ac9a73abace40aef503&quot;,&quot;comment&quot;:&quot;allow ZIP file&quot;}]}