Views:

Preparation

Follow First steps toward using the API and take note of the following:

  1. You may either use the desktop or web version of Postman.
  2. Download OpenAPI specification
  3. Import the OpenAPI specification in Postman.

    Click the image to enlarge.

  4. Under Collections, go to Authorization tab then enter your Authentication Token.

    Click the image to enlarge.

  5. Click Variables tab and modify the "Current value" of baseUrl with your Trend Vision One API Regional Domain.

    Click the image to enlarge.

  6. Click Save.

GET request

Example: List suspicious objects from Threat Intelligence
  1. On Params tab, enter the values for the query parameters:

    Click the image to enlarge.

  2. On Headers tab, enter the value for the header parameter:

    Click the image to enlarge.

  3. Click Send.

POST request

Example: Add suspicious objects to Threat Intelligence
  1. On Body tab, enter the values for the request body schema:

    Click the image to enlarge.

  2. Click Send.
  1. Install the required Python packages.
    • pip install requests
    • pip install ldap3
  2. Update the values of url_base and token.

GET requests

Example: List suspicious objects from Threat Intelligence
  1. On the query_params section, update the values of the parameters.

    Click the image to enlarge.

  2. Run the script.

POST requests

Example: Add suspicious objects to Threat Intelligence
  1. On the body section, update the values of the parameters

    Click the image to enlarge.

  2. Run the script.
HTTP status code Error Code Problem Cause
401 Unauthorized InvalidCredentials or InvalidToken The authentication token is invalid The authentication token or the API Regional Domain included with the API request is wrong
403 Forbidden AccessDenied The authentication token is valid but not allowed to do an action or access a resource The role assigned to the API key does not have the necessary permissions for the resource or the operation
404 Not Found NotFound A request tries to access a resource but the resource is not found The resource no longer exists

Additional documentations