Skip to content

Commit

Permalink
docs: new lacework_alert_channel_email resource
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
  • Loading branch information
afiune committed Jul 27, 2021
1 parent 9a6f1e2 commit 844065a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
46 changes: 46 additions & 0 deletions website/docs/r/alert_channel_email.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
subcategory: "Alert Channels"
layout: "lacework"
page_title: "Lacework: lacework_alert_channel_email"
description: |-
Create and manage Email Alert Channel integrations
---

# lacework\_alert\_channel\_email

Lacework can generate and send alert summaries and reports to email addresses using an email alert channel. By default,
Lacework creates a single email alert channel during the initial Lacework onboarding process and new members are added
automatically. The default channel cannot be edited. You can add more email alert channels.

To find more information about the Email alert channel integration, see the [Lacework support documentation](https://support.lacework.com/hc/en-us/articles/360023638654-Email).

## Example Usage

```hcl
resource "lacework_alert_channel_email" "auditors" {
name = "Auditors Alerts"
recipients = [
"my@example.com",
"alias@example.com"
]
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) The Alert Channel integration name.
* `recipients` - (Required) The list of email addresses that you want to receive the alerts.
* `enabled` - (Optional) The state of the external integration. Defaults to `true`.

## Import

A Lacework Email Alert Channel integration can be imported using a `INT_GUID`, e.g.

```
$ terraform import lacework_alert_channel_email.auditors EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
```
-> **Note:** To retreive the `INT_GUID` from existing integrations in your account, use the
Lacework CLI command `lacework integration list`. To install this tool follow
[this documentation](https://github.com/lacework/go-sdk/wiki/CLI-Documentation#installation).
3 changes: 3 additions & 0 deletions website/lacework.erb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
<li>
<a href="/docs/providers/lacework/r/alert_channel_datadog.html">lacework_alert_channel_datadog</a>
</li>
<li>
<a href="/docs/providers/lacework/r/alert_channel_email.html">lacework_alert_channel_email</a>
</li>
<li>
<a href="/docs/providers/lacework/r/alert_channel_gcp_pub_sub.html">lacework_alert_channel_gcp_pub_sub</a>
</li>
Expand Down

0 comments on commit 844065a

Please sign in to comment.