0
(0)

 Note

We’ve renamed Microsoft Cloud App Security. It’s now called Microsoft Defender for Cloud Apps. In the coming weeks, we’ll update the screenshots and instructions here and in related pages. For more information about the change, see this announcement. To learn more about the recent renaming of Microsoft security services, see the Microsoft Ignite Security blog.

Run the GET or POST request to fetch a list of activities matching the specified filters.

HTTP request

HTTP

GET /api/v1/activities/
HTTP

POST /api/v1/activities/

Request BODY parameters

REQUEST BODY PARAMETERS
Parameter Description
filters Filter objects with all the search filters for the request, see activity filters for more details
sortDirection The sorting direction. Possible values are: asc and desc
sortField Fields used to sort activities. Possible values are:

  • date: The date when then the activity happened
  • created: The timestamp when the activity was saved
skip Skips the specified number of records
limit Maximum number of records returned by the request

Example

Request

Here is an example of the request.

HTTP

curl -XPOST -H "Authorization:Token <your_token_key>" "https://<tenant_id>.<tenant_region>.contoso.com/api/v1/activities/" -d '{
  "filters": {
    // some filters
  },
  "skip": 5,
  "limit": 10
  ...
}'

Response

Returns a list of activities in JSON format.

JSON

{
  "total": 5 // total number of records
  "hasNext": true // whether there is more data to show or not.
  "data": [
    // returned records
  ]
}

If you run into any problems, we’re here to help. To get assistance or support for your product issue, please open a support ticket.

Source : Official Microsoft Brand
Editor by : BEST Antivirus KBS Team

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.