incapsula.BotsConfiguration
Explore with Pulumi AI
Provides an Incapsula Bot Access Control Configuration resource.
Each site has a Good Bots list and a Bad Bots list already configured. This resource allows you to customize these lists.
The canceled_good_bots list is used to remove bots from the default Good Bots list.
The bad_bots list is used to add additional bots to Imperva’s predefined list of bad bots.
The client application names and their Imperva IDs are needed for customizing the good bot and bad bot lists. In order to get the latest list, use the /api/integration/v1/clapps found in the Integration section of the Cloud Application Security v1/v3 API Definition page.
Example Usage
Basic Usage - Lists
The basic usage is to use lists of the client application Imperva IDs.
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const example_basic_bots_configuration = new incapsula.BotsConfiguration("example-basic-bots-configuration", {
siteId: incapsula_site["example-basic-site"].id,
canceledGoodBots: [
6,
17,
],
badBots: [
1,
62,
245,
18,
],
});
import pulumi
import pulumi_incapsula as incapsula
example_basic_bots_configuration = incapsula.BotsConfiguration("example-basic-bots-configuration",
site_id=incapsula_site["example-basic-site"]["id"],
canceled_good_bots=[
6,
17,
],
bad_bots=[
1,
62,
245,
18,
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := incapsula.NewBotsConfiguration(ctx, "example-basic-bots-configuration", &incapsula.BotsConfigurationArgs{
SiteId: pulumi.Any(incapsula_site.ExampleBasicSite.Id),
CanceledGoodBots: pulumi.Float64Array{
pulumi.Float64(6),
pulumi.Float64(17),
},
BadBots: pulumi.Float64Array{
pulumi.Float64(1),
pulumi.Float64(62),
pulumi.Float64(245),
pulumi.Float64(18),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var example_basic_bots_configuration = new Incapsula.BotsConfiguration("example-basic-bots-configuration", new()
{
SiteId = incapsula_site.Example_basic_site.Id,
CanceledGoodBots = new[]
{
6,
17,
},
BadBots = new[]
{
1,
62,
245,
18,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.BotsConfiguration;
import com.pulumi.incapsula.BotsConfigurationArgs;
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_basic_bots_configuration = new BotsConfiguration("example-basic-bots-configuration", BotsConfigurationArgs.builder()
.siteId(incapsula_site.example-basic-site().id())
.canceledGoodBots(
6,
17)
.badBots(
1,
62,
245,
18)
.build());
}
}
resources:
example-basic-bots-configuration:
type: incapsula:BotsConfiguration
properties:
siteId: ${incapsula_site"example-basic-site"[%!s(MISSING)].id}
canceledGoodBots:
- 6
- 17
badBots:
- 1
- 62
- 245
- 18
Data Sources Usage
Using incapsula.getClientAppsData
data sources we can use the “human-readable” client application names instead of the Imperva IDs.
Both lists (canceled_good_bots and bad_bots) can access the data sources in 2 ways:
ids
- Contains the Ids of each Client Application name set infilter
argument (if set in the data source)map
- Contains all the Client Application (names to ids map)
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const clientAppsCanceledGoodBots = incapsula.getClientAppsData({
filters: [
"Googlebot",
"SiteUptime",
],
});
const clientAppsBadBots = incapsula.getClientAppsData({});
const example_basic_bots_configuration = new incapsula.BotsConfiguration("example-basic-bots-configuration", {
siteId: incapsula_site["example-basic-site"].id,
canceledGoodBots: clientAppsCanceledGoodBots.then(clientAppsCanceledGoodBots => clientAppsCanceledGoodBots.ids),
badBots: [
clientAppsBadBots.then(clientAppsBadBots => clientAppsBadBots.map?.["Google Translate"]),
clientAppsBadBots.then(clientAppsBadBots => clientAppsBadBots.map?.Googlebot),
],
});
import pulumi
import pulumi_incapsula as incapsula
client_apps_canceled_good_bots = incapsula.get_client_apps_data(filters=[
"Googlebot",
"SiteUptime",
])
client_apps_bad_bots = incapsula.get_client_apps_data()
example_basic_bots_configuration = incapsula.BotsConfiguration("example-basic-bots-configuration",
site_id=incapsula_site["example-basic-site"]["id"],
canceled_good_bots=client_apps_canceled_good_bots.ids,
bad_bots=[
client_apps_bad_bots.map["Google Translate"],
client_apps_bad_bots.map["Googlebot"],
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
clientAppsCanceledGoodBots, err := incapsula.GetClientAppsData(ctx, &incapsula.GetClientAppsDataArgs{
Filters: []string{
"Googlebot",
"SiteUptime",
},
}, nil);
if err != nil {
return err
}
clientAppsBadBots, err := incapsula.GetClientAppsData(ctx, &incapsula.GetClientAppsDataArgs{
}, nil);
if err != nil {
return err
}
_, err = incapsula.NewBotsConfiguration(ctx, "example-basic-bots-configuration", &incapsula.BotsConfigurationArgs{
SiteId: pulumi.Any(incapsula_site.ExampleBasicSite.Id),
CanceledGoodBots: interface{}(clientAppsCanceledGoodBots.Ids),
BadBots: pulumi.Float64Array{
pulumi.Float64(clientAppsBadBots.Map.Google Translate),
pulumi.Float64(clientAppsBadBots.Map.Googlebot),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var clientAppsCanceledGoodBots = Incapsula.GetClientAppsData.Invoke(new()
{
Filters = new[]
{
"Googlebot",
"SiteUptime",
},
});
var clientAppsBadBots = Incapsula.GetClientAppsData.Invoke();
var example_basic_bots_configuration = new Incapsula.BotsConfiguration("example-basic-bots-configuration", new()
{
SiteId = incapsula_site.Example_basic_site.Id,
CanceledGoodBots = clientAppsCanceledGoodBots.Apply(getClientAppsDataResult => getClientAppsDataResult.Ids),
BadBots = new[]
{
clientAppsBadBots.Apply(getClientAppsDataResult => getClientAppsDataResult.Map?.Google_Translate),
clientAppsBadBots.Apply(getClientAppsDataResult => getClientAppsDataResult.Map?.Googlebot),
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.IncapsulaFunctions;
import com.pulumi.incapsula.inputs.GetClientAppsDataArgs;
import com.pulumi.incapsula.BotsConfiguration;
import com.pulumi.incapsula.BotsConfigurationArgs;
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) {
final var clientAppsCanceledGoodBots = IncapsulaFunctions.getClientAppsData(GetClientAppsDataArgs.builder()
.filters(
"Googlebot",
"SiteUptime")
.build());
final var clientAppsBadBots = IncapsulaFunctions.getClientAppsData();
var example_basic_bots_configuration = new BotsConfiguration("example-basic-bots-configuration", BotsConfigurationArgs.builder()
.siteId(incapsula_site.example-basic-site().id())
.canceledGoodBots(clientAppsCanceledGoodBots.applyValue(getClientAppsDataResult -> getClientAppsDataResult.ids()))
.badBots(
clientAppsBadBots.applyValue(getClientAppsDataResult -> getClientAppsDataResult.map().Google Translate()),
clientAppsBadBots.applyValue(getClientAppsDataResult -> getClientAppsDataResult.map().Googlebot()))
.build());
}
}
resources:
example-basic-bots-configuration:
type: incapsula:BotsConfiguration
properties:
siteId: ${incapsula_site"example-basic-site"[%!s(MISSING)].id}
canceledGoodBots: ${clientAppsCanceledGoodBots.ids}
badBots:
- ${clientAppsBadBots.map"Google Translate"[%!s(MISSING)]}
- ${clientAppsBadBots.map.Googlebot}
variables:
clientAppsCanceledGoodBots:
fn::invoke:
function: incapsula:getClientAppsData
arguments:
filters:
- Googlebot
- SiteUptime
clientAppsBadBots:
fn::invoke:
function: incapsula:getClientAppsData
arguments: {}
Combination Usage
We always can combine both usages; list and datasource in the same resource or map and list in the same block.
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const clientAppsBadBots = incapsula.getClientAppsData({});
const example_basic_bots_configuration = new incapsula.BotsConfiguration("example-basic-bots-configuration", {
siteId: incapsula_site["example-basic-site"].id,
canceledGoodBots: [
6,
17,
],
badBots: [
clientAppsBadBots.then(clientAppsBadBots => clientAppsBadBots.map?.["Google Translate"]),
clientAppsBadBots.then(clientAppsBadBots => clientAppsBadBots.map?.Googlebot),
530,
531,
537,
],
});
import pulumi
import pulumi_incapsula as incapsula
client_apps_bad_bots = incapsula.get_client_apps_data()
example_basic_bots_configuration = incapsula.BotsConfiguration("example-basic-bots-configuration",
site_id=incapsula_site["example-basic-site"]["id"],
canceled_good_bots=[
6,
17,
],
bad_bots=[
client_apps_bad_bots.map["Google Translate"],
client_apps_bad_bots.map["Googlebot"],
530,
531,
537,
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
clientAppsBadBots, err := incapsula.GetClientAppsData(ctx, &incapsula.GetClientAppsDataArgs{
}, nil);
if err != nil {
return err
}
_, err = incapsula.NewBotsConfiguration(ctx, "example-basic-bots-configuration", &incapsula.BotsConfigurationArgs{
SiteId: pulumi.Any(incapsula_site.ExampleBasicSite.Id),
CanceledGoodBots: pulumi.Float64Array{
pulumi.Float64(6),
pulumi.Float64(17),
},
BadBots: pulumi.Float64Array{
pulumi.Float64(clientAppsBadBots.Map.Google Translate),
pulumi.Float64(clientAppsBadBots.Map.Googlebot),
pulumi.Float64(530),
pulumi.Float64(531),
pulumi.Float64(537),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var clientAppsBadBots = Incapsula.GetClientAppsData.Invoke();
var example_basic_bots_configuration = new Incapsula.BotsConfiguration("example-basic-bots-configuration", new()
{
SiteId = incapsula_site.Example_basic_site.Id,
CanceledGoodBots = new[]
{
6,
17,
},
BadBots = new[]
{
clientAppsBadBots.Apply(getClientAppsDataResult => getClientAppsDataResult.Map?.Google_Translate),
clientAppsBadBots.Apply(getClientAppsDataResult => getClientAppsDataResult.Map?.Googlebot),
530,
531,
537,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.IncapsulaFunctions;
import com.pulumi.incapsula.inputs.GetClientAppsDataArgs;
import com.pulumi.incapsula.BotsConfiguration;
import com.pulumi.incapsula.BotsConfigurationArgs;
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) {
final var clientAppsBadBots = IncapsulaFunctions.getClientAppsData();
var example_basic_bots_configuration = new BotsConfiguration("example-basic-bots-configuration", BotsConfigurationArgs.builder()
.siteId(incapsula_site.example-basic-site().id())
.canceledGoodBots(
6,
17)
.badBots(
clientAppsBadBots.applyValue(getClientAppsDataResult -> getClientAppsDataResult.map().Google Translate()),
clientAppsBadBots.applyValue(getClientAppsDataResult -> getClientAppsDataResult.map().Googlebot()),
530,
531,
537)
.build());
}
}
resources:
example-basic-bots-configuration:
type: incapsula:BotsConfiguration
properties:
siteId: ${incapsula_site"example-basic-site"[%!s(MISSING)].id}
canceledGoodBots:
- 6
- 17
badBots:
- ${clientAppsBadBots.map"Google Translate"[%!s(MISSING)]}
- ${clientAppsBadBots.map.Googlebot}
- 530
- 531
- 537
variables:
clientAppsBadBots:
fn::invoke:
function: incapsula:getClientAppsData
arguments: {}
Create BotsConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BotsConfiguration(name: string, args: BotsConfigurationArgs, opts?: CustomResourceOptions);
@overload
def BotsConfiguration(resource_name: str,
args: BotsConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BotsConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
site_id: Optional[str] = None,
bad_bots: Optional[Sequence[float]] = None,
bots_configuration_id: Optional[str] = None,
canceled_good_bots: Optional[Sequence[float]] = None)
func NewBotsConfiguration(ctx *Context, name string, args BotsConfigurationArgs, opts ...ResourceOption) (*BotsConfiguration, error)
public BotsConfiguration(string name, BotsConfigurationArgs args, CustomResourceOptions? opts = null)
public BotsConfiguration(String name, BotsConfigurationArgs args)
public BotsConfiguration(String name, BotsConfigurationArgs args, CustomResourceOptions options)
type: incapsula:BotsConfiguration
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 BotsConfigurationArgs
- 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 BotsConfigurationArgs
- 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 BotsConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BotsConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BotsConfigurationArgs
- 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 botsConfigurationResource = new Incapsula.BotsConfiguration("botsConfigurationResource", new()
{
SiteId = "string",
BadBots = new[]
{
0,
},
BotsConfigurationId = "string",
CanceledGoodBots = new[]
{
0,
},
});
example, err := incapsula.NewBotsConfiguration(ctx, "botsConfigurationResource", &incapsula.BotsConfigurationArgs{
SiteId: pulumi.String("string"),
BadBots: pulumi.Float64Array{
pulumi.Float64(0),
},
BotsConfigurationId: pulumi.String("string"),
CanceledGoodBots: pulumi.Float64Array{
pulumi.Float64(0),
},
})
var botsConfigurationResource = new BotsConfiguration("botsConfigurationResource", BotsConfigurationArgs.builder()
.siteId("string")
.badBots(0)
.botsConfigurationId("string")
.canceledGoodBots(0)
.build());
bots_configuration_resource = incapsula.BotsConfiguration("botsConfigurationResource",
site_id="string",
bad_bots=[0],
bots_configuration_id="string",
canceled_good_bots=[0])
const botsConfigurationResource = new incapsula.BotsConfiguration("botsConfigurationResource", {
siteId: "string",
badBots: [0],
botsConfigurationId: "string",
canceledGoodBots: [0],
});
type: incapsula:BotsConfiguration
properties:
badBots:
- 0
botsConfigurationId: string
canceledGoodBots:
- 0
siteId: string
BotsConfiguration 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 BotsConfiguration resource accepts the following input properties:
- Site
Id string - Numeric identifier of the site to operate on.
- Bad
Bots List<double> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- Bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- Canceled
Good List<double>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- Site
Id string - Numeric identifier of the site to operate on.
- Bad
Bots []float64 List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- Bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- Canceled
Good []float64Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id String - Numeric identifier of the site to operate on.
- bad
Bots List<Double> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration StringId - Unique identifier in the API for the bots configuration.
- canceled
Good List<Double>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id string - Numeric identifier of the site to operate on.
- bad
Bots number[] List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- canceled
Good number[]Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site_
id str - Numeric identifier of the site to operate on.
- bad_
bots Sequence[float] List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots_
configuration_ strid - Unique identifier in the API for the bots configuration.
- canceled_
good_ Sequence[float]bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id String - Numeric identifier of the site to operate on.
- bad
Bots List<Number> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration StringId - Unique identifier in the API for the bots configuration.
- canceled
Good List<Number>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
Outputs
All input properties are implicitly available as output properties. Additionally, the BotsConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BotsConfiguration Resource
Get an existing BotsConfiguration 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?: BotsConfigurationState, opts?: CustomResourceOptions): BotsConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bad_bots: Optional[Sequence[float]] = None,
bots_configuration_id: Optional[str] = None,
canceled_good_bots: Optional[Sequence[float]] = None,
site_id: Optional[str] = None) -> BotsConfiguration
func GetBotsConfiguration(ctx *Context, name string, id IDInput, state *BotsConfigurationState, opts ...ResourceOption) (*BotsConfiguration, error)
public static BotsConfiguration Get(string name, Input<string> id, BotsConfigurationState? state, CustomResourceOptions? opts = null)
public static BotsConfiguration get(String name, Output<String> id, BotsConfigurationState state, CustomResourceOptions options)
resources: _: type: incapsula:BotsConfiguration 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.
- Bad
Bots List<double> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- Bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- Canceled
Good List<double>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- Site
Id string - Numeric identifier of the site to operate on.
- Bad
Bots []float64 List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- Bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- Canceled
Good []float64Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- Site
Id string - Numeric identifier of the site to operate on.
- bad
Bots List<Double> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration StringId - Unique identifier in the API for the bots configuration.
- canceled
Good List<Double>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id String - Numeric identifier of the site to operate on.
- bad
Bots number[] List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration stringId - Unique identifier in the API for the bots configuration.
- canceled
Good number[]Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id string - Numeric identifier of the site to operate on.
- bad_
bots Sequence[float] List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots_
configuration_ strid - Unique identifier in the API for the bots configuration.
- canceled_
good_ Sequence[float]bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site_
id str - Numeric identifier of the site to operate on.
- bad
Bots List<Number> List of Bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Bad Bots list (empty).
- bots
Configuration StringId - Unique identifier in the API for the bots configuration.
- canceled
Good List<Number>Bots List of bot IDs taken from Imperva’s predefined list of bad bots
Default value is an empty list. This restores the default Canceled Good Bots list.
- site
Id String - Numeric identifier of the site to operate on.
Import
The bot configuration can be imported using the id
. The ID is identical to site ID. For example:
$ pulumi import incapsula:index/botsConfiguration:BotsConfiguration demo 1234
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- incapsula imperva/terraform-provider-incapsula
- License
- Notes
- This Pulumi package is based on the
incapsula
Terraform Provider.