1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- resource "akamai_appsec_waf_mode" "waf_mode" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- mode = "ASE_AUTO"
- }
-
-
- // WAF Attack Group Actions
- resource "akamai_appsec_attack_group" "attack_group_POLICY" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "POLICY"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_WAT" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "WAT"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_PROTOCOL" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "PROTOCOL"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_SQL" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "SQL"
- attack_group_action = "deny"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_XSS" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "XSS"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_CMD" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "CMD"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_LFI" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "LFI"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_RFI" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "RFI"
- attack_group_action = "alert"
- }
-
- resource "akamai_appsec_attack_group" "attack_group_PLATFORM" {
- config_id = akamai_appsec_configuration.config.config_id
- security_policy_id = akamai_appsec_security_policy.security_policy.security_policy_id
- attack_group = "PLATFORM"
- attack_group_action = "alert"
- }
|