> For the complete documentation index, see [llms.txt](https://docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akto.io/api-protection/concepts/threat-ignored-events.md).

# Configure Ignored Events

**Ignored Malicious Events Policy**

Customizable filters that mark detected security threats by Akto's Runtime Threat Protection as ignored in the Threat Activity dashboard.

**How to configure**

Go to **API Threat Detection → Threat Activity** in the left sidebar. Click **More Actions → Configure Ignored Events**.

**Note:** Policies must use category name `IgnoredEvent`

**Syntax Reference:** For detailed syntax on how to define API selection filters, see [API Selection Filters](https://docs.akto.io/test-editor/concepts/test-yaml-syntax-detailed/api-selection-filters).

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-32bfbb87b4ce204edae3cdf5469e775bf904258f%2Fconfigure-ingored.png?alt=media" alt=""><figcaption></figcaption></figure>

**Example Ignored Events Policy**

Marks all threats as ignored when when the URL contains `test`.

```
id: IgnoredEvent
filter:
  url:
    contains_all:
      - "test"

info:
  name: "IgnoredEvent"
  description: "Marks threats as ignored events"
  details: "Identifies which threat activities to ignore"
  impact: "Sets the events status as ignored."
  category:
    name: "IgnoredEvent"
    displayName: "IgnoredEvent"
  subCategory: "IgnoredEvent"
  severity: HIGH
```

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-31a48613bdc51da668361529f07686d882084682%2Fthreat-ignored-policy.png?alt=media" alt=""><figcaption></figcaption></figure>
