Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ resource "lacework_integration_gcp_agentless_scanning" "lacework_cloud_account"
bucket_name = google_storage_bucket.lacework_bucket[0].name
scanning_project_id = local.scanning_project_id
filter_list = var.project_filter_list
scan_multi_volume = var.scan_multi_volume
scan_stopped_instances = var.scan_stopped_instances
credentials {
client_id = local.lacework_integration_service_account_json_key.client_id
private_key_id = local.lacework_integration_service_account_json_key.private_key_id
Expand Down
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@ variable "scan_host_vulnerabilities" {
default = true
}

variable "scan_multi_volume" {
type = bool
description = "Whether to scan secondary volumes. Defaults to `false`."
default = false
}

variable "scan_stopped_instances" {
type = bool
description = "Whether to scan stopped instances. Defaults to `false`."
default = true
}

variable "scan_frequency_hours" {
type = number
description = "How often in hours the scan will run in hours. Defaults to `24`."
Expand Down