page_title | subcategory | description |
---|---|---|
sigsci_site Resource - terraform-provider-sigsci |
resource "sigsci_site" "my-site" {
short_name = "manual_test"
display_name = "manual terraform test"
block_duration_seconds = 86400
agent_anon_mode = ""
agent_level = "block"
client_ip_rules = ["X-Client-IP"]
}
display_name
(String) Display name of the siteshort_name
(String) Identifying name of the site
agent_anon_mode
(String) Agent IP anonymization mode - "" (empty string) or 'EU'agent_level
(String) Agent action level - 'block', 'log' or 'off'attack_threshold
(Block Set) List entries (see below for nested schema)block_duration_seconds
(Number) Duration to block an IP in secondsblock_http_code
(Number) HTTP response code to send when traffic is being blockedblock_redirect_url
(String) URL to redirect to when blocking with a '301' or '302' HTTP status codeclient_ip_rules
(List of String) Headers used for assigning client IPs to requestsimmediate_block
(Boolean) Immediately block requests that contain attack signals
id
(String) The ID of this resource.primary_agent_key
(Map of String, Sensitive) The sites primary Agent key
Required:
interval
(Number)threshold
(Number)
Import is supported using the following syntax:
terraform import sigsci_site.test id