> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/events/filtering-events.md).

# Filter events

\
DoControl's Events page is a powerful investigation surface that gives you instant context and precision filtering.

You can filter all the real-time events that DoControl monitors, including [risky events](#risky-events) that might cause data exposure or exfiltration.

By default, the Events page shows the most recent events from the **same** **day**.&#x20;

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FGLu0fhJZQGDRxPThx9HG%2FEvents.png?alt=media&amp;token=3fba2c16-1841-4a91-9527-a44acc28816f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

* If no date range is selected, events are displayed from the last **24 hours**.
* You can search for events that occurred during the last 6 months.
  {% endhint %}

You can filter your events with any combination of these filters:

* [Quick filters](#quick-filters)
* [Date and time filter](#date-and-time-filter)
* [App filter](#app-filter)
* [Actor filter](#actor-filter)
* [Target filter](#target-filter)
* [Advanced event filters](#advanced-event-filters)
* [Advanced identity filters](#advanced-identity-filters)

{% hint style="success" %}

* To download all filtered events, click the <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F8QxHQppNorCnfsRFOYKU%2Fdownload%20icon.png?alt=media&amp;token=5b846f8f-0661-4a5b-b406-dc96e0816fa4" alt="" data-size="line"> **Export to CSV** icon. You can download up to 50,000 events at a time.
* See DoControl's [use cases for advanced filtering](#use-cases-for-advanced-filtering)
  {% endhint %}

## Quick filters

You can filter events according to these quick filters. All events are considered risky since they might cause data exposure or exfiltration. Events are displayed from the last 7 days:

<table><thead><tr><th width="226">Quick event filter</th><th>Description</th></tr></thead><tbody><tr><td>Downloads by risky users</td><td><ul><li>Events involving a file that was saved from the app to a risky actor's operating environment </li><li>The user who downloaded has a risk score between 80-100</li></ul></td></tr><tr><td>Downloads by watchlist users</td><td><ul><li>Events involving a file that was saved from the app to a watchlist actor's operating environment </li><li>The user who downloaded was added to DoControl's Identities watchlist</li></ul></td></tr><tr><td>External shares by watchlist users</td><td><ul><li>Events that involve assets having being shared with external collaborators outside your organization</li><li>The actor who shared was added to DoControl's Identities watchlist</li></ul></td></tr><tr><td>Public/external shares by admins</td><td><ul><li>Events that involve assets being shared with external collaborators outside your organization, or via public links or web publishing</li><li>The actor who shared has at least one admin role</li></ul></td></tr><tr><td>Public/external shares by risky users</td><td><ul><li>Events that involve assets being shared with external collaborators outside your organization, or via public links or web publishing</li><li>The user who shared has a risk score between 80-100</li></ul></td></tr><tr><td>Public shares by non-admins</td><td><ul><li>Events that involve assets being shared via public links or web publishing</li><li>The user who shared does not have any admin roles</li></ul></td></tr><tr><td>Terminated users with risky events</td><td><ul><li>Events that might cause data exposure or exfiltration, including external and public shares, upload/download, and user operations, such as login from a non-trusted IP</li><li>Terminated users are users whose employment with the company has ended</li></ul></td></tr></tbody></table>

#### To filter events with quick filters:

1. From the DoControl side menu, click **Events**.
2. Select a quick filter to display event types from the last 7 days:\
   \
   ![](https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FqSZiKgvLa9LAJUXLf6tw%2FEvent%20quick%20filters.png?alt=media\&token=582cb6ff-2a4d-4c0e-9dfd-df9c03c76f23)

For example: If you select **Downloads by watchlist users,** all assets that were downloaded by users on your watchlist are displayed:<br>

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FLsG0DVPVEOlUYRHJA1Ht%2Fdownloads%20by%20watchlist%20users.png?alt=media&amp;token=0f4c947d-161c-4ac3-9ded-f8a826904f5b" alt=""><figcaption></figcaption></figure>

## Date and time filter

You can filter for events from a predefined date range or a custom range from the last 6 months.&#x20;

{% hint style="info" %}

* To search for events older than 6 months, contact Customer Success.
* Up to 3 custom date ranges are displayed in the date filter.&#x20;
  {% endhint %}

#### To filter for events from a predefined date range:

1. Click the date filter.\
   \
   ![](https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2Fy0tuED83XxRPlGhKGiFm%2Fcustom%20date%20range.png?alt=media\&token=2090261e-eb3d-412c-b6ee-4c5419ea6ac6)
2. Select the relevant range:
   * Last 24 hours
   * Last 7 days
   * Last 14 days
   * Last 31 days

#### To filter events from a custom date range:

1. Click the date filter.
2. Click **Custom range**.
3. Click a **specific** date to filter events for any calendar day in the last 6 months.
4. Select a **start** **date and time** and **end date and time** to filter events for any range in the last 6 months.<br>

   <div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FJUSsu37hEjqqbi0Qv5ap%2Fcustom%20date%20range.png?alt=media&amp;token=57f30082-d0fd-4a08-bbd8-d0a774437ea6" alt="" width="563"><figcaption></figcaption></figure></div>
5. Click **Save and close**.\
   Up to 3 custom date ranges are displayed in the date filter.&#x20;

{% hint style="info" %}
If you define more than 3 custom date ranges, the previous ranges are overwritten in the date dropdown menu.
{% endhint %}

## App filter

Include or exclude any integrated SaaS app that was involved in the event:

* Box
* CrowdStrike
* Dropbox
* Entra ID
* GitHub
* Google Drive
* Google Workspace
* Okta
* OneDrive
* Salesforce
* SharePoint
* Slack or Slack Enterprise
* Teams
* Zoom

<div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F5RbLDW9fB5VBRMZq5SWE%2FApp%20filter.png?alt=media&amp;token=37c34cf4-eb6d-4be8-aaf0-a87a6d24483b" alt=""><figcaption></figcaption></figure></div>

## Actor filter

Filter for the user who triggered the event using any of these operators:

<table><thead><tr><th width="230.0859375">Operator</th><th>Description</th></tr></thead><tbody><tr><td>Equals</td><td>An exact match for the actor's email</td></tr><tr><td>Doesn't equal</td><td>Actor's email doesn't have the exact match</td></tr><tr><td>Starts with</td><td>Actor email begins with the entered string</td></tr><tr><td>Ends with</td><td>Actor email ends with the entered string</td></tr><tr><td>Contains</td><td>Actor email has the partial string</td></tr><tr><td>Doesn't contain</td><td>Actor email doesn't have the partial string</td></tr><tr><td>Includes</td><td>Events triggered by any of several actor emails</td></tr><tr><td>Excludes</td><td>Events not triggered by any of several actor emails</td></tr></tbody></table>

## Target filter

Filter for the recipient of the event using any of these operators:

<table><thead><tr><th width="230.0859375">Operator</th><th>Description</th></tr></thead><tbody><tr><td>Equals</td><td>An exact match for the recipient's email</td></tr><tr><td>Doesn't equal</td><td>Recipient's email doesn't have the exact match</td></tr><tr><td>Starts with</td><td>Recipient email begins with the entered string</td></tr><tr><td>Ends with</td><td>Recipient email ends with the entered string</td></tr><tr><td>Contains</td><td>Recipient email has the partial string</td></tr><tr><td>Doesn't contain</td><td>Recipient email doesn't have the partial string</td></tr></tbody></table>

## Advanced event filters

Use advanced filters for pinpointed filtering of specific events. With DoControl's advanced event filters, you get comprehensive context and precision filtering.

{% hint style="success" %}
You can add as many filters as necessary.
{% endhint %}

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FNHR5k5fMk804cTmBgsop%2Fadvanced%20event%20filters.png?alt=media&amp;token=936c2c2e-5c91-4cdb-abd3-11a3b056fd88" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="185">Advanced event filter</th><th width="244">Operator</th><th valign="top">Description</th></tr></thead><tbody><tr><td>Access event</td><td>Includes/ excludes</td><td valign="top"><p>Include or exclude these event types:</p><ul><li>Access</li><li>Login</li></ul></td></tr><tr><td>Actor type</td><td>Equals</td><td valign="top"><p>Who performed the event: </p><ul><li><strong>Non-human</strong> - App or service account</li><li><strong>Human</strong> - Real-person user</li></ul></td></tr><tr><td>App ID</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li><li>Includes/ excludes</li></ul></td><td valign="top">Unique identifier for the application where the event was triggered</td></tr><tr><td>Asset</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li></ul></td><td valign="top">If the string appears in the asset title involved in the event</td></tr><tr><td>Event ID</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li><li>Includes/ excludes</li></ul></td><td valign="top">If the string appears in the unique event identifier<br></td></tr><tr><td>Event type</td><td>Includes/ excludes</td><td valign="top">User action as defined in the relevant SaaS app, for example:<br>Identity risk score changed (DoControl)</td></tr><tr><td>IP address</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li></ul></td><td valign="top"><ul><li>Filter for suspicious activity according to an IP address</li><li>IPv4 and IPv6 are supported, but not CIDR format</li></ul></td></tr><tr><td>Location</td><td>Includes/ excludes</td><td valign="top">City and country where event occurred</td></tr><tr><td>Risk category</td><td>Includes/ excludes</td><td valign="top"><p>Type of <a href="#risky-events">risky event</a>:</p><ul><li>External share</li><li>Public share</li><li>Upload/download</li><li>User operations</li></ul></td></tr><tr><td>Triggered</td><td>Includes/ excludes</td><td valign="top"><p>Events that triggered these entities:</p><ul><li>Workflows</li><li>Alerts</li></ul></td></tr><tr><td>Triggered alert ID</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li></ul></td><td valign="top">Events that triggered alerts with this unique alert identifier</td></tr></tbody></table>

## Advanced identity filters

Use advanced identity filters for pinpointed filtering of specific events, to help you understand who actually performed an action and who is involved.

With DoControl's advanced identity filters, you can surface events with a rich identity context whenever the actor or target email matches a known monitored identity.&#x20;

{% hint style="success" %}
You can add as many filters as necessary
{% endhint %}

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FRpySmNhxWZRfOYaM8jX3%2Fidentity%20filters%20in%20events.png?alt=media&amp;token=db5e7c3e-8f51-4d68-91ea-76ab1c8396ae" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="185">Advanced Identity filter</th><th width="244">Operator</th><th valign="top">Description</th></tr></thead><tbody><tr><td>Admin</td><td>Equals</td><td valign="top"><p>If the user who triggered the event is an admin user:</p><ul><li>True</li><li>False</li></ul></td></tr><tr><td>Employment status</td><td>Includes/ excludes</td><td valign="top"><p>The current employment status of the internal user who triggered the event:</p><ul><li>Active</li><li>Terminated</li><li>About to leave</li></ul></td></tr><tr><td>Employment type</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li><li>Includes/ excludes</li></ul></td><td valign="top"><p>The employment type (as updated in Okta or HRIS) of the user who triggered the event:</p><ul><li>Full-time/ advisor</li><li>Part-time/ Intern/ Hourly</li><li>Contractor/ Outsourcer/ Contingent/ Temporary/ Freelancer</li></ul></td></tr><tr><td>Has identity</td><td>Equals</td><td valign="top"><ul><li>Users with an identity profile who triggered events</li><li>Apps acting on behalf of users are also displayed</li></ul></td></tr><tr><td>Identity name</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li></ul></td><td valign="top">Displays all events triggered by user identities with this name</td></tr><tr><td>Job title</td><td><ul><li>Equals/ doesn't equal</li><li>Starts with / ends with</li><li>Contains/ doesn't contain</li></ul></td><td valign="top">Displays all events triggered by user identities with this job title</td></tr><tr><td>Last activity</td><td><ul><li>Equals</li><li>After</li><li>Before</li><li>Is between</li></ul></td><td valign="top">Displays the last event(s) triggered by a user or an app acting in a user’s name</td></tr><tr><td>Risk score</td><td>is between</td><td valign="top"><p>Displays all events for users in a specific risk bracket:</p><ul><li>80-100 (critical)</li><li>50-79 (high)</li><li>30-49 (medium)</li><li>0-29 (low)</li></ul></td></tr><tr><td>VIP</td><td>Equals</td><td valign="top"><p>Displays all events triggered by a VIP user, such as a director, Vice President, or head of department</p><ul><li>True</li><li>False</li></ul></td></tr><tr><td>Watchlist</td><td>Equals</td><td valign="top"><p>Displays all events triggered by a watchlist user (added to the Identities watchlist):</p><ul><li>True</li><li>False</li></ul></td></tr></tbody></table>

## Use cases for advanced filtering

With DoControl's advanced filtering capabilities, you can address a wide range of use cases when filtering events:

### Filter events triggered by a non-human

You can display all events that were triggered by an app or service account on behalf of a user. These events are considered to be less risky, unless they were executed by a shadow app.

1. In the **Events** page, select **More filters**.
2. Select **Actor type** equals **Non-human**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F9C1DkLjN4wao3L2CGSG9%2FActor%20type%20filter.png?alt=media&amp;token=1b932453-a625-43d4-83d7-63757a94994f" alt=""><figcaption></figcaption></figure>
3. All events triggered by non-human users are displayed:<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FP2iHhD0B1iu6nhBrhw8u%2Fnon-human%20events.png?alt=media&amp;token=6e56c3d7-0b99-49f1-8dab-02868f140316" alt=""><figcaption></figcaption></figure>
4. Click the **Info** <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FgkF0xi55tB9PwiuARWTw%2Finfo%20icon.png?alt=media&amp;token=fbb8b54e-8db3-4c5f-89e1-ce596c48d28e" alt="" data-size="line"> icon to display more details about the non-human user:\
   \
   ![](https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FpCNfBdALJ8hMoIYOvEEa%2Fon%20behalf%20of%20popup.png?alt=media\&token=1dfb8f50-a88a-470c-a1d3-ca7062b96774)
5. Copy the **App ID** to investigate further.
6. Copy the **Installation ID** to investigate further.

### Filter remediation events performed by DoControl

You can display all remediation events that were performed by the DoControl app on behalf of a user.&#x20;

1. In the **Events** page, select **More filters**.
2. Select **Actor type** equals **Non-human**.
3. For the **Event type**, select the relevant application where the remediation event occurred, such as **Google Drive > Change user access.**<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FS8JL2WlRbJ0bOWjPvf2L%2Fnon-human%20event%20by%20DoControl.png?alt=media&amp;token=3aef83b2-f3f7-4f88-ad68-b1f677f7fba1" alt=""><figcaption></figcaption></figure>

All remediation events that were performed by DoControl on behalf of a user are displayed:

<div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FfCAL94s6NilXCoVWA0ZD%2Fon%20behalf%20of%20DoControl.png?alt=media&amp;token=edd2b837-c9d8-4862-960e-7d88f7c8ae9a" alt="" width="563"><figcaption></figcaption></figure></div>

### Filter events in a specific location

To investigate risk, you can filter for all events that occurred in a specific location.

1. In the **Events** page, select **More filters**.
2. Select **Location** includes **\[city, country]**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FZfJTHyv9md9VUddNnu7A%2FLocation%20filter.png?alt=media&amp;token=240e4cae-51d4-4cd8-9e73-62eefc90ed54" alt=""><figcaption></figcaption></figure>
3. All events that occurred in that location are displayed.

## Risky events

Risky events in your integrated SaaS apps might cause data exposure or exfiltration. You can investigate any risky behavior by filtering for risky events according to category:

* **External share** - Assets shared with external collaborators via sharing permissions
* **Public share** - Assets made accessible to anyone via a link or web publishing
* **Upload/download** - Assets uploaded to or downloaded from your organization
* **User operations** - User activity that poses an IT or security risk, such as login from a non-trusted IP or disabling MFA

#### To filter for risky events:

1. In the Events page, click **Filters**. <br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FCSLNhR2ThjfzwHKAUmJO%2Frisk%20category.png?alt=media&amp;token=072c0b40-555d-4326-ad61-0a3641b4b761" alt=""><figcaption></figcaption></figure>
2. Under **More filters**, select **Risk category** and choose the relevant type:
   * External share &#x20;
   * Public share&#x20;
   * Upload/download&#x20;
   * User operations&#x20;
3. Add any other relevant filters.
4. Click **Apply**.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2Fj5ushUBgVyZcLPZeYy8h%2Fpublic%20event%20sharing.png?alt=media&amp;token=246fe2d5-d01e-4980-8072-910ce391a878" alt=""><figcaption><p>After filtering for the Public share risk category, all events involving assets that were publicly shared are displayed</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/events/filtering-events.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
