---
page_title: "Fastly: fastly_ngwaf_alert_opsgenie_integration"
sidebar_current: "docs-fastly-datasource-fastly_ngwaf_alert_opsgenie_integration"
description: |-
  Get information about a Fastly Next-Gen WAF Alert Opsgenie integration for a workspace.
---

# fastly_ngwaf_alert_opsgenie_integration

Use this data source to get a Fastly Next-Gen WAF Alert Opsgenie integration.

## Example Usage

```terraform
data "fastly_ngwaf_alert_opsgenie_integration" "ngwaf_opsgenie_alerts" {
    workspace_id = fastly_ngwaf_workspace.test_redactions_workspace.id
}

output "ngwaf_opsgenie_alerts_all" {
  value = data.ngwaf_opsgenie_alerts.opsgenie_alerts
}
```


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

### Required

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

### Read-Only

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

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

Read-Only:

- `id` (String)
