Skip to content

Commit

Permalink
docs: Update all examples with README files (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Ford <scott.ford@lacework.net>
  • Loading branch information
scottford-lw authored Feb 19, 2021
1 parent ab90f8d commit 32775ac
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
31 changes: 31 additions & 0 deletions examples/custom-activity-log/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Integrate Azure with Lacework for Activity Log Analysis Using Custom Configuration
The following example integrates an Azure tenant and the default subscription with Lacework for Activity Log analysis. This example customizes the integration using module inputs.

```hcl
provider "azuread" {}
provider "azurerm" {
features {}
}
provider "lacework" {}
module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 0.1.2"
application_identifier_uris = ["https://account.lacework.net"]
application_name = "my-custom-application-name"
tenant_id = "123abc12-abcd-1234-abcd-abcd12340123"
password_length = 16
lacework_integration_name = "custom name"
prefix = "customprefix"
location = "Central US"
key_vault_ids = [
"/subscriptions/1234abcd-1234-abcd-a1b3-abcd12345xyz/resourceGroups/lwresourcegroup/providers/Microsoft.KeyVault/vaults/keyvault1",
"/subscriptions/1234abcd-1234-abcd-a1b3-abcd12345xyz/resourceGroups/lwresourcegroup/providers/Microsoft.KeyVault/vaults/keyvault2",
"/subscriptions/1234abcd-1234-abcd-a1b3-abcd12345xyz/resourceGroups/lwresourcegroup/providers/Microsoft.KeyVault/vaults/keyvault3"
]
}
```

For detailed information on integrating Lacework with Azure see [Azure Compliance & Activity Log Integrations - Terraform From Any Supported Host](https://support.lacework.com/hc/en-us/articles/360058966313-Azure-Compliance-Activity-Log-Integrations-Terraform-From-Any-Supported-Host)
19 changes: 19 additions & 0 deletions examples/default-activity-log/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Integrate Azure with Lacework for Activity Log Analysis with Default Settings
The following example integrates an Azure tenant and the default subscription with Lacework for Activity Log analysis using default values.

```hcl
provider "azuread" {}
provider "azurerm" {
features {}
}
provider "lacework" {}
module "az_activity_log" {
source = "lacework/activity-log/azure"
version = "~> 0.1.2"
}
```

For detailed information on integrating Lacework with Azure see [Azure Compliance & Activity Log Integrations - Terraform From Any Supported Host](https://support.lacework.com/hc/en-us/articles/360058966313-Azure-Compliance-Activity-Log-Integrations-Terraform-From-Any-Supported-Host)

0 comments on commit 32775ac

Please sign in to comment.