incapsula.ApiSecurityEndpointConfig
Explore with Pulumi AI
Provides an Incapsula API Security Endpoint Config resource.
API Security Endpoint Config include violation actions set for specific endpoints.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incapsula from "@pulumi/incapsula";
const demo_api_security_endpoint_config = new incapsula.ApiSecurityEndpointConfig("demo-api-security-endpoint-config", {
apiId: incapsula_api_security_api_config.demo_api_security_api_config.id,
path: "/endpoint/unit/{id}",
method: "GET",
invalidParamNameViolationAction: "BLOCK_REQUEST",
invalidParamValueViolationAction: "ALERT_ONLY",
missingParamViolationAction: "BLOCK_IP",
});
import pulumi
import pulumi_incapsula as incapsula
demo_api_security_endpoint_config = incapsula.ApiSecurityEndpointConfig("demo-api-security-endpoint-config",
api_id=incapsula_api_security_api_config["demo_api_security_api_config"]["id"],
path="/endpoint/unit/{id}",
method="GET",
invalid_param_name_violation_action="BLOCK_REQUEST",
invalid_param_value_violation_action="ALERT_ONLY",
missing_param_violation_action="BLOCK_IP")
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.NewApiSecurityEndpointConfig(ctx, "demo-api-security-endpoint-config", &incapsula.ApiSecurityEndpointConfigArgs{
ApiId: pulumi.Any(incapsula_api_security_api_config.Demo_api_security_api_config.Id),
Path: pulumi.String("/endpoint/unit/{id}"),
Method: pulumi.String("GET"),
InvalidParamNameViolationAction: pulumi.String("BLOCK_REQUEST"),
InvalidParamValueViolationAction: pulumi.String("ALERT_ONLY"),
MissingParamViolationAction: pulumi.String("BLOCK_IP"),
})
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 demo_api_security_endpoint_config = new Incapsula.ApiSecurityEndpointConfig("demo-api-security-endpoint-config", new()
{
ApiId = incapsula_api_security_api_config.Demo_api_security_api_config.Id,
Path = "/endpoint/unit/{id}",
Method = "GET",
InvalidParamNameViolationAction = "BLOCK_REQUEST",
InvalidParamValueViolationAction = "ALERT_ONLY",
MissingParamViolationAction = "BLOCK_IP",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.ApiSecurityEndpointConfig;
import com.pulumi.incapsula.ApiSecurityEndpointConfigArgs;
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 demo_api_security_endpoint_config = new ApiSecurityEndpointConfig("demo-api-security-endpoint-config", ApiSecurityEndpointConfigArgs.builder()
.apiId(incapsula_api_security_api_config.demo_api_security_api_config().id())
.path("/endpoint/unit/{id}")
.method("GET")
.invalidParamNameViolationAction("BLOCK_REQUEST")
.invalidParamValueViolationAction("ALERT_ONLY")
.missingParamViolationAction("BLOCK_IP")
.build());
}
}
resources:
demo-api-security-endpoint-config:
type: incapsula:ApiSecurityEndpointConfig
properties:
apiId: ${incapsula_api_security_api_config.demo_api_security_api_config.id}
path: /endpoint/unit/{id}
method: GET
invalidParamNameViolationAction: BLOCK_REQUEST
invalidParamValueViolationAction: ALERT_ONLY
missingParamViolationAction: BLOCK_IP
Create ApiSecurityEndpointConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiSecurityEndpointConfig(name: string, args: ApiSecurityEndpointConfigArgs, opts?: CustomResourceOptions);
@overload
def ApiSecurityEndpointConfig(resource_name: str,
args: ApiSecurityEndpointConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiSecurityEndpointConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[float] = None,
method: Optional[str] = None,
path: Optional[str] = None,
api_security_endpoint_config_id: Optional[str] = None,
invalid_param_name_violation_action: Optional[str] = None,
invalid_param_value_violation_action: Optional[str] = None,
missing_param_violation_action: Optional[str] = None)
func NewApiSecurityEndpointConfig(ctx *Context, name string, args ApiSecurityEndpointConfigArgs, opts ...ResourceOption) (*ApiSecurityEndpointConfig, error)
public ApiSecurityEndpointConfig(string name, ApiSecurityEndpointConfigArgs args, CustomResourceOptions? opts = null)
public ApiSecurityEndpointConfig(String name, ApiSecurityEndpointConfigArgs args)
public ApiSecurityEndpointConfig(String name, ApiSecurityEndpointConfigArgs args, CustomResourceOptions options)
type: incapsula:ApiSecurityEndpointConfig
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 ApiSecurityEndpointConfigArgs
- 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 ApiSecurityEndpointConfigArgs
- 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 ApiSecurityEndpointConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiSecurityEndpointConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiSecurityEndpointConfigArgs
- 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 apiSecurityEndpointConfigResource = new Incapsula.ApiSecurityEndpointConfig("apiSecurityEndpointConfigResource", new()
{
ApiId = 0,
Method = "string",
Path = "string",
ApiSecurityEndpointConfigId = "string",
InvalidParamNameViolationAction = "string",
InvalidParamValueViolationAction = "string",
MissingParamViolationAction = "string",
});
example, err := incapsula.NewApiSecurityEndpointConfig(ctx, "apiSecurityEndpointConfigResource", &incapsula.ApiSecurityEndpointConfigArgs{
ApiId: pulumi.Float64(0),
Method: pulumi.String("string"),
Path: pulumi.String("string"),
ApiSecurityEndpointConfigId: pulumi.String("string"),
InvalidParamNameViolationAction: pulumi.String("string"),
InvalidParamValueViolationAction: pulumi.String("string"),
MissingParamViolationAction: pulumi.String("string"),
})
var apiSecurityEndpointConfigResource = new ApiSecurityEndpointConfig("apiSecurityEndpointConfigResource", ApiSecurityEndpointConfigArgs.builder()
.apiId(0)
.method("string")
.path("string")
.apiSecurityEndpointConfigId("string")
.invalidParamNameViolationAction("string")
.invalidParamValueViolationAction("string")
.missingParamViolationAction("string")
.build());
api_security_endpoint_config_resource = incapsula.ApiSecurityEndpointConfig("apiSecurityEndpointConfigResource",
api_id=0,
method="string",
path="string",
api_security_endpoint_config_id="string",
invalid_param_name_violation_action="string",
invalid_param_value_violation_action="string",
missing_param_violation_action="string")
const apiSecurityEndpointConfigResource = new incapsula.ApiSecurityEndpointConfig("apiSecurityEndpointConfigResource", {
apiId: 0,
method: "string",
path: "string",
apiSecurityEndpointConfigId: "string",
invalidParamNameViolationAction: "string",
invalidParamValueViolationAction: "string",
missingParamViolationAction: "string",
});
type: incapsula:ApiSecurityEndpointConfig
properties:
apiId: 0
apiSecurityEndpointConfigId: string
invalidParamNameViolationAction: string
invalidParamValueViolationAction: string
method: string
missingParamViolationAction: string
path: string
ApiSecurityEndpointConfig 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 ApiSecurityEndpointConfig resource accepts the following input properties:
- Api
Id double - Numeric identifier of the API Security API Configuration to operate on.
- Method string
- HTTP method that describes a specific Endpoint.
- Path string
- An URL path of specific Endpoint.
- Api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- Invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- Missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
- Api
Id float64 - Numeric identifier of the API Security API Configuration to operate on.
- Method string
- HTTP method that describes a specific Endpoint.
- Path string
- An URL path of specific Endpoint.
- Api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- Invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- Missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
- api
Id Double - Numeric identifier of the API Security API Configuration to operate on.
- method String
- HTTP method that describes a specific Endpoint.
- path String
- An URL path of specific Endpoint.
- api
Security StringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param StringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param StringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- missing
Param StringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
- api
Id number - Numeric identifier of the API Security API Configuration to operate on.
- method string
- HTTP method that describes a specific Endpoint.
- path string
- An URL path of specific Endpoint.
- api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
- api_
id float - Numeric identifier of the API Security API Configuration to operate on.
- method str
- HTTP method that describes a specific Endpoint.
- path str
- An URL path of specific Endpoint.
- api_
security_ strendpoint_ config_ id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid_
param_ strname_ violation_ action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid_
param_ strvalue_ violation_ action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- missing_
param_ strviolation_ action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
- api
Id Number - Numeric identifier of the API Security API Configuration to operate on.
- method String
- HTTP method that describes a specific Endpoint.
- path String
- An URL path of specific Endpoint.
- api
Security StringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param StringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param StringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- missing
Param StringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiSecurityEndpointConfig 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 ApiSecurityEndpointConfig Resource
Get an existing ApiSecurityEndpointConfig 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?: ApiSecurityEndpointConfigState, opts?: CustomResourceOptions): ApiSecurityEndpointConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[float] = None,
api_security_endpoint_config_id: Optional[str] = None,
invalid_param_name_violation_action: Optional[str] = None,
invalid_param_value_violation_action: Optional[str] = None,
method: Optional[str] = None,
missing_param_violation_action: Optional[str] = None,
path: Optional[str] = None) -> ApiSecurityEndpointConfig
func GetApiSecurityEndpointConfig(ctx *Context, name string, id IDInput, state *ApiSecurityEndpointConfigState, opts ...ResourceOption) (*ApiSecurityEndpointConfig, error)
public static ApiSecurityEndpointConfig Get(string name, Input<string> id, ApiSecurityEndpointConfigState? state, CustomResourceOptions? opts = null)
public static ApiSecurityEndpointConfig get(String name, Output<String> id, ApiSecurityEndpointConfigState state, CustomResourceOptions options)
resources: _: type: incapsula:ApiSecurityEndpointConfig 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.
- Api
Id double - Numeric identifier of the API Security API Configuration to operate on.
- Api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- Invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- Method string
- HTTP method that describes a specific Endpoint.
- Missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Path string
- An URL path of specific Endpoint.
- Api
Id float64 - Numeric identifier of the API Security API Configuration to operate on.
- Api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- Invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- Method string
- HTTP method that describes a specific Endpoint.
- Missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - Path string
- An URL path of specific Endpoint.
- api
Id Double - Numeric identifier of the API Security API Configuration to operate on.
- api
Security StringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param StringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param StringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- method String
- HTTP method that describes a specific Endpoint.
- missing
Param StringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - path String
- An URL path of specific Endpoint.
- api
Id number - Numeric identifier of the API Security API Configuration to operate on.
- api
Security stringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param stringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param stringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- method string
- HTTP method that describes a specific Endpoint.
- missing
Param stringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - path string
- An URL path of specific Endpoint.
- api_
id float - Numeric identifier of the API Security API Configuration to operate on.
- api_
security_ strendpoint_ config_ id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid_
param_ strname_ violation_ action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid_
param_ strvalue_ violation_ action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- method str
- HTTP method that describes a specific Endpoint.
- missing_
param_ strviolation_ action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - path str
- An URL path of specific Endpoint.
- api
Id Number - Numeric identifier of the API Security API Configuration to operate on.
- api
Security StringEndpoint Config Id - Unique identifier of the Endpoint for the API Security Endpoint Configuration.
- invalid
Param StringName Violation Action - The action taken when an invalid parameter value Violation occurs.
Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - invalid
Param StringValue Violation Action The action taken when an invalid parameter value Violation occurs. Possible values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object.NOTE:
invalid_param_name_violation_action
parameter is currently not supported. Please do not use/change value.- method String
- HTTP method that describes a specific Endpoint.
- missing
Param StringViolation Action - The action taken when a missing parameter Violation occurs. Possible
values:
ALERT_ONLY
,BLOCK_REQUEST
,BLOCK_USER
,BLOCK_IP
,IGNORE
,DEFAULT
. AssigningDEFAULT
will inherit the action from parent object. - path String
- An URL path of specific Endpoint.
Import
API Security Endpoint Configuration can be imported using api_id and then endpoint_id (id) separated by /, e.g.
$ pulumi import incapsula:index/apiSecurityEndpointConfig:ApiSecurityEndpointConfig example-terraform-api-security-endpoint-config 100200/1122
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.