getAppSecSiemSettings

Scopes: Security configuration

Returns the SIEM (Security Event and Information Management) settings for a security configuration. The returned information is described in the SIEM members section of the Application Security API.

Related API Endpoint: /appsec/v1/configs/{configId}/versions/{versionNumber}/siem

Output Options

The following options can be used to determine the information returned, and how that returned information is formatted:

  • json. JSON-formatted list of the SIEM setting information.
  • output_text. Tabular report showing the SIEM setting information.

Example Usage

using Pulumi;
using Akamai = Pulumi.Akamai;

class MyStack : Stack
{
    public MyStack()
    {
        var configuration = Output.Create(Akamai.GetAppSecConfiguration.InvokeAsync(new Akamai.GetAppSecConfigurationArgs
        {
            Name = "Documentation",
        }));
        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 := "Documentation"
		configuration, err := akamai.LookupAppSecConfiguration(ctx, &GetAppSecConfigurationArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		siemSettings, err := akamai.LookupAppSecSiemSettings(ctx, &GetAppSecSiemSettingsArgs{
			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="Documentation")
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: "Documentation",
});
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

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAppSecSiemSettings(args: GetAppSecSiemSettingsArgs, opts?: InvokeOptions): Promise<GetAppSecSiemSettingsResult>
function getAppSecSiemSettingsOutput(args: GetAppSecSiemSettingsOutputArgs, opts?: InvokeOptions): Output<GetAppSecSiemSettingsResult>
def get_app_sec_siem_settings(config_id: Optional[int] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAppSecSiemSettingsResult
def get_app_sec_siem_settings_output(config_id: Optional[pulumi.Input[int]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAppSecSiemSettingsResult]
func LookupAppSecSiemSettings(ctx *Context, args *LookupAppSecSiemSettingsArgs, opts ...InvokeOption) (*LookupAppSecSiemSettingsResult, error)
func LookupAppSecSiemSettingsOutput(ctx *Context, args *LookupAppSecSiemSettingsOutputArgs, opts ...InvokeOption) LookupAppSecSiemSettingsResultOutput

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

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

The following arguments are supported:

ConfigId int
. Unique identifier of the security configuration you want to return information for.
ConfigId int
. Unique identifier of the security configuration you want to return information for.
configId number
. Unique identifier of the security configuration you want to return information for.
config_id int
. Unique identifier of the security configuration you want to return information for.

getAppSecSiemSettings Result

The following output properties are available:

ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
OutputText string
ConfigId int
Id string
The provider-assigned unique ID for this managed resource.
Json string
OutputText string
configId number
id string
The provider-assigned unique ID for this managed resource.
json string
outputText string
config_id int
id str
The provider-assigned unique ID for this managed resource.
json str
output_text str

Package Details

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