AppSecReputationProfileAnalysis

Scopes: Security policy

Modifies the reputation analysis settings for a security policy. These settings include the following:

  • The forward_to_http_header parameter, which indicates whether client reputation details are added to requests forwarded to origin in an HTTP header.
  • The forward_shared_ip_to_http_header_siem parameter, which specifies whether a value is added indicating that shared IPs addresses are included in HTTP headers and in SIEM integration events.

Related API Endpoint: /appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/reputation-analysis

Example Usage

Basic usage

Coming soon!

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akamai.AkamaiFunctions;
import com.pulumi.akamai.inputs.GetAppSecConfigurationArgs;
import com.pulumi.akamai.inputs.GetAppSecReputationProfileAnalysisArgs;
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 configuration = AkamaiFunctions.getAppSecConfiguration(GetAppSecConfigurationArgs.builder()
            .name("Documentation")
            .build());

        final var reputationAnalysis = AkamaiFunctions.getAppSecReputationProfileAnalysis(GetAppSecReputationProfileAnalysisArgs.builder()
            .configId(configuration.applyValue(getAppSecConfigurationResult -> getAppSecConfigurationResult.configId()))
            .securityPolicyId("gms1_134637")
            .forwardToHttpHeader(true)
            .build());

        ctx.export("reputationAnalysisText", reputationAnalysis.applyValue(getAppSecReputationProfileAnalysisResult -> getAppSecReputationProfileAnalysisResult.outputText()));
        ctx.export("reputationAnalysisJson", reputationAnalysis.applyValue(getAppSecReputationProfileAnalysisResult -> getAppSecReputationProfileAnalysisResult.json()));
    }
}

Coming soon!

Coming soon!

variables:
  configuration:
    Fn::Invoke:
      Function: akamai:getAppSecConfiguration
      Arguments:
        name: Documentation
  reputationAnalysis:
    Fn::Invoke:
      Function: akamai:getAppSecReputationProfileAnalysis
      Arguments:
        configId: ${configuration.configId}
        securityPolicyId: gms1_134637
        forwardToHttpHeader: true
outputs:
  reputationAnalysisText: ${reputationAnalysis.outputText}
  reputationAnalysisJson: ${reputationAnalysis.json}

Create AppSecReputationProfileAnalysis Resource

new AppSecReputationProfileAnalysis(name: string, args: AppSecReputationProfileAnalysisArgs, opts?: CustomResourceOptions);
@overload
def AppSecReputationProfileAnalysis(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    config_id: Optional[int] = None,
                                    forward_shared_ip_to_http_header_siem: Optional[bool] = None,
                                    forward_to_http_header: Optional[bool] = None,
                                    security_policy_id: Optional[str] = None)
@overload
def AppSecReputationProfileAnalysis(resource_name: str,
                                    args: AppSecReputationProfileAnalysisArgs,
                                    opts: Optional[ResourceOptions] = None)
func NewAppSecReputationProfileAnalysis(ctx *Context, name string, args AppSecReputationProfileAnalysisArgs, opts ...ResourceOption) (*AppSecReputationProfileAnalysis, error)
public AppSecReputationProfileAnalysis(string name, AppSecReputationProfileAnalysisArgs args, CustomResourceOptions? opts = null)
public AppSecReputationProfileAnalysis(String name, AppSecReputationProfileAnalysisArgs args)
public AppSecReputationProfileAnalysis(String name, AppSecReputationProfileAnalysisArgs args, CustomResourceOptions options)
type: akamai:AppSecReputationProfileAnalysis
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppSecReputationProfileAnalysisArgs
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 AppSecReputationProfileAnalysisArgs
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 AppSecReputationProfileAnalysisArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppSecReputationProfileAnalysisArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppSecReputationProfileAnalysisArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AppSecReputationProfileAnalysis Resource Properties

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

Inputs

The AppSecReputationProfileAnalysis resource accepts the following input properties:

ConfigId int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

ForwardSharedIpToHttpHeaderSiem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

ForwardToHttpHeader bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

SecurityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

ConfigId int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

ForwardSharedIpToHttpHeaderSiem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

ForwardToHttpHeader bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

SecurityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId Integer

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem Boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader Boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId String

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId number

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

config_id int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forward_shared_ip_to_http_header_siem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forward_to_http_header bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

security_policy_id str

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId Number

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem Boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader Boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId String

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

Outputs

All input properties are implicitly available as output properties. Additionally, the AppSecReputationProfileAnalysis 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 AppSecReputationProfileAnalysis Resource

Get an existing AppSecReputationProfileAnalysis 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?: AppSecReputationProfileAnalysisState, opts?: CustomResourceOptions): AppSecReputationProfileAnalysis
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config_id: Optional[int] = None,
        forward_shared_ip_to_http_header_siem: Optional[bool] = None,
        forward_to_http_header: Optional[bool] = None,
        security_policy_id: Optional[str] = None) -> AppSecReputationProfileAnalysis
func GetAppSecReputationProfileAnalysis(ctx *Context, name string, id IDInput, state *AppSecReputationProfileAnalysisState, opts ...ResourceOption) (*AppSecReputationProfileAnalysis, error)
public static AppSecReputationProfileAnalysis Get(string name, Input<string> id, AppSecReputationProfileAnalysisState? state, CustomResourceOptions? opts = null)
public static AppSecReputationProfileAnalysis get(String name, Output<String> id, AppSecReputationProfileAnalysisState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
ConfigId int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

ForwardSharedIpToHttpHeaderSiem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

ForwardToHttpHeader bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

SecurityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

ConfigId int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

ForwardSharedIpToHttpHeaderSiem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

ForwardToHttpHeader bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

SecurityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId Integer

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem Boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader Boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId String

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId number

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId string

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

config_id int

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forward_shared_ip_to_http_header_siem bool

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forward_to_http_header bool

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

security_policy_id str

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

configId Number

. Unique identifier of the security configuration associated with the reputation profile analysis settings being modified.

forwardSharedIpToHttpHeaderSiem Boolean

. Set to true to add a value indicating that shared IPs are included in HTTP header and SIEM integration; set to false to omit this value.

forwardToHttpHeader Boolean

. Set to true to add client reputation details to requests forwarded to the origin server in an HTTP header; set to false to leave reputation details out of these requests.

securityPolicyId String

. Unique identifier of the security policy associated with the reputation profile analysis settings being modified.

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes

This Pulumi package is based on the akamai Terraform Provider.