1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. BotManagement
Cloudflare v5.49.1 published on Tuesday, Feb 18, 2025 by Pulumi

cloudflare.BotManagement

Explore with Pulumi AI

Provides a resource to configure Bot Management.

Specifically, this resource can be used to manage:

  • Bot Fight Mode
  • Super Bot Fight Mode
  • Bot Management for Enterprise

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const example = new cloudflare.BotManagement("example", {
    zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
    enableJs: true,
    sbfmDefinitelyAutomated: "block",
    sbfmLikelyAutomated: "managed_challenge",
    sbfmVerifiedBots: "allow",
    sbfmStaticResourceProtection: false,
    optimizeWordpress: true,
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example = cloudflare.BotManagement("example",
    zone_id="0da42c8d2132a9ddaf714f9e7c920711",
    enable_js=True,
    sbfm_definitely_automated="block",
    sbfm_likely_automated="managed_challenge",
    sbfm_verified_bots="allow",
    sbfm_static_resource_protection=False,
    optimize_wordpress=True)
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.NewBotManagement(ctx, "example", &cloudflare.BotManagementArgs{
			ZoneId:                       pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
			EnableJs:                     pulumi.Bool(true),
			SbfmDefinitelyAutomated:      pulumi.String("block"),
			SbfmLikelyAutomated:          pulumi.String("managed_challenge"),
			SbfmVerifiedBots:             pulumi.String("allow"),
			SbfmStaticResourceProtection: pulumi.Bool(false),
			OptimizeWordpress:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var example = new Cloudflare.BotManagement("example", new()
    {
        ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
        EnableJs = true,
        SbfmDefinitelyAutomated = "block",
        SbfmLikelyAutomated = "managed_challenge",
        SbfmVerifiedBots = "allow",
        SbfmStaticResourceProtection = false,
        OptimizeWordpress = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.BotManagement;
import com.pulumi.cloudflare.BotManagementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new BotManagement("example", BotManagementArgs.builder()
            .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
            .enableJs(true)
            .sbfmDefinitelyAutomated("block")
            .sbfmLikelyAutomated("managed_challenge")
            .sbfmVerifiedBots("allow")
            .sbfmStaticResourceProtection(false)
            .optimizeWordpress(true)
            .build());

    }
}
Copy
resources:
  example:
    type: cloudflare:BotManagement
    properties:
      zoneId: 0da42c8d2132a9ddaf714f9e7c920711
      enableJs: true
      sbfmDefinitelyAutomated: block
      sbfmLikelyAutomated: managed_challenge
      sbfmVerifiedBots: allow
      sbfmStaticResourceProtection: false
      optimizeWordpress: true
Copy

Create BotManagement Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BotManagement(name: string, args: BotManagementArgs, opts?: CustomResourceOptions);
@overload
def BotManagement(resource_name: str,
                  args: BotManagementArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def BotManagement(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  zone_id: Optional[str] = None,
                  ai_bots_protection: Optional[str] = None,
                  auto_update_model: Optional[bool] = None,
                  enable_js: Optional[bool] = None,
                  fight_mode: Optional[bool] = None,
                  optimize_wordpress: Optional[bool] = None,
                  sbfm_definitely_automated: Optional[str] = None,
                  sbfm_likely_automated: Optional[str] = None,
                  sbfm_static_resource_protection: Optional[bool] = None,
                  sbfm_verified_bots: Optional[str] = None,
                  suppress_session_score: Optional[bool] = None)
func NewBotManagement(ctx *Context, name string, args BotManagementArgs, opts ...ResourceOption) (*BotManagement, error)
public BotManagement(string name, BotManagementArgs args, CustomResourceOptions? opts = null)
public BotManagement(String name, BotManagementArgs args)
public BotManagement(String name, BotManagementArgs args, CustomResourceOptions options)
type: cloudflare:BotManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BotManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BotManagementArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BotManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BotManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BotManagementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var botManagementResource = new Cloudflare.BotManagement("botManagementResource", new()
{
    ZoneId = "string",
    AiBotsProtection = "string",
    AutoUpdateModel = false,
    EnableJs = false,
    FightMode = false,
    OptimizeWordpress = false,
    SbfmDefinitelyAutomated = "string",
    SbfmLikelyAutomated = "string",
    SbfmStaticResourceProtection = false,
    SbfmVerifiedBots = "string",
    SuppressSessionScore = false,
});
Copy
example, err := cloudflare.NewBotManagement(ctx, "botManagementResource", &cloudflare.BotManagementArgs{
	ZoneId:                       pulumi.String("string"),
	AiBotsProtection:             pulumi.String("string"),
	AutoUpdateModel:              pulumi.Bool(false),
	EnableJs:                     pulumi.Bool(false),
	FightMode:                    pulumi.Bool(false),
	OptimizeWordpress:            pulumi.Bool(false),
	SbfmDefinitelyAutomated:      pulumi.String("string"),
	SbfmLikelyAutomated:          pulumi.String("string"),
	SbfmStaticResourceProtection: pulumi.Bool(false),
	SbfmVerifiedBots:             pulumi.String("string"),
	SuppressSessionScore:         pulumi.Bool(false),
})
Copy
var botManagementResource = new BotManagement("botManagementResource", BotManagementArgs.builder()
    .zoneId("string")
    .aiBotsProtection("string")
    .autoUpdateModel(false)
    .enableJs(false)
    .fightMode(false)
    .optimizeWordpress(false)
    .sbfmDefinitelyAutomated("string")
    .sbfmLikelyAutomated("string")
    .sbfmStaticResourceProtection(false)
    .sbfmVerifiedBots("string")
    .suppressSessionScore(false)
    .build());
Copy
bot_management_resource = cloudflare.BotManagement("botManagementResource",
    zone_id="string",
    ai_bots_protection="string",
    auto_update_model=False,
    enable_js=False,
    fight_mode=False,
    optimize_wordpress=False,
    sbfm_definitely_automated="string",
    sbfm_likely_automated="string",
    sbfm_static_resource_protection=False,
    sbfm_verified_bots="string",
    suppress_session_score=False)
Copy
const botManagementResource = new cloudflare.BotManagement("botManagementResource", {
    zoneId: "string",
    aiBotsProtection: "string",
    autoUpdateModel: false,
    enableJs: false,
    fightMode: false,
    optimizeWordpress: false,
    sbfmDefinitelyAutomated: "string",
    sbfmLikelyAutomated: "string",
    sbfmStaticResourceProtection: false,
    sbfmVerifiedBots: "string",
    suppressSessionScore: false,
});
Copy
type: cloudflare:BotManagement
properties:
    aiBotsProtection: string
    autoUpdateModel: false
    enableJs: false
    fightMode: false
    optimizeWordpress: false
    sbfmDefinitelyAutomated: string
    sbfmLikelyAutomated: string
    sbfmStaticResourceProtection: false
    sbfmVerifiedBots: string
    suppressSessionScore: false
    zoneId: string
Copy

BotManagement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BotManagement resource accepts the following input properties:

ZoneId
This property is required.
Changes to this property will trigger replacement.
string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
AiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
AutoUpdateModel bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
EnableJs bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
FightMode bool
Whether to enable Bot Fight Mode.
OptimizeWordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
SbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
SbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
SbfmStaticResourceProtection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
SbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
SuppressSessionScore bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
ZoneId
This property is required.
Changes to this property will trigger replacement.
string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
AiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
AutoUpdateModel bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
EnableJs bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
FightMode bool
Whether to enable Bot Fight Mode.
OptimizeWordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
SbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
SbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
SbfmStaticResourceProtection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
SbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
SuppressSessionScore bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
zoneId
This property is required.
Changes to this property will trigger replacement.
String
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection String
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel Boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs Boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode Boolean
Whether to enable Bot Fight Mode.
optimizeWordpress Boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated String
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated String
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection Boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots String
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore Boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
zoneId
This property is required.
Changes to this property will trigger replacement.
string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode boolean
Whether to enable Bot Fight Mode.
optimizeWordpress boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
zone_id
This property is required.
Changes to this property will trigger replacement.
str
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
ai_bots_protection str
Enable rule to block AI Scrapers and Crawlers.
auto_update_model bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enable_js bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fight_mode bool
Whether to enable Bot Fight Mode.
optimize_wordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfm_definitely_automated str
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfm_likely_automated str
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfm_static_resource_protection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfm_verified_bots str
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppress_session_score bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
zoneId
This property is required.
Changes to this property will trigger replacement.
String
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection String
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel Boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs Boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode Boolean
Whether to enable Bot Fight Mode.
optimizeWordpress Boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated String
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated String
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection Boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots String
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore Boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.

Outputs

All input properties are implicitly available as output properties. Additionally, the BotManagement resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
UsingLatestModel bool
A read-only field that indicates whether the zone currently is running the latest ML model.
Id string
The provider-assigned unique ID for this managed resource.
UsingLatestModel bool
A read-only field that indicates whether the zone currently is running the latest ML model.
id String
The provider-assigned unique ID for this managed resource.
usingLatestModel Boolean
A read-only field that indicates whether the zone currently is running the latest ML model.
id string
The provider-assigned unique ID for this managed resource.
usingLatestModel boolean
A read-only field that indicates whether the zone currently is running the latest ML model.
id str
The provider-assigned unique ID for this managed resource.
using_latest_model bool
A read-only field that indicates whether the zone currently is running the latest ML model.
id String
The provider-assigned unique ID for this managed resource.
usingLatestModel Boolean
A read-only field that indicates whether the zone currently is running the latest ML model.

Look up Existing BotManagement Resource

Get an existing BotManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BotManagementState, opts?: CustomResourceOptions): BotManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ai_bots_protection: Optional[str] = None,
        auto_update_model: Optional[bool] = None,
        enable_js: Optional[bool] = None,
        fight_mode: Optional[bool] = None,
        optimize_wordpress: Optional[bool] = None,
        sbfm_definitely_automated: Optional[str] = None,
        sbfm_likely_automated: Optional[str] = None,
        sbfm_static_resource_protection: Optional[bool] = None,
        sbfm_verified_bots: Optional[str] = None,
        suppress_session_score: Optional[bool] = None,
        using_latest_model: Optional[bool] = None,
        zone_id: Optional[str] = None) -> BotManagement
func GetBotManagement(ctx *Context, name string, id IDInput, state *BotManagementState, opts ...ResourceOption) (*BotManagement, error)
public static BotManagement Get(string name, Input<string> id, BotManagementState? state, CustomResourceOptions? opts = null)
public static BotManagement get(String name, Output<String> id, BotManagementState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:BotManagement    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
AutoUpdateModel bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
EnableJs bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
FightMode bool
Whether to enable Bot Fight Mode.
OptimizeWordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
SbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
SbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
SbfmStaticResourceProtection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
SbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
SuppressSessionScore bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
UsingLatestModel bool
A read-only field that indicates whether the zone currently is running the latest ML model.
ZoneId Changes to this property will trigger replacement. string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
AiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
AutoUpdateModel bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
EnableJs bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
FightMode bool
Whether to enable Bot Fight Mode.
OptimizeWordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
SbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
SbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
SbfmStaticResourceProtection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
SbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
SuppressSessionScore bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
UsingLatestModel bool
A read-only field that indicates whether the zone currently is running the latest ML model.
ZoneId Changes to this property will trigger replacement. string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection String
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel Boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs Boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode Boolean
Whether to enable Bot Fight Mode.
optimizeWordpress Boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated String
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated String
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection Boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots String
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore Boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
usingLatestModel Boolean
A read-only field that indicates whether the zone currently is running the latest ML model.
zoneId Changes to this property will trigger replacement. String
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection string
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode boolean
Whether to enable Bot Fight Mode.
optimizeWordpress boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated string
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated string
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots string
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
usingLatestModel boolean
A read-only field that indicates whether the zone currently is running the latest ML model.
zoneId Changes to this property will trigger replacement. string
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
ai_bots_protection str
Enable rule to block AI Scrapers and Crawlers.
auto_update_model bool
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enable_js bool
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fight_mode bool
Whether to enable Bot Fight Mode.
optimize_wordpress bool
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfm_definitely_automated str
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfm_likely_automated str
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfm_static_resource_protection bool
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfm_verified_bots str
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppress_session_score bool
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
using_latest_model bool
A read-only field that indicates whether the zone currently is running the latest ML model.
zone_id Changes to this property will trigger replacement. str
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
aiBotsProtection String
Enable rule to block AI Scrapers and Crawlers.
autoUpdateModel Boolean
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
enableJs Boolean
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
fightMode Boolean
Whether to enable Bot Fight Mode.
optimizeWordpress Boolean
Whether to optimize Super Bot Fight Mode protections for Wordpress.
sbfmDefinitelyAutomated String
Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
sbfmLikelyAutomated String
Super Bot Fight Mode (SBFM) action to take on likely automated requests.
sbfmStaticResourceProtection Boolean
Super Bot Fight Mode (SBFM) to enable static resource protection. Enable if static resources on your application need bot protection. Note: Static resource protection can also result in legitimate traffic being blocked.
sbfmVerifiedBots String
Super Bot Fight Mode (SBFM) action to take on verified bots requests.
suppressSessionScore Boolean
Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
usingLatestModel Boolean
A read-only field that indicates whether the zone currently is running the latest ML model.
zoneId Changes to this property will trigger replacement. String
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

Import

$ pulumi import cloudflare:index/botManagement:BotManagement example <zone_id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.