cloudflare.BotManagement
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleBotManagement = new cloudflare.BotManagement("example_bot_management", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
aiBotsProtection: "block",
crawlerProtection: "enabled",
enableJs: true,
fightMode: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_bot_management = cloudflare.BotManagement("example_bot_management",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
ai_bots_protection="block",
crawler_protection="enabled",
enable_js=True,
fight_mode=True)
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewBotManagement(ctx, "example_bot_management", &cloudflare.BotManagementArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
AiBotsProtection: pulumi.String("block"),
CrawlerProtection: pulumi.String("enabled"),
EnableJs: pulumi.Bool(true),
FightMode: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleBotManagement = new Cloudflare.BotManagement("example_bot_management", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
AiBotsProtection = "block",
CrawlerProtection = "enabled",
EnableJs = true,
FightMode = true,
});
});
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 exampleBotManagement = new BotManagement("exampleBotManagement", BotManagementArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.aiBotsProtection("block")
.crawlerProtection("enabled")
.enableJs(true)
.fightMode(true)
.build());
}
}
resources:
exampleBotManagement:
type: cloudflare:BotManagement
name: example_bot_management
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
aiBotsProtection: block
crawlerProtection: enabled
enableJs: true
fightMode: true
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,
crawler_protection: Optional[str] = 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 string
- The unique name of the resource.
- args BotManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args BotManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BotManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
CrawlerProtection = "string",
EnableJs = false,
FightMode = false,
OptimizeWordpress = false,
SbfmDefinitelyAutomated = "string",
SbfmLikelyAutomated = "string",
SbfmStaticResourceProtection = false,
SbfmVerifiedBots = "string",
SuppressSessionScore = false,
});
example, err := cloudflare.NewBotManagement(ctx, "botManagementResource", &cloudflare.BotManagementArgs{
ZoneId: pulumi.String("string"),
AiBotsProtection: pulumi.String("string"),
AutoUpdateModel: pulumi.Bool(false),
CrawlerProtection: pulumi.String("string"),
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),
})
var botManagementResource = new BotManagement("botManagementResource", BotManagementArgs.builder()
.zoneId("string")
.aiBotsProtection("string")
.autoUpdateModel(false)
.crawlerProtection("string")
.enableJs(false)
.fightMode(false)
.optimizeWordpress(false)
.sbfmDefinitelyAutomated("string")
.sbfmLikelyAutomated("string")
.sbfmStaticResourceProtection(false)
.sbfmVerifiedBots("string")
.suppressSessionScore(false)
.build());
bot_management_resource = cloudflare.BotManagement("botManagementResource",
zone_id="string",
ai_bots_protection="string",
auto_update_model=False,
crawler_protection="string",
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)
const botManagementResource = new cloudflare.BotManagement("botManagementResource", {
zoneId: "string",
aiBotsProtection: "string",
autoUpdateModel: false,
crawlerProtection: "string",
enableJs: false,
fightMode: false,
optimizeWordpress: false,
sbfmDefinitelyAutomated: "string",
sbfmLikelyAutomated: "string",
sbfmStaticResourceProtection: false,
sbfmVerifiedBots: "string",
suppressSessionScore: false,
});
type: cloudflare:BotManagement
properties:
aiBotsProtection: string
autoUpdateModel: false
crawlerProtection: string
enableJs: false
fightMode: false
optimizeWordpress: false
sbfmDefinitelyAutomated: string
sbfmLikelyAutomated: string
sbfmStaticResourceProtection: false
sbfmVerifiedBots: string
suppressSessionScore: false
zoneId: string
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:
- Zone
Id string - Identifier
- Ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- Auto
Update boolModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- Crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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 stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Static boolResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- Suppress
Session boolScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- Zone
Id string - Identifier
- Ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- Auto
Update boolModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- Crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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 stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Static boolResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- Suppress
Session boolScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- zone
Id String - Identifier
- ai
Bots StringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update BooleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection String - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js Boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode Boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress Boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely StringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely StringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static BooleanResource Protection - 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 StringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- suppress
Session BooleanScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- zone
Id string - Identifier
- ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update booleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static booleanResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- suppress
Session booleanScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- zone_
id str - Identifier
- ai_
bots_ strprotection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto_
update_ boolmodel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler_
protection str - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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_ strautomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm_
likely_ strautomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm_
static_ boolresource_ protection - 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_ strbots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- suppress_
session_ boolscore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- zone
Id String - Identifier
- ai
Bots StringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update BooleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection String - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js Boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode Boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress Boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely StringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely StringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static BooleanResource Protection - 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 StringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- suppress
Session BooleanScore - 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.
- Stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- Using
Latest boolModel - 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.
- Stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- Using
Latest boolModel - 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.
- stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- using
Latest BooleanModel - 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.
- stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- using
Latest booleanModel - 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.
- stale_
zone_ Botconfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- using_
latest_ boolmodel - 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.
- stale
Zone Property MapConfiguration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- using
Latest BooleanModel - 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,
crawler_protection: Optional[str] = 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,
stale_zone_configuration: Optional[BotManagementStaleZoneConfigurationArgs] = 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- Auto
Update boolModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- Crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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 stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Static boolResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- Stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- Suppress
Session boolScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- Using
Latest boolModel - A read-only field that indicates whether the zone currently is running the latest ML model.
- Zone
Id string - Identifier
- Ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- Auto
Update boolModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- Crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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 stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- Sbfm
Static boolResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- Stale
Zone BotConfiguration Management Stale Zone Configuration Args - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- Suppress
Session boolScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- Using
Latest boolModel - A read-only field that indicates whether the zone currently is running the latest ML model.
- Zone
Id string - Identifier
- ai
Bots StringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update BooleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection String - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js Boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode Boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress Boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely StringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely StringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static BooleanResource Protection - 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 StringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- suppress
Session BooleanScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- using
Latest BooleanModel - A read-only field that indicates whether the zone currently is running the latest ML model.
- zone
Id String - Identifier
- ai
Bots stringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update booleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection string - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely stringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely stringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static booleanResource Protection - 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 stringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- stale
Zone BotConfiguration Management Stale Zone Configuration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- suppress
Session booleanScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- using
Latest booleanModel - A read-only field that indicates whether the zone currently is running the latest ML model.
- zone
Id string - Identifier
- ai_
bots_ strprotection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto_
update_ boolmodel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler_
protection str - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- 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_ strautomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm_
likely_ strautomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm_
static_ boolresource_ protection - 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_ strbots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- stale_
zone_ Botconfiguration Management Stale Zone Configuration Args - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- suppress_
session_ boolscore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- using_
latest_ boolmodel - A read-only field that indicates whether the zone currently is running the latest ML model.
- zone_
id str - Identifier
- ai
Bots StringProtection - Enable rule to block AI Scrapers and Crawlers. Available values: "block", "disabled".
- auto
Update BooleanModel - Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more.
- crawler
Protection String - Enable rule to punish AI Scrapers and Crawlers via a link maze. Available values: "enabled", "disabled".
- enable
Js Boolean - Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.
- fight
Mode Boolean - Whether to enable Bot Fight Mode.
- optimize
Wordpress Boolean - Whether to optimize Super Bot Fight Mode protections for Wordpress.
- sbfm
Definitely StringAutomated - Super Bot Fight Mode (SBFM) action to take on definitely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Likely StringAutomated - Super Bot Fight Mode (SBFM) action to take on likely automated requests. Available values: "allow", "block", "managed_challenge".
- sbfm
Static BooleanResource Protection - 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 StringBots - Super Bot Fight Mode (SBFM) action to take on verified bots requests. Available values: "allow", "block".
- stale
Zone Property MapConfiguration - A read-only field that shows which unauthorized settings are currently active on the zone. These settings typically result from upgrades or downgrades.
- suppress
Session BooleanScore - Whether to disable tracking the highest bot score for a session in the Bot Management cookie.
- using
Latest BooleanModel - A read-only field that indicates whether the zone currently is running the latest ML model.
- zone
Id String - Identifier
Supporting Types
BotManagementStaleZoneConfiguration, BotManagementStaleZoneConfigurationArgs
- Fight
Mode bool - Indicates that the zone's Bot Fight Mode is turned on.
- Optimize
Wordpress bool - Indicates that the zone's wordpress optimization for SBFM is turned on.
- Sbfm
Definitely stringAutomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- Sbfm
Likely stringAutomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- Sbfm
Static stringResource Protection - Indicates that the zone's static resource protection is turned on.
- Sbfm
Verified stringBots - Indicates that the zone's verified bot requests are being blocked.
- Suppress
Session boolScore - Indicates that the zone's session score tracking is disabled.
- Fight
Mode bool - Indicates that the zone's Bot Fight Mode is turned on.
- Optimize
Wordpress bool - Indicates that the zone's wordpress optimization for SBFM is turned on.
- Sbfm
Definitely stringAutomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- Sbfm
Likely stringAutomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- Sbfm
Static stringResource Protection - Indicates that the zone's static resource protection is turned on.
- Sbfm
Verified stringBots - Indicates that the zone's verified bot requests are being blocked.
- Suppress
Session boolScore - Indicates that the zone's session score tracking is disabled.
- fight
Mode Boolean - Indicates that the zone's Bot Fight Mode is turned on.
- optimize
Wordpress Boolean - Indicates that the zone's wordpress optimization for SBFM is turned on.
- sbfm
Definitely StringAutomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- sbfm
Likely StringAutomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- sbfm
Static StringResource Protection - Indicates that the zone's static resource protection is turned on.
- sbfm
Verified StringBots - Indicates that the zone's verified bot requests are being blocked.
- suppress
Session BooleanScore - Indicates that the zone's session score tracking is disabled.
- fight
Mode boolean - Indicates that the zone's Bot Fight Mode is turned on.
- optimize
Wordpress boolean - Indicates that the zone's wordpress optimization for SBFM is turned on.
- sbfm
Definitely stringAutomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- sbfm
Likely stringAutomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- sbfm
Static stringResource Protection - Indicates that the zone's static resource protection is turned on.
- sbfm
Verified stringBots - Indicates that the zone's verified bot requests are being blocked.
- suppress
Session booleanScore - Indicates that the zone's session score tracking is disabled.
- fight_
mode bool - Indicates that the zone's Bot Fight Mode is turned on.
- optimize_
wordpress bool - Indicates that the zone's wordpress optimization for SBFM is turned on.
- sbfm_
definitely_ strautomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- sbfm_
likely_ strautomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- sbfm_
static_ strresource_ protection - Indicates that the zone's static resource protection is turned on.
- sbfm_
verified_ strbots - Indicates that the zone's verified bot requests are being blocked.
- suppress_
session_ boolscore - Indicates that the zone's session score tracking is disabled.
- fight
Mode Boolean - Indicates that the zone's Bot Fight Mode is turned on.
- optimize
Wordpress Boolean - Indicates that the zone's wordpress optimization for SBFM is turned on.
- sbfm
Definitely StringAutomated - Indicates that the zone's definitely automated requests are being blocked or challenged.
- sbfm
Likely StringAutomated - Indicates that the zone's likely automated requests are being blocked or challenged.
- sbfm
Static StringResource Protection - Indicates that the zone's static resource protection is turned on.
- sbfm
Verified StringBots - Indicates that the zone's verified bot requests are being blocked.
- suppress
Session BooleanScore - Indicates that the zone's session score tracking is disabled.
Import
$ pulumi import cloudflare:index/botManagement:BotManagement example '<zone_id>'
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.