---
page_title: "Fastly: fastly_ngwaf_account_rules"
sidebar_current: "docs-fastly-datasource-fastly_ngwaf_account_rules"
description: |-
  Get information about a Fastly Next-Gen WAF Rule for your account.
---

# fastly_ngwaf_account_rules

Use this data source to get a Fastly Next-Gen WAF Account Rule.

## Example Usage

```terraform
data "fastly_ngwaf_account_rules" "account_rules" {}

output "fastly_ngwaf_account_rules_all" {
  value = data.fastly_ngwaf_account_rules.account_rules
}
```


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

### Read-Only

- `id` (String) The ID of this resource.
- `rules` (List of Object) The list of rules. (see [below for nested schema](#nestedatt--rules))

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

Read-Only:

- `created_at` (String)
- `description` (String)
- `enabled` (Boolean)
- `id` (String)
- `type` (String)
- `updated_at` (String)
