Update Malware Prevention Configuration
Update configuration for Malware Prevention deployment.
The Malware Prevention configuration specifies parameters for file analysis. This configuration must be provided before deploying the Malware Prevention feature.
Update Malware Prevention configuration.
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"cloud_file_sharing_params": {
"file_metadata_sharing_mode": false,
"file_sharing_mode": false,
"file_type_categories": {
"archive": false,
"document": false,
"executable": false,
"java": false,
"media": false,
"script": false
}
},
"data_retention_params": {
"file_retention_duration": 0,
"report_retention_duration": 0
},
"mps_features_supported": [
"string"
]
}
Update request has been processed and accepted.
{
"id": "b8f47985-22ed-3193-bca8-11c7b025cbce",
"status_url": "/operation/status"
}
UUID identifier of the response.
The URL to check the status of the operation.
Bad Request - Invalid configuration parameters.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed - The provided _revision does not match the current persisted value. The client should retrieve the current configuration, merge changes, and retry with the correct revision.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required - The _revision property is required for updates but was not provided in the request body.
"Error Object"
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Update operation encountered error.
"Error Object"
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/ssp/lcm/malware-prevention/config