1. Packages
  2. Lacework Provider
  3. API Docs
  4. IntegrationAzureAdAl
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

lacework.IntegrationAzureAdAl

Explore with Pulumi AI

lacework logo
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

    !> Warning: This integration is not yet generally available. Please contact your Lacework account team to request access to the Azure AD feature preview.

    Use this resource to configure an Azure Active Directory Activity Log integration to analyze audit logs for monitoring cloud account security.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as lacework from "@pulumi/lacework";
    
    const accountAbc = new lacework.IntegrationAzureAdAl("accountAbc", {
        credentials: {
            clientId: "1234abcd-abcd-1234-ab12-abcd1234abcd",
            clientSecret: "ABCD1234abcd1234abdc1234ABCD1234abcdefxxx=",
        },
        eventHubName: "your-event-hub-name",
        eventHubNamespace: "your-eventhub-ns.servicebus.windows.net",
        tenantId: "abbc1234-abc1-123a-1234-abcd1234abcd",
    });
    
    import pulumi
    import pulumi_lacework as lacework
    
    account_abc = lacework.IntegrationAzureAdAl("accountAbc",
        credentials={
            "client_id": "1234abcd-abcd-1234-ab12-abcd1234abcd",
            "client_secret": "ABCD1234abcd1234abdc1234ABCD1234abcdefxxx=",
        },
        event_hub_name="your-event-hub-name",
        event_hub_namespace="your-eventhub-ns.servicebus.windows.net",
        tenant_id="abbc1234-abc1-123a-1234-abcd1234abcd")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/lacework/v2/lacework"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lacework.NewIntegrationAzureAdAl(ctx, "accountAbc", &lacework.IntegrationAzureAdAlArgs{
    			Credentials: &lacework.IntegrationAzureAdAlCredentialsArgs{
    				ClientId:     pulumi.String("1234abcd-abcd-1234-ab12-abcd1234abcd"),
    				ClientSecret: pulumi.String("ABCD1234abcd1234abdc1234ABCD1234abcdefxxx="),
    			},
    			EventHubName:      pulumi.String("your-event-hub-name"),
    			EventHubNamespace: pulumi.String("your-eventhub-ns.servicebus.windows.net"),
    			TenantId:          pulumi.String("abbc1234-abc1-123a-1234-abcd1234abcd"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Lacework = Pulumi.Lacework;
    
    return await Deployment.RunAsync(() => 
    {
        var accountAbc = new Lacework.IntegrationAzureAdAl("accountAbc", new()
        {
            Credentials = new Lacework.Inputs.IntegrationAzureAdAlCredentialsArgs
            {
                ClientId = "1234abcd-abcd-1234-ab12-abcd1234abcd",
                ClientSecret = "ABCD1234abcd1234abdc1234ABCD1234abcdefxxx=",
            },
            EventHubName = "your-event-hub-name",
            EventHubNamespace = "your-eventhub-ns.servicebus.windows.net",
            TenantId = "abbc1234-abc1-123a-1234-abcd1234abcd",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.lacework.IntegrationAzureAdAl;
    import com.pulumi.lacework.IntegrationAzureAdAlArgs;
    import com.pulumi.lacework.inputs.IntegrationAzureAdAlCredentialsArgs;
    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 accountAbc = new IntegrationAzureAdAl("accountAbc", IntegrationAzureAdAlArgs.builder()
                .credentials(IntegrationAzureAdAlCredentialsArgs.builder()
                    .clientId("1234abcd-abcd-1234-ab12-abcd1234abcd")
                    .clientSecret("ABCD1234abcd1234abdc1234ABCD1234abcdefxxx=")
                    .build())
                .eventHubName("your-event-hub-name")
                .eventHubNamespace("your-eventhub-ns.servicebus.windows.net")
                .tenantId("abbc1234-abc1-123a-1234-abcd1234abcd")
                .build());
    
        }
    }
    
    resources:
      accountAbc:
        type: lacework:IntegrationAzureAdAl
        properties:
          credentials:
            clientId: 1234abcd-abcd-1234-ab12-abcd1234abcd
            clientSecret: ABCD1234abcd1234abdc1234ABCD1234abcdefxxx=
          eventHubName: your-event-hub-name
          eventHubNamespace: your-eventhub-ns.servicebus.windows.net
          tenantId: abbc1234-abc1-123a-1234-abcd1234abcd
    

    Create IntegrationAzureAdAl Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationAzureAdAl(name: string, args: IntegrationAzureAdAlArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationAzureAdAl(resource_name: str,
                             args: IntegrationAzureAdAlArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationAzureAdAl(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             credentials: Optional[IntegrationAzureAdAlCredentialsArgs] = None,
                             event_hub_name: Optional[str] = None,
                             event_hub_namespace: Optional[str] = None,
                             tenant_id: Optional[str] = None,
                             enabled: Optional[bool] = None,
                             integration_azure_ad_al_id: Optional[str] = None,
                             name: Optional[str] = None,
                             retries: Optional[float] = None)
    func NewIntegrationAzureAdAl(ctx *Context, name string, args IntegrationAzureAdAlArgs, opts ...ResourceOption) (*IntegrationAzureAdAl, error)
    public IntegrationAzureAdAl(string name, IntegrationAzureAdAlArgs args, CustomResourceOptions? opts = null)
    public IntegrationAzureAdAl(String name, IntegrationAzureAdAlArgs args)
    public IntegrationAzureAdAl(String name, IntegrationAzureAdAlArgs args, CustomResourceOptions options)
    
    type: lacework:IntegrationAzureAdAl
    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 IntegrationAzureAdAlArgs
    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 IntegrationAzureAdAlArgs
    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 IntegrationAzureAdAlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAzureAdAlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationAzureAdAlArgs
    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 integrationAzureAdAlResource = new Lacework.IntegrationAzureAdAl("integrationAzureAdAlResource", new()
    {
        Credentials = new Lacework.Inputs.IntegrationAzureAdAlCredentialsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
        },
        EventHubName = "string",
        EventHubNamespace = "string",
        TenantId = "string",
        Enabled = false,
        IntegrationAzureAdAlId = "string",
        Name = "string",
        Retries = 0,
    });
    
    example, err := lacework.NewIntegrationAzureAdAl(ctx, "integrationAzureAdAlResource", &lacework.IntegrationAzureAdAlArgs{
    	Credentials: &lacework.IntegrationAzureAdAlCredentialsArgs{
    		ClientId:     pulumi.String("string"),
    		ClientSecret: pulumi.String("string"),
    	},
    	EventHubName:           pulumi.String("string"),
    	EventHubNamespace:      pulumi.String("string"),
    	TenantId:               pulumi.String("string"),
    	Enabled:                pulumi.Bool(false),
    	IntegrationAzureAdAlId: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Retries:                pulumi.Float64(0),
    })
    
    var integrationAzureAdAlResource = new IntegrationAzureAdAl("integrationAzureAdAlResource", IntegrationAzureAdAlArgs.builder()
        .credentials(IntegrationAzureAdAlCredentialsArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .build())
        .eventHubName("string")
        .eventHubNamespace("string")
        .tenantId("string")
        .enabled(false)
        .integrationAzureAdAlId("string")
        .name("string")
        .retries(0)
        .build());
    
    integration_azure_ad_al_resource = lacework.IntegrationAzureAdAl("integrationAzureAdAlResource",
        credentials={
            "client_id": "string",
            "client_secret": "string",
        },
        event_hub_name="string",
        event_hub_namespace="string",
        tenant_id="string",
        enabled=False,
        integration_azure_ad_al_id="string",
        name="string",
        retries=0)
    
    const integrationAzureAdAlResource = new lacework.IntegrationAzureAdAl("integrationAzureAdAlResource", {
        credentials: {
            clientId: "string",
            clientSecret: "string",
        },
        eventHubName: "string",
        eventHubNamespace: "string",
        tenantId: "string",
        enabled: false,
        integrationAzureAdAlId: "string",
        name: "string",
        retries: 0,
    });
    
    type: lacework:IntegrationAzureAdAl
    properties:
        credentials:
            clientId: string
            clientSecret: string
        enabled: false
        eventHubName: string
        eventHubNamespace: string
        integrationAzureAdAlId: string
        name: string
        retries: 0
        tenantId: string
    

    IntegrationAzureAdAl 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 IntegrationAzureAdAl resource accepts the following input properties:

    Credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    EventHubName string
    The EventHub Name.
    EventHubNamespace string
    The EventHub Namespace.
    TenantId string
    The directory tenant ID.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAzureAdAlId string
    Name string
    The Azure Active Directory Activity Log integration name.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    Credentials IntegrationAzureAdAlCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    EventHubName string
    The EventHub Name.
    EventHubNamespace string
    The EventHub Namespace.
    TenantId string
    The directory tenant ID.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAzureAdAlId string
    Name string
    The Azure Active Directory Activity Log integration name.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    eventHubName String
    The EventHub Name.
    eventHubNamespace String
    The EventHub Namespace.
    tenantId String
    The directory tenant ID.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationAzureAdAlId String
    name String
    The Azure Active Directory Activity Log integration name.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    eventHubName string
    The EventHub Name.
    eventHubNamespace string
    The EventHub Namespace.
    tenantId string
    The directory tenant ID.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationAzureAdAlId string
    name string
    The Azure Active Directory Activity Log integration name.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationAzureAdAlCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    event_hub_name str
    The EventHub Name.
    event_hub_namespace str
    The EventHub Namespace.
    tenant_id str
    The directory tenant ID.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_azure_ad_al_id str
    name str
    The Azure Active Directory Activity Log integration name.
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    credentials Property Map
    The credentials needed by the integration. See Credentials below for details.
    eventHubName String
    The EventHub Name.
    eventHubNamespace String
    The EventHub Namespace.
    tenantId String
    The directory tenant ID.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationAzureAdAlId String
    name String
    The Azure Active Directory Activity Log integration name.
    retries Number
    The number of attempts to create the external integration. Defaults to 5.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationAzureAdAl resource produces the following output properties:

    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    OrgLevel bool
    TypeName string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    OrgLevel bool
    TypeName string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    typeName String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    id string
    The provider-assigned unique ID for this managed resource.
    intgGuid string
    orgLevel boolean
    typeName string
    created_or_updated_by str
    created_or_updated_time str
    id str
    The provider-assigned unique ID for this managed resource.
    intg_guid str
    org_level bool
    type_name str
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    typeName String

    Look up Existing IntegrationAzureAdAl Resource

    Get an existing IntegrationAzureAdAl 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?: IntegrationAzureAdAlState, opts?: CustomResourceOptions): IntegrationAzureAdAl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_or_updated_by: Optional[str] = None,
            created_or_updated_time: Optional[str] = None,
            credentials: Optional[IntegrationAzureAdAlCredentialsArgs] = None,
            enabled: Optional[bool] = None,
            event_hub_name: Optional[str] = None,
            event_hub_namespace: Optional[str] = None,
            integration_azure_ad_al_id: Optional[str] = None,
            intg_guid: Optional[str] = None,
            name: Optional[str] = None,
            org_level: Optional[bool] = None,
            retries: Optional[float] = None,
            tenant_id: Optional[str] = None,
            type_name: Optional[str] = None) -> IntegrationAzureAdAl
    func GetIntegrationAzureAdAl(ctx *Context, name string, id IDInput, state *IntegrationAzureAdAlState, opts ...ResourceOption) (*IntegrationAzureAdAl, error)
    public static IntegrationAzureAdAl Get(string name, Input<string> id, IntegrationAzureAdAlState? state, CustomResourceOptions? opts = null)
    public static IntegrationAzureAdAl get(String name, Output<String> id, IntegrationAzureAdAlState state, CustomResourceOptions options)
    resources:  _:    type: lacework:IntegrationAzureAdAl    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.
    The following state arguments are supported:
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    EventHubName string
    The EventHub Name.
    EventHubNamespace string
    The EventHub Namespace.
    IntegrationAzureAdAlId string
    IntgGuid string
    Name string
    The Azure Active Directory Activity Log integration name.
    OrgLevel bool
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    TenantId string
    The directory tenant ID.
    TypeName string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationAzureAdAlCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    EventHubName string
    The EventHub Name.
    EventHubNamespace string
    The EventHub Namespace.
    IntegrationAzureAdAlId string
    IntgGuid string
    Name string
    The Azure Active Directory Activity Log integration name.
    OrgLevel bool
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    TenantId string
    The directory tenant ID.
    TypeName string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    eventHubName String
    The EventHub Name.
    eventHubNamespace String
    The EventHub Namespace.
    integrationAzureAdAlId String
    intgGuid String
    name String
    The Azure Active Directory Activity Log integration name.
    orgLevel Boolean
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    tenantId String
    The directory tenant ID.
    typeName String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    credentials IntegrationAzureAdAlCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    eventHubName string
    The EventHub Name.
    eventHubNamespace string
    The EventHub Namespace.
    integrationAzureAdAlId string
    intgGuid string
    name string
    The Azure Active Directory Activity Log integration name.
    orgLevel boolean
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    tenantId string
    The directory tenant ID.
    typeName string
    created_or_updated_by str
    created_or_updated_time str
    credentials IntegrationAzureAdAlCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    event_hub_name str
    The EventHub Name.
    event_hub_namespace str
    The EventHub Namespace.
    integration_azure_ad_al_id str
    intg_guid str
    name str
    The Azure Active Directory Activity Log integration name.
    org_level bool
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    tenant_id str
    The directory tenant ID.
    type_name str
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials Property Map
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    eventHubName String
    The EventHub Name.
    eventHubNamespace String
    The EventHub Namespace.
    integrationAzureAdAlId String
    intgGuid String
    name String
    The Azure Active Directory Activity Log integration name.
    orgLevel Boolean
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    tenantId String
    The directory tenant ID.
    typeName String

    Supporting Types

    IntegrationAzureAdAlCredentials, IntegrationAzureAdAlCredentialsArgs

    ClientId string
    The application client ID.
    ClientSecret string
    The client secret.
    ClientId string
    The application client ID.
    ClientSecret string
    The client secret.
    clientId String
    The application client ID.
    clientSecret String
    The client secret.
    clientId string
    The application client ID.
    clientSecret string
    The client secret.
    client_id str
    The application client ID.
    client_secret str
    The client secret.
    clientId String
    The application client ID.
    clientSecret String
    The client secret.

    Import

    A Lacework Azure Active Directory Activity Log integration can be imported using a INT_GUID, e.g.

    $ pulumi import lacework:index/integrationAzureAdAl:IntegrationAzureAdAl account_abc EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
    

    -> Note: To retrieve the INT_GUID from existing integrations in your account, use the Lacework CLI command lacework cloud-account list. To install this tool follow this documentation.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    lacework lacework/terraform-provider-lacework
    License
    Notes
    This Pulumi package is based on the lacework Terraform Provider.
    lacework logo
    lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework