Remediation Update Action
This API is used for updating a remediation action. Update API expects all parameters retrived via get API. Fields "action_name", "file_type", "created_on" and "last_updated" are read-only and can't be updated. Any missing non mandatory field in update request, will be set to default values.
Unique id, to indentify the action
Show optional properties
{
"action_name": "slack_action",
"file_type": "PYTHON",
"params": [
{
"parameterName": "slack_message",
"option": "mandatory"
},
{
"parameterName": "slack_channel",
"option": "mandatory"
}
]
}
{
"action_name": "string",
"file_data": "string",
"created_on": "string",
"last_updated": "string",
"params": [
{}
]
}
Name of the remediation action
either PYTHON or YAML
file content
action creation timestamp
action last update timestamp
list of string parameterName and option, option can be mandatory or optional
Created
Invalid Request sent by the user
resouce not found
Internal server error