---
title: NEFilterAction
framework: networkextension
role: symbol
role_heading: Enumeration
path: networkextension/nefilteraction
---

# NEFilterAction

The actions a data provider can take on a filter flow.

## Declaration

```swift
enum NEFilterAction
```

## Overview

Overview The control provider receives a filter report when the data provider issues a verdict with the shouldReport property set to true. The report contains an action property set to one of the values listed here.

## Topics

### Enumeration Cases

- [NEFilterAction.invalid](networkextension/nefilteraction/invalid.md)
- [NEFilterAction.allow](networkextension/nefilteraction/allow.md)
- [NEFilterAction.drop](networkextension/nefilteraction/drop.md)
- [NEFilterAction.remediate](networkextension/nefilteraction/remediate.md)
- [NEFilterAction.filterData](networkextension/nefilteraction/filterdata.md)

### Initializers

- [init(rawValue:)](networkextension/nefilteraction/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting report properties

- [flow](networkextension/nefilterreport/flow.md)
- [action](networkextension/nefilterreport/action.md)
- [event](networkextension/nefilterreport/event-swift.property.md)
- [NEFilterReport.Event](networkextension/nefilterreport/event-swift.enum.md)
- [bytesInboundCount](networkextension/nefilterreport/bytesinboundcount.md)
- [bytesOutboundCount](networkextension/nefilterreport/bytesoutboundcount.md)
