To become familiar with the APIs, send sample requests to Trend Micro Vision One.
Obtain the Authentication Token of an Account
The Trend Micro Vision One console automatically generates an authentication token for each account with API access.
Built-in Roles
Trend Micro Vision One has built-in roles with fixed permissions that Master Administrators can assign to accounts.
The following table provides a brief description of each role.
|
Role |
Description |
|---|---|
|
Master Administrator |
Can access all apps and administration features |
|
Administrator |
Can configure system settings and connect products |
|
Senior Analyst |
Can perform live responses during investigation and advanced threat hunting |
|
Analyst |
Can investigate and triage security events |
|
Auditor |
Can view Audit logs and the Security Posture app |
Perform a GET Request
This section shows sample GET requests to the List detection models API.
For more information, see the Detection Models section of the API reference.
List Detection Models Using a cURL Command
This command allows you to retrieve a list of enabled and disabled detection models.
Use the following information to create the request.
-
Request type: GET
-
URL: https://api.xdr.trendmicro.com/v1.0/xdr/dmm/models
-
Header:
-
Key: Authorization
-
Value: Bearer <your authentication token>
-
To send the request right away, you can use an HTTP client such as cURL, Paw, or Postman.
Command
curl -X GET https://api.xdr.trendmicro.com/v1.0/xdr/dmm/models \ -H "Authorization: Bearer <your authentication token>
Response Body
{
"data": [
{
"modelId": "ti-0001",
"name": "Threat Intelligence",
"enabled": true
},
...
]
}
List Detection Models Using a Python Script
This script allows you to retrieve a list of enabled and disabled detection models.
Perform a POST Request
This section shows sample POST requests to the Enable or disable a detection model API.
For more information, see the Detection Models section of the API reference.
Enable a Detection Model Using a cURL Command
This command allows you to enable or disable detection models based on your organization's security requirements.
Use the following information to create the request.
-
Request type: POST
-
URL: https://api.xdr.trendmicro.com/v1.0/xdr/dmm/models/{id}
-
First header:
-
Key: Authorization
-
Value: Bearer <your authentication token>
-
-
Second header:
-
Key: Content-Type
-
Value: application/json
-
-
Request body:
{ "enable": true }
To send the request right away, you can use an HTTP client such as cURL, Paw, or Postman.
Command
curl -X POST https://api.xdr.trendmicro.com/v1.0/xdr/dmm/models/{id} \
-H "Authorization: Bearer <your authentication token>" \
-H "Content-Type: application/json" \
-d '{
"enable": true
}'
Enable a Detection Model Using a Python Script
This script allows you to enable or disable detection models based on your organization's security requirements.
