getAppSecSiemSettings

Use the akamai.AppSecSiemSettings data source to retrieve the SIEM settings for a specific configuration. The information available is described here.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs
        {
            Name = @var.Security_configuration,
        }));
        var siemSettings = configuration.Apply(configuration => Output.Create(Akamai.GetAppSecSiemSettings.InvokeAsync(new Akamai.GetAppSecSiemSettingsArgs
        {
            ConfigId = configuration.ConfigId,
        })));
        this.SiemSettingsJson = siemSettings.Apply(siemSettings => siemSettings.Json);
        this.SiemSettingsOutput = siemSettings.Apply(siemSettings => siemSettings.OutputText);
    }

    [Output("siemSettingsJson")]
    public Output<string> SiemSettingsJson { get; set; }
    [Output("siemSettingsOutput")]
    public Output<string> SiemSettingsOutput { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-akamai/sdk/v2/go/akamai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := _var.Security_configuration
		configuration, err := akamai.LookupAppSecConfiguration(ctx, &akamai.LookupAppSecConfigurationArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		siemSettings, err := akamai.LookupAppSecSiemSettings(ctx, &akamai.LookupAppSecSiemSettingsArgs{
			ConfigId: configuration.ConfigId,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("siemSettingsJson", siemSettings.Json)
		ctx.Export("siemSettingsOutput", siemSettings.OutputText)
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

configuration = akamai.get_app_sec_configuration(name=var["security_configuration"])
siem_settings = akamai.get_app_sec_siem_settings(config_id=configuration.config_id)
pulumi.export("siemSettingsJson", siem_settings.json)
pulumi.export("siemSettingsOutput", siem_settings.output_text)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const configuration = akamai.getAppSecConfiguration({
    name: _var.security_configuration,
});
const siemSettings = configuration.then(configuration => akamai.getAppSecSiemSettings({
    configId: configuration.configId,
}));
export const siemSettingsJson = siemSettings.then(siemSettings => siemSettings.json);
export const siemSettingsOutput = siemSettings.then(siemSettings => siemSettings.outputText);

Using getAppSecSiemSettings

function getAppSecSiemSettings(args: GetAppSecSiemSettingsArgs, opts?: InvokeOptions): Promise<GetAppSecSiemSettingsResult>
def get_app_sec_siem_settings(config_id: Optional[int] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAppSecSiemSettingsResult
func LookupAppSecSiemSettings(ctx *Context, args *LookupAppSecSiemSettingsArgs, opts ...InvokeOption) (*LookupAppSecSiemSettingsResult, error)

Note: This function is named LookupAppSecSiemSettings in the Go SDK.

public static class GetAppSecSiemSettings {
    public static Task<GetAppSecSiemSettingsResult> InvokeAsync(GetAppSecSiemSettingsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ConfigId int
The ID of the security configuration to use.
ConfigId int
The ID of the security configuration to use.
configId number
The ID of the security configuration to use.
config_id int
The ID of the security configuration to use.

getAppSecSiemSettings Result

The following output properties are available:

ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the SIEM setting information.
OutputText string
A tabular display showing the SIEM setting information.
ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the SIEM setting information.
OutputText string
A tabular display showing the SIEM setting information.
configId number
id string
The provider-assigned unique ID for this managed resource.
json string
A JSON-formatted list of the SIEM setting information.
outputText string
A tabular display showing the SIEM setting information.
config_id int
id str
The provider-assigned unique ID for this managed resource.
json str
A JSON-formatted list of the SIEM setting information.
output_text str
A tabular display showing the SIEM setting information.

Package Details

Repository
https://github.com/pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.