Example and README updates (#224)
Example Updates: - `../example/main.tf` README Updates: - `byo-cloudwatch-log-sharing/target-account-firehose/.header.md` - `byo-cloudwatch-log-sharing/target-account-firehose/README.md` - `byo-file-carving/target-account/README.md` - `byo-firehose-logging-destination/target-account/README.md` - `logging-destination-datadog/.header.md` - `logging-destination-datadog/README.md` - `logging-destination-firehose/README.md` - `logging-destination-snowflake/.header.md` - `logging-destination-snowflake/README.md` - `logging-destination-splunk/.header.md` - `logging-destination-splunk/README.md` - `okta-conditional-access/.header.md` - `okta-conditional-access/README.md` - `osquery-carve/README.md` - `../byo-vpc/example/README.md` - `../byo-vpc/example/main.tf` - `../example/README.md`
This commit is contained in:
1 parent
44bd43b643
commit
10aebc2b8a
18 files changed
+51
-50
No files matched your search
@@ -25,7 +25,7 @@ provider "aws" {
|
||||
}
|
||||
|
||||
module "fleet_log_sharing_target" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/byo-cloudwatch-log-sharing/target-account-firehose?depth=1&ref=tf-mod-addon-byo-cloudwatch-log-sharing-v1.0.0"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/byo-cloudwatch-log-sharing/target-account-firehose?depth=1&ref=tf-mod-addon-byo-cloudwatch-log-sharing-v1.0.1"
|
||||
|
||||
providers = {
|
||||
aws.destination = aws.source_region
|
||||
|
||||
@@ -25,7 +25,7 @@ provider "aws" {
|
||||
}
|
||||
|
||||
module "fleet_log_sharing_target" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/byo-cloudwatch-log-sharing/target-account-firehose?depth=1&ref=tf-mod-addon-byo-cloudwatch-log-sharing-v1.0.0"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/byo-cloudwatch-log-sharing/target-account-firehose?depth=1&ref=tf-mod-addon-byo-cloudwatch-log-sharing-v1.0.1"
|
||||
|
||||
providers = {
|
||||
aws.destination = aws.source_region
|
||||
@@ -71,9 +71,9 @@ Then apply the source account module (`../cloudwatch`) using `module.fleet_log_s
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.29.0 |
|
||||
| <a name="provider_aws.destination"></a> [aws.destination](#provider\_aws.destination) | >= 5.29.0 |
|
||||
| <a name="provider_aws.target"></a> [aws.target](#provider\_aws.target) | >= 5.29.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
| <a name="provider_aws.destination"></a> [aws.destination](#provider\_aws.destination) | 6.41.0 |
|
||||
| <a name="provider_aws.target"></a> [aws.target](#provider\_aws.target) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -13,13 +13,13 @@ If you wanted to make changes to the individual files to fit your environment, f
|
||||
```
|
||||
module "firehose_logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/byo-firehose-logging-destination/target-account"
|
||||
|
||||
# Variables
|
||||
osquery_logging_destination_bucket_name = {your-desired-bucket-prefix}
|
||||
fleet_iam_role_arn = {supplied by Fleet}
|
||||
sts_external_id = {if using}
|
||||
}
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
| Name | Version |
|
||||
@@ -31,7 +31,7 @@ module "firehose_logging" {
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.29.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
@@ -64,9 +64,9 @@ No modules.
|
||||
|
||||
| Name | Description | Type | Default | Required |
|
||||
|------|-------------|------|---------|:--------:|
|
||||
| <a name="input_fleet_iam_role_arn"></a> [fleet\_iam\_role\_arn](#input\_fleet\_iam\_role\_arn) | the arn of the fleet role that firehose will assume to write data to your bucket | `string` | n/a | yes |
|
||||
| <a name="input_fleet_iam_role_arn"></a> [fleet\_iam\_role\_arn](#input\_fleet\_iam\_role\_arn) | The ARN of the IAM role that will be assumed to gain permissions required to write to the Kinesis Firehose delivery stream. | `string` | n/a | yes |
|
||||
| <a name="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn) | An optional KMS key ARN for server-side encryption. If not provided and encryption is enabled, a new key will be created. | `string` | `""` | no |
|
||||
| <a name="input_log_destinations"></a> [log\_destinations](#input\_log\_destinations) | A map of configurations for Firehose delivery streams. | <pre>map(object({<br> name = string<br> prefix = string<br> error_output_prefix = string<br> buffering_size = number<br> buffering_interval = number<br> compression_format = string<br> }))</pre> | <pre>{<br> "audit": {<br> "buffering_interval": 120,<br> "buffering_size": 20,<br> "compression_format": "UNCOMPRESSED",<br> "error_output_prefix": "audit/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br> "name": "fleet_audit",<br> "prefix": "audit/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br> },<br> "results": {<br> "buffering_interval": 120,<br> "buffering_size": 20,<br> "compression_format": "UNCOMPRESSED",<br> "error_output_prefix": "results/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br> "name": "osquery_results",<br> "prefix": "results/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br> },<br> "status": {<br> "buffering_interval": 120,<br> "buffering_size": 20,<br> "compression_format": "UNCOMPRESSED",<br> "error_output_prefix": "status/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br> "name": "osquery_status",<br> "prefix": "status/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br> }<br>}</pre> | no |
|
||||
| <a name="input_log_destinations"></a> [log\_destinations](#input\_log\_destinations) | A map of configurations for Firehose delivery streams. | <pre>map(object({<br/> name = string<br/> prefix = string<br/> error_output_prefix = string<br/> buffering_size = number<br/> buffering_interval = number<br/> compression_format = string<br/> }))</pre> | <pre>{<br/> "audit": {<br/> "buffering_interval": 120,<br/> "buffering_size": 20,<br/> "compression_format": "UNCOMPRESSED",<br/> "error_output_prefix": "audit/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br/> "name": "fleet_audit",<br/> "prefix": "audit/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br/> },<br/> "results": {<br/> "buffering_interval": 120,<br/> "buffering_size": 20,<br/> "compression_format": "UNCOMPRESSED",<br/> "error_output_prefix": "results/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br/> "name": "osquery_results",<br/> "prefix": "results/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br/> },<br/> "status": {<br/> "buffering_interval": 120,<br/> "buffering_size": 20,<br/> "compression_format": "UNCOMPRESSED",<br/> "error_output_prefix": "status/error/error=!{firehose:error-output-type}/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/",<br/> "name": "osquery_status",<br/> "prefix": "status/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/"<br/> }<br/>}</pre> | no |
|
||||
| <a name="input_osquery_logging_destination_bucket_name"></a> [osquery\_logging\_destination\_bucket\_name](#input\_osquery\_logging\_destination\_bucket\_name) | name of the bucket to store osquery results & status logs | `string` | n/a | yes |
|
||||
| <a name="input_server_side_encryption_enabled"></a> [server\_side\_encryption\_enabled](#input\_server\_side\_encryption\_enabled) | A boolean flag to enable/disable server-side encryption. Defaults to true (enabled). | `bool` | `true` | no |
|
||||
| <a name="input_sts_external_id"></a> [sts\_external\_id](#input\_sts\_external\_id) | Optional unique identifier that can be used by the principal assuming the role to assert its identity. | `string` | `""` | no |
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Datad
|
||||
|
||||
```hcl
|
||||
module "datadog-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-datadog?ref=tf-mod-addon-logging-destination-datadog-v1.1.1"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-datadog?ref=tf-mod-addon-datadog-logging-v1.1.2"
|
||||
|
||||
datadog_api_key = "your-datadog-api-key"
|
||||
|
||||
@@ -82,7 +82,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.15.2"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Datad
|
||||
|
||||
```hcl
|
||||
module "datadog-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-datadog?ref=tf-mod-addon-logging-destination-datadog-v1.1.1"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-datadog?ref=tf-mod-addon-datadog-logging-v1.1.2"
|
||||
|
||||
datadog_api_key = "your-datadog-api-key"
|
||||
|
||||
@@ -82,7 +82,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.15.2"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
@@ -121,7 +121,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.24.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.24.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Snowf
|
||||
|
||||
```hcl
|
||||
module "snowflake-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-snowflake?depth=1&ref=tf-mod-addon-logging-destination-snowflake-v1.0.2"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-snowflake?depth=1&ref=tf-mod-addon-logging-destination-snowflake-v1.0.3"
|
||||
|
||||
s3_bucket_config = {
|
||||
name_prefix = "fleet-snowflake-failure"
|
||||
@@ -78,7 +78,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.4"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Snowf
|
||||
|
||||
```hcl
|
||||
module "snowflake-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-snowflake?depth=1&ref=tf-mod-addon-logging-destination-snowflake-v1.0.2"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-snowflake?depth=1&ref=tf-mod-addon-logging-destination-snowflake-v1.0.3"
|
||||
|
||||
s3_bucket_config = {
|
||||
name_prefix = "fleet-snowflake-failure"
|
||||
@@ -78,7 +78,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.4"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
@@ -117,7 +117,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.24.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Splun
|
||||
|
||||
```hcl
|
||||
module "splunk-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-splunk?depth=1&ref=tf-mod-addon-logging-destination-splunk-v1.0.0"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-splunk?depth=1&ref=tf-mod-addon-logging-destination-splunk-v1.0.1"
|
||||
|
||||
s3_bucket_config = {
|
||||
name_prefix = "fleet-splunk-failure"
|
||||
@@ -58,7 +58,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.4"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
|
||||
@@ -11,7 +11,7 @@ This addon configures AWS Kinesis Firehose to send Fleet's osquery logs to Splun
|
||||
|
||||
```hcl
|
||||
module "splunk-logging" {
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-splunk?depth=1&ref=tf-mod-addon-logging-destination-splunk-v1.0.0"
|
||||
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-splunk?depth=1&ref=tf-mod-addon-logging-destination-splunk-v1.0.1"
|
||||
|
||||
s3_bucket_config = {
|
||||
name_prefix = "fleet-splunk-failure"
|
||||
@@ -58,7 +58,7 @@ Then you can use the module's outputs in your Fleet configuration:
|
||||
|
||||
```hcl
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.4"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
certificate_arn = module.acm.acm_certificate_arn
|
||||
|
||||
vpc = {
|
||||
@@ -97,7 +97,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.25.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ resource "aws_route53_record" "okta" {
|
||||
}
|
||||
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.19.0"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
...
|
||||
fleet_config = {
|
||||
...
|
||||
@@ -86,7 +86,7 @@ module "fleet" {
|
||||
}
|
||||
|
||||
module "okta-conditional-access" {
|
||||
source = "github.com/fleetdm/fleet-terraform/addons/okta-conditional-access?depth=1&ref=tf-mod-addon-okta-conditional-access-v0.5.0"
|
||||
source = "github.com/fleetdm/fleet-terraform/addons/okta-conditional-access?depth=1&ref=tf-mod-addon-okta-conditional-access-v0.5.1"
|
||||
customer_prefix = "fleet"
|
||||
vpc_id = module.fleet.vpc.vpc_id
|
||||
trust_store_s3_config = {
|
||||
|
||||
@@ -59,7 +59,7 @@ resource "aws_route53_record" "okta" {
|
||||
}
|
||||
|
||||
module "fleet" {
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.19.0"
|
||||
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.26.1"
|
||||
...
|
||||
fleet_config = {
|
||||
...
|
||||
@@ -86,7 +86,7 @@ module "fleet" {
|
||||
}
|
||||
|
||||
module "okta-conditional-access" {
|
||||
source = "github.com/fleetdm/fleet-terraform/addons/okta-conditional-access?depth=1&ref=tf-mod-addon-okta-conditional-access-v0.5.0"
|
||||
source = "github.com/fleetdm/fleet-terraform/addons/okta-conditional-access?depth=1&ref=tf-mod-addon-okta-conditional-access-v0.5.1"
|
||||
customer_prefix = "fleet"
|
||||
vpc_id = module.fleet.vpc.vpc_id
|
||||
trust_store_s3_config = {
|
||||
@@ -126,7 +126,7 @@ No requirements.
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.28.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ When bringing your own KMS key, it is your responsibility to ensure that key pol
|
||||
|
||||
| Name | Version |
|
||||
|------|---------|
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.39.0 |
|
||||
| <a name="provider_aws"></a> [aws](#provider\_aws) | 6.41.0 |
|
||||
|
||||
## Modules
|
||||
|
||||
|
||||
Reference in new issue
Block a user