# Deep Security Manager REST API

## Name: EventBasedTask

Details of an event-based task.

JSON Example:
    {"EventBasedTask":
     {
       "actions": [Action],
       "conditions": [Condition],
       "enabled": Boolean,
       "id": Number,
       "name": String,
       "type": 'computer-created-by-system' | 'computer-moved-by-system' | 'agent-initiated-activation' | 'agent-ip-changed' | 'nsx-protection-changed',
     }
    }

Elements
Name | Type | Required | Default Value | Description
--- | --- | --- | --- | ---
actions | zero or N[Action] | No | `` | Get the actions that will be performed by this task.
conditions | zero or N[Condition] | No | `` | Get the conditions that must be true for this task to start.
enabled | Boolean | No | `true` | Get the enabled state for this task.
id | Number | No | `` | Get the task's identifier.
name | String | Yes | `` | Get the name to use when displaying this task.
type | 'computer-created-by-system' | 'computer-moved-by-system' | 'agent-initiated-activation' | 'agent-ip-changed' | 'nsx-protection-changed' | Yes | `` | Get the event type that will trigger this task.

Copyright © 2017 Trend Micro Inc. All Rights Reserved.