getAppSecSiemDefinitions

Use the akamai.getAppSecSiemDefinitions data source to retrieve information about the available SIEM versions, or about a specific SIEM version. 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 siemDefinitions = Output.Create(Akamai.GetAppSecSiemDefinitions.InvokeAsync());
        this.SiemDefinitionsJson = siemDefinitions.Apply(siemDefinitions => siemDefinitions.Json);
        this.SiemDefinitionsOutput = siemDefinitions.Apply(siemDefinitions => siemDefinitions.OutputText);
        var siemDefinition = Output.Create(Akamai.GetAppSecSiemDefinitions.InvokeAsync(new Akamai.GetAppSecSiemDefinitionsArgs
        {
            SiemDefinitionName = @var.Siem_definition_name,
        }));
        this.SiemDefinitionId = siemDefinition.Apply(siemDefinition => siemDefinition.Id);
    }

    [Output("siemDefinitionsJson")]
    public Output<string> SiemDefinitionsJson { get; set; }
    [Output("siemDefinitionsOutput")]
    public Output<string> SiemDefinitionsOutput { get; set; }
    [Output("siemDefinitionId")]
    public Output<string> SiemDefinitionId { 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
		_, err := akamai.LookupAppSecConfiguration(ctx, &GetAppSecConfigurationArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		siemDefinitions, err := akamai.GetAppSecSiemDefinitions(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("siemDefinitionsJson", siemDefinitions.Json)
		ctx.Export("siemDefinitionsOutput", siemDefinitions.OutputText)
		opt1 := _var.Siem_definition_name
		siemDefinition, err := akamai.GetAppSecSiemDefinitions(ctx, &GetAppSecSiemDefinitionsArgs{
			SiemDefinitionName: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("siemDefinitionId", siemDefinition.Id)
		return nil
	})
}
import pulumi
import pulumi_akamai as akamai

configuration = akamai.get_app_sec_configuration(name=var["security_configuration"])
siem_definitions = akamai.get_app_sec_siem_definitions()
pulumi.export("siemDefinitionsJson", siem_definitions.json)
pulumi.export("siemDefinitionsOutput", siem_definitions.output_text)
siem_definition = akamai.get_app_sec_siem_definitions(siem_definition_name=var["siem_definition_name"])
pulumi.export("siemDefinitionId", siem_definition.id)
import * as pulumi from "@pulumi/pulumi";
import * as akamai from "@pulumi/akamai";

const configuration = akamai.getAppSecConfiguration({
    name: _var.security_configuration,
});
const siemDefinitions = akamai.getAppSecSiemDefinitions({});
export const siemDefinitionsJson = siemDefinitions.then(siemDefinitions => siemDefinitions.json);
export const siemDefinitionsOutput = siemDefinitions.then(siemDefinitions => siemDefinitions.outputText);
const siemDefinition = akamai.getAppSecSiemDefinitions({
    siemDefinitionName: _var.siem_definition_name,
});
export const siemDefinitionId = siemDefinition.then(siemDefinition => siemDefinition.id);

Using getAppSecSiemDefinitions

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 getAppSecSiemDefinitions(args: GetAppSecSiemDefinitionsArgs, opts?: InvokeOptions): Promise<GetAppSecSiemDefinitionsResult>
function getAppSecSiemDefinitionsOutput(args: GetAppSecSiemDefinitionsOutputArgs, opts?: InvokeOptions): Output<GetAppSecSiemDefinitionsResult>
def get_app_sec_siem_definitions(siem_definition_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAppSecSiemDefinitionsResult
def get_app_sec_siem_definitions_output(siem_definition_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAppSecSiemDefinitionsResult]
func GetAppSecSiemDefinitions(ctx *Context, args *GetAppSecSiemDefinitionsArgs, opts ...InvokeOption) (*GetAppSecSiemDefinitionsResult, error)
func GetAppSecSiemDefinitionsOutput(ctx *Context, args *GetAppSecSiemDefinitionsOutputArgs, opts ...InvokeOption) GetAppSecSiemDefinitionsResultOutput

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

public static class GetAppSecSiemDefinitions 
{
    public static Task<GetAppSecSiemDefinitionsResult> InvokeAsync(GetAppSecSiemDefinitionsArgs args, InvokeOptions? opts = null)
    public static Output<GetAppSecSiemDefinitionsResult> Invoke(GetAppSecSiemDefinitionsInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

SiemDefinitionName string
The name of a specific SIEM definition for which to retrieve information.
SiemDefinitionName string
The name of a specific SIEM definition for which to retrieve information.
siemDefinitionName string
The name of a specific SIEM definition for which to retrieve information.
siem_definition_name str
The name of a specific SIEM definition for which to retrieve information.

getAppSecSiemDefinitions Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the SIEM version information.
OutputText string
A tabular display showing the ID and name of each SIEM version.
SiemDefinitionName string
Id string
The provider-assigned unique ID for this managed resource.
Json string
A JSON-formatted list of the SIEM version information.
OutputText string
A tabular display showing the ID and name of each SIEM version.
SiemDefinitionName string
id string
The provider-assigned unique ID for this managed resource.
json string
A JSON-formatted list of the SIEM version information.
outputText string
A tabular display showing the ID and name of each SIEM version.
siemDefinitionName string
id str
The provider-assigned unique ID for this managed resource.
json str
A JSON-formatted list of the SIEM version information.
output_text str
A tabular display showing the ID and name of each SIEM version.
siem_definition_name 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.