---
page_title: "Fastly: fastly_ngwaf_redactions"
sidebar_current: "docs-fastly-datasource-fastly_ngwaf_redactions"
description: |-
  Get information about Fastly Next-Gen WAF Redactions for a workspace.
---

# fastly_ngwaf_redactions

Use this data source to get a list of [Fastly Next-Gen WAF Redactions][1].

## Example Usage

```terraform
data "fastly_ngwaf_redactions" "ngwaf_redactions" {
    workspace_id = fastly_ngwaf_workspace.test_redactions_workspace.id
}

output "fastly_ngwaf_redactions_all" {
  value = data.fastly_ngwaf_redactions.redactions
}
```

[1]: https://www.fastly.com/documentation/reference/api/ngwaf/redactions/

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `workspace_id` (String) The ID of the workspace.

### Read-Only

- `id` (String) The ID of this resource.
- `redactions` (Set of Object) List of all redactions for a workspace. (see [below for nested schema](#nestedatt--redactions))

<a id="nestedatt--redactions"></a>
### Nested Schema for `redactions`

Read-Only:

- `field` (String)
- `id` (String)
- `type` (String)
