Skip to content

✨ Add mode argument to bot_protection block in vercel_firewall_config resource #405

@SIGTERM-015

Description

@SIGTERM-015

What functionality would you like to see?

From the Vercel console, I can configure the bot protection mode with the options Basic or Deep Analysis. However, this is not possible from the Terraform provider.

Example

resource "vercel_firewall_config" "example" {
  project_id = local..project-id
  managed_rulesets {
    owasp {
      xss  = { action = "log" }
      sqli = { action = "log" }
      rce  = { action = "log" }
      php  = { action = "log" }
      java = { action = "log" }
      lfi  = { action = "log" }
      rfi  = { action = "log" }
      gen  = { action = "log" }
    }
  
    bot_protection {
      action = "log"
      active = true
      mode = "Deep Analysis"
    }
  
    ai_bots {
      action = "log"
      active = true
    }
  }
  
}

Additional Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions