Task
Describes the task object.
Properties
The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.
The start time of task in epoch millis.
The current status of task.
Possible values are: IN_PROGRESS , COMPLETED , FAILED
The end time of task in epoch millis.
This filed contains the details specific to the Task type (NOTIFICATION/REMEDIATION)
Unique identifier for task.
List of notification ids on which the action is performed.
Which type of task user wants to create.
Possible values are: NOTIFICATION , REMEDIATION , COLLECTOR
The name of the user
This field is specific to remediation task. dag_id represent dag_id created for airflow pipeline.
The details of performing action.
JSON Example
{
"action": "ACKNOWLEDGE",
"notification_ids": [
"id1",
"id2"
],
"status": "IN_PROGRESS",
"type": "NOTIFICATION",
"user_name": "admin"
}
Returned By
Get All Tasks
Get Task