<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEFilterAction",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEFilterAction"
  },
  "title" : "NEFilterAction"
}
-->

# NEFilterAction

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

```
enum NEFilterAction
```

## Overview

The control provider receives a filter report when the data provider issues a verdict with the [`shouldReport`](/documentation/NetworkExtension/NEFilterVerdict/shouldReport) property set to <doc://com.apple.documentation/documentation/Swift/true>. The report contains an [`action`](/documentation/NetworkExtension/NEFilterReport/action) property set to one of the values listed here.

## Topics

### Enumeration Cases

[`NEFilterActionInvalid`](/documentation/NetworkExtension/NEFilterAction/invalid)

Invalid action used to represent an error.

[`NEFilterActionAllow`](/documentation/NetworkExtension/NEFilterAction/allow)

Allow the flow.

[`NEFilterActionDrop`](/documentation/NetworkExtension/NEFilterAction/drop)

Drop the flow.

[`NEFilterActionRemediate`](/documentation/NetworkExtension/NEFilterAction/remediate)

Remediate the flow.

[`NEFilterActionFilterData`](/documentation/NetworkExtension/NEFilterAction/filterData)

Filter data on the flow.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)