Bot Management
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
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()
.enableJs(true)
.optimizeWordpress(true)
.sbfmDefinitelyAutomated("block")
.sbfmLikelyAutomated("managed_challenge")
.sbfmStaticResourceProtection(false)
.sbfmVerifiedBots("allow")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}
Content copied to clipboard
Import
$ pulumi import cloudflare:index/botManagement:BotManagement example <zone_id>
Content copied to clipboard
Properties
Link copied to clipboard
Automatically update to the newest bot detection models created by Cloudflare as they are released. Learn more..
Link copied to clipboard
Use lightweight, invisible JavaScript detections to improve Bot Management. Learn more about JavaScript Detections.