post https://{hostname}/appsec/v1/configs//versions//malware-policies
Create a new malware policy for a security configuration version.
Responses
Create a new malware policy for a security configuration version.
xxxxxxxxxx
curl --request POST \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/malware-policies \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
30}
{
"allowListId": "523719_ALLOWLIST",
"blockListId": "524002_BLOCKLIST",
"contentTypes": [
{
"encodedContentAttributes": [
{
"encoding": [
"base64"
],
"path": "image.imagePath"
}
],
"name": "application/json"
}
],
"description": "Malware scan configuration details",
"hostnames": [
"abc.com",
"def.com",
"xyz.com"
],
"id": 82,
"logFilename": true,
"name": "FMS Configuration",