Skip to content

Commit

Permalink
attack type removed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
KNechaevWallarm committed Dec 4, 2024
1 parent 3b87cab commit 0f93375
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions wallarm/resource_rule_disable_attack_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ func resourceWallarmDisableAttackType() *schema.Resource {
},

"attack_type": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{"sqli", "xss", "rce", "ptrav", "crlf", "nosqli", "xxe", "ldapi", "scanner", "ssti", "ssi", "mail_injection"}, false),
ForceNew: true,
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Possible values: "any", "sqli", "rce", "crlf", "nosqli", "ptrav",
"xxe", "ptrav", "xss", "scanner", "redir", "ldapi", "any", "redir", "mass_assignment", "ssrf"`,
},

"action": {
Expand Down

0 comments on commit 0f93375

Please sign in to comment.