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

lacework.IntegrationGcpPubSubAuditLog

Explore with Pulumi AI

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

    Use this resource to configure an GCP Pub Sub Audit Log integration to analyze GCP Pub Sub audit logs.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as lacework from "@pulumi/lacework";
    
    const accountAbc = new lacework.IntegrationGcpPubSubAuditLog("accountAbc", {
        credentials: {
            clientEmail: "gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com",
            clientId: "123456789012345678900",
            privateKey: `-----BEGIN PRIVATE KEY-----
     ... -----END PRIVATE KEY-----
    
    `,
            privateKeyId: "1234abcd1234abcd1234abcd1234abcd1234abcd",
        },
        integrationType: "PROJECT",
        projectId: "ABC-project-id",
        subscriptionId: "projects/ABC-project-id/subscriptions/example-subscription",
        topicId: "projects/ABC-project-id/topics/example-topic",
    });
    
    import pulumi
    import pulumi_lacework as lacework
    
    account_abc = lacework.IntegrationGcpPubSubAuditLog("accountAbc",
        credentials={
            "client_email": "gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com",
            "client_id": "123456789012345678900",
            "private_key": """-----BEGIN PRIVATE KEY-----
     ... -----END PRIVATE KEY-----
    
    """,
            "private_key_id": "1234abcd1234abcd1234abcd1234abcd1234abcd",
        },
        integration_type="PROJECT",
        project_id="ABC-project-id",
        subscription_id="projects/ABC-project-id/subscriptions/example-subscription",
        topic_id="projects/ABC-project-id/topics/example-topic")
    
    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.NewIntegrationGcpPubSubAuditLog(ctx, "accountAbc", &lacework.IntegrationGcpPubSubAuditLogArgs{
    			Credentials: &lacework.IntegrationGcpPubSubAuditLogCredentialsArgs{
    				ClientEmail:  pulumi.String("gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com"),
    				ClientId:     pulumi.String("123456789012345678900"),
    				PrivateKey:   pulumi.String("-----BEGIN PRIVATE KEY-----\n ... -----END PRIVATE KEY-----\n\n"),
    				PrivateKeyId: pulumi.String("1234abcd1234abcd1234abcd1234abcd1234abcd"),
    			},
    			IntegrationType: pulumi.String("PROJECT"),
    			ProjectId:       pulumi.String("ABC-project-id"),
    			SubscriptionId:  pulumi.String("projects/ABC-project-id/subscriptions/example-subscription"),
    			TopicId:         pulumi.String("projects/ABC-project-id/topics/example-topic"),
    		})
    		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.IntegrationGcpPubSubAuditLog("accountAbc", new()
        {
            Credentials = new Lacework.Inputs.IntegrationGcpPubSubAuditLogCredentialsArgs
            {
                ClientEmail = "gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com",
                ClientId = "123456789012345678900",
                PrivateKey = @"-----BEGIN PRIVATE KEY-----
     ... -----END PRIVATE KEY-----
    
    ",
                PrivateKeyId = "1234abcd1234abcd1234abcd1234abcd1234abcd",
            },
            IntegrationType = "PROJECT",
            ProjectId = "ABC-project-id",
            SubscriptionId = "projects/ABC-project-id/subscriptions/example-subscription",
            TopicId = "projects/ABC-project-id/topics/example-topic",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.lacework.IntegrationGcpPubSubAuditLog;
    import com.pulumi.lacework.IntegrationGcpPubSubAuditLogArgs;
    import com.pulumi.lacework.inputs.IntegrationGcpPubSubAuditLogCredentialsArgs;
    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 IntegrationGcpPubSubAuditLog("accountAbc", IntegrationGcpPubSubAuditLogArgs.builder()
                .credentials(IntegrationGcpPubSubAuditLogCredentialsArgs.builder()
                    .clientEmail("gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com")
                    .clientId("123456789012345678900")
                    .privateKey("""
    -----BEGIN PRIVATE KEY-----
     ... -----END PRIVATE KEY-----
    
                    """)
                    .privateKeyId("1234abcd1234abcd1234abcd1234abcd1234abcd")
                    .build())
                .integrationType("PROJECT")
                .projectId("ABC-project-id")
                .subscriptionId("projects/ABC-project-id/subscriptions/example-subscription")
                .topicId("projects/ABC-project-id/topics/example-topic")
                .build());
    
        }
    }
    
    resources:
      accountAbc:
        type: lacework:IntegrationGcpPubSubAuditLog
        properties:
          credentials:
            clientEmail: gcp-al-pub-sub-test@techally-test.iam.gserviceaccount.com
            clientId: '123456789012345678900'
            privateKey: |+
              -----BEGIN PRIVATE KEY-----
               ... -----END PRIVATE KEY-----          
    
            privateKeyId: 1234abcd1234abcd1234abcd1234abcd1234abcd
          integrationType: PROJECT
          projectId: ABC-project-id
          subscriptionId: projects/ABC-project-id/subscriptions/example-subscription
          topicId: projects/ABC-project-id/topics/example-topic
    

    Create IntegrationGcpPubSubAuditLog Resource

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

    Constructor syntax

    new IntegrationGcpPubSubAuditLog(name: string, args: IntegrationGcpPubSubAuditLogArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationGcpPubSubAuditLog(resource_name: str,
                                     args: IntegrationGcpPubSubAuditLogArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationGcpPubSubAuditLog(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     credentials: Optional[IntegrationGcpPubSubAuditLogCredentialsArgs] = None,
                                     integration_type: Optional[str] = None,
                                     project_id: Optional[str] = None,
                                     subscription_id: Optional[str] = None,
                                     topic_id: Optional[str] = None,
                                     enabled: Optional[bool] = None,
                                     integration_gcp_pub_sub_audit_log_id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     organization_id: Optional[str] = None,
                                     retries: Optional[float] = None)
    func NewIntegrationGcpPubSubAuditLog(ctx *Context, name string, args IntegrationGcpPubSubAuditLogArgs, opts ...ResourceOption) (*IntegrationGcpPubSubAuditLog, error)
    public IntegrationGcpPubSubAuditLog(string name, IntegrationGcpPubSubAuditLogArgs args, CustomResourceOptions? opts = null)
    public IntegrationGcpPubSubAuditLog(String name, IntegrationGcpPubSubAuditLogArgs args)
    public IntegrationGcpPubSubAuditLog(String name, IntegrationGcpPubSubAuditLogArgs args, CustomResourceOptions options)
    
    type: lacework:IntegrationGcpPubSubAuditLog
    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 IntegrationGcpPubSubAuditLogArgs
    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 IntegrationGcpPubSubAuditLogArgs
    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 IntegrationGcpPubSubAuditLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationGcpPubSubAuditLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationGcpPubSubAuditLogArgs
    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 integrationGcpPubSubAuditLogResource = new Lacework.IntegrationGcpPubSubAuditLog("integrationGcpPubSubAuditLogResource", new()
    {
        Credentials = new Lacework.Inputs.IntegrationGcpPubSubAuditLogCredentialsArgs
        {
            ClientEmail = "string",
            ClientId = "string",
            PrivateKey = "string",
            PrivateKeyId = "string",
        },
        IntegrationType = "string",
        ProjectId = "string",
        SubscriptionId = "string",
        TopicId = "string",
        Enabled = false,
        IntegrationGcpPubSubAuditLogId = "string",
        Name = "string",
        OrganizationId = "string",
        Retries = 0,
    });
    
    example, err := lacework.NewIntegrationGcpPubSubAuditLog(ctx, "integrationGcpPubSubAuditLogResource", &lacework.IntegrationGcpPubSubAuditLogArgs{
    	Credentials: &lacework.IntegrationGcpPubSubAuditLogCredentialsArgs{
    		ClientEmail:  pulumi.String("string"),
    		ClientId:     pulumi.String("string"),
    		PrivateKey:   pulumi.String("string"),
    		PrivateKeyId: pulumi.String("string"),
    	},
    	IntegrationType:                pulumi.String("string"),
    	ProjectId:                      pulumi.String("string"),
    	SubscriptionId:                 pulumi.String("string"),
    	TopicId:                        pulumi.String("string"),
    	Enabled:                        pulumi.Bool(false),
    	IntegrationGcpPubSubAuditLogId: pulumi.String("string"),
    	Name:                           pulumi.String("string"),
    	OrganizationId:                 pulumi.String("string"),
    	Retries:                        pulumi.Float64(0),
    })
    
    var integrationGcpPubSubAuditLogResource = new IntegrationGcpPubSubAuditLog("integrationGcpPubSubAuditLogResource", IntegrationGcpPubSubAuditLogArgs.builder()
        .credentials(IntegrationGcpPubSubAuditLogCredentialsArgs.builder()
            .clientEmail("string")
            .clientId("string")
            .privateKey("string")
            .privateKeyId("string")
            .build())
        .integrationType("string")
        .projectId("string")
        .subscriptionId("string")
        .topicId("string")
        .enabled(false)
        .integrationGcpPubSubAuditLogId("string")
        .name("string")
        .organizationId("string")
        .retries(0)
        .build());
    
    integration_gcp_pub_sub_audit_log_resource = lacework.IntegrationGcpPubSubAuditLog("integrationGcpPubSubAuditLogResource",
        credentials={
            "client_email": "string",
            "client_id": "string",
            "private_key": "string",
            "private_key_id": "string",
        },
        integration_type="string",
        project_id="string",
        subscription_id="string",
        topic_id="string",
        enabled=False,
        integration_gcp_pub_sub_audit_log_id="string",
        name="string",
        organization_id="string",
        retries=0)
    
    const integrationGcpPubSubAuditLogResource = new lacework.IntegrationGcpPubSubAuditLog("integrationGcpPubSubAuditLogResource", {
        credentials: {
            clientEmail: "string",
            clientId: "string",
            privateKey: "string",
            privateKeyId: "string",
        },
        integrationType: "string",
        projectId: "string",
        subscriptionId: "string",
        topicId: "string",
        enabled: false,
        integrationGcpPubSubAuditLogId: "string",
        name: "string",
        organizationId: "string",
        retries: 0,
    });
    
    type: lacework:IntegrationGcpPubSubAuditLog
    properties:
        credentials:
            clientEmail: string
            clientId: string
            privateKey: string
            privateKeyId: string
        enabled: false
        integrationGcpPubSubAuditLogId: string
        integrationType: string
        name: string
        organizationId: string
        projectId: string
        retries: 0
        subscriptionId: string
        topicId: string
    

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

    Credentials IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    IntegrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    ProjectId string
    The project ID.
    SubscriptionId string
    The PubSub Subscription.
    TopicId string
    The PubSub Topic.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpPubSubAuditLogId string
    Name string
    The GCP Audit Trail integration name.
    OrganizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    Credentials IntegrationGcpPubSubAuditLogCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    IntegrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    ProjectId string
    The project ID.
    SubscriptionId string
    The PubSub Subscription.
    TopicId string
    The PubSub Topic.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpPubSubAuditLogId string
    Name string
    The GCP Audit Trail integration name.
    OrganizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    integrationType String
    The integration type. Must be one of PROJECT or ORGANIZATION.
    projectId String
    The project ID.
    subscriptionId String
    The PubSub Subscription.
    topicId String
    The PubSub Topic.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpPubSubAuditLogId String
    name String
    The GCP Audit Trail integration name.
    organizationId String
    The organization ID. Required if integration_type is set to ORGANIZATION.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    integrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    projectId string
    The project ID.
    subscriptionId string
    The PubSub Subscription.
    topicId string
    The PubSub Topic.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationGcpPubSubAuditLogId string
    name string
    The GCP Audit Trail integration name.
    organizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpPubSubAuditLogCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    integration_type str
    The integration type. Must be one of PROJECT or ORGANIZATION.
    project_id str
    The project ID.
    subscription_id str
    The PubSub Subscription.
    topic_id str
    The PubSub Topic.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_gcp_pub_sub_audit_log_id str
    name str
    The GCP Audit Trail integration name.
    organization_id str
    The organization ID. Required if integration_type is set to ORGANIZATION.
    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.
    integrationType String
    The integration type. Must be one of PROJECT or ORGANIZATION.
    projectId String
    The project ID.
    subscriptionId String
    The PubSub Subscription.
    topicId String
    The PubSub Topic.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpPubSubAuditLogId String
    name String
    The GCP Audit Trail integration name.
    organizationId String
    The organization ID. Required if integration_type is set to ORGANIZATION.
    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 IntegrationGcpPubSubAuditLog resource produces the following output properties:

    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    IsOrg bool
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    IsOrg bool
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    isOrg Boolean
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    id string
    The provider-assigned unique ID for this managed resource.
    intgGuid string
    isOrg boolean
    created_or_updated_by str
    created_or_updated_time str
    id str
    The provider-assigned unique ID for this managed resource.
    intg_guid str
    is_org bool
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    isOrg Boolean

    Look up Existing IntegrationGcpPubSubAuditLog Resource

    Get an existing IntegrationGcpPubSubAuditLog 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?: IntegrationGcpPubSubAuditLogState, opts?: CustomResourceOptions): IntegrationGcpPubSubAuditLog
    @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[IntegrationGcpPubSubAuditLogCredentialsArgs] = None,
            enabled: Optional[bool] = None,
            integration_gcp_pub_sub_audit_log_id: Optional[str] = None,
            integration_type: Optional[str] = None,
            intg_guid: Optional[str] = None,
            is_org: Optional[bool] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            project_id: Optional[str] = None,
            retries: Optional[float] = None,
            subscription_id: Optional[str] = None,
            topic_id: Optional[str] = None) -> IntegrationGcpPubSubAuditLog
    func GetIntegrationGcpPubSubAuditLog(ctx *Context, name string, id IDInput, state *IntegrationGcpPubSubAuditLogState, opts ...ResourceOption) (*IntegrationGcpPubSubAuditLog, error)
    public static IntegrationGcpPubSubAuditLog Get(string name, Input<string> id, IntegrationGcpPubSubAuditLogState? state, CustomResourceOptions? opts = null)
    public static IntegrationGcpPubSubAuditLog get(String name, Output<String> id, IntegrationGcpPubSubAuditLogState state, CustomResourceOptions options)
    resources:  _:    type: lacework:IntegrationGcpPubSubAuditLog    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 IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpPubSubAuditLogId string
    IntegrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    IntgGuid string
    IsOrg bool
    Name string
    The GCP Audit Trail integration name.
    OrganizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    ProjectId string
    The project ID.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    SubscriptionId string
    The PubSub Subscription.
    TopicId string
    The PubSub Topic.
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationGcpPubSubAuditLogCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpPubSubAuditLogId string
    IntegrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    IntgGuid string
    IsOrg bool
    Name string
    The GCP Audit Trail integration name.
    OrganizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    ProjectId string
    The project ID.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    SubscriptionId string
    The PubSub Subscription.
    TopicId string
    The PubSub Topic.
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpPubSubAuditLogId String
    integrationType String
    The integration type. Must be one of PROJECT or ORGANIZATION.
    intgGuid String
    isOrg Boolean
    name String
    The GCP Audit Trail integration name.
    organizationId String
    The organization ID. Required if integration_type is set to ORGANIZATION.
    projectId String
    The project ID.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    subscriptionId String
    The PubSub Subscription.
    topicId String
    The PubSub Topic.
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    credentials IntegrationGcpPubSubAuditLogCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationGcpPubSubAuditLogId string
    integrationType string
    The integration type. Must be one of PROJECT or ORGANIZATION.
    intgGuid string
    isOrg boolean
    name string
    The GCP Audit Trail integration name.
    organizationId string
    The organization ID. Required if integration_type is set to ORGANIZATION.
    projectId string
    The project ID.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    subscriptionId string
    The PubSub Subscription.
    topicId string
    The PubSub Topic.
    created_or_updated_by str
    created_or_updated_time str
    credentials IntegrationGcpPubSubAuditLogCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_gcp_pub_sub_audit_log_id str
    integration_type str
    The integration type. Must be one of PROJECT or ORGANIZATION.
    intg_guid str
    is_org bool
    name str
    The GCP Audit Trail integration name.
    organization_id str
    The organization ID. Required if integration_type is set to ORGANIZATION.
    project_id str
    The project ID.
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    subscription_id str
    The PubSub Subscription.
    topic_id str
    The PubSub Topic.
    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.
    integrationGcpPubSubAuditLogId String
    integrationType String
    The integration type. Must be one of PROJECT or ORGANIZATION.
    intgGuid String
    isOrg Boolean
    name String
    The GCP Audit Trail integration name.
    organizationId String
    The organization ID. Required if integration_type is set to ORGANIZATION.
    projectId String
    The project ID.
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    subscriptionId String
    The PubSub Subscription.
    topicId String
    The PubSub Topic.

    Supporting Types

    IntegrationGcpPubSubAuditLogCredentials, IntegrationGcpPubSubAuditLogCredentialsArgs

    ClientEmail string
    The service account client email.
    ClientId string
    The service account client ID.
    PrivateKey string
    The service account private key.
    PrivateKeyId string
    The service account private key ID.
    ClientEmail string
    The service account client email.
    ClientId string
    The service account client ID.
    PrivateKey string
    The service account private key.
    PrivateKeyId string
    The service account private key ID.
    clientEmail String
    The service account client email.
    clientId String
    The service account client ID.
    privateKey String
    The service account private key.
    privateKeyId String
    The service account private key ID.
    clientEmail string
    The service account client email.
    clientId string
    The service account client ID.
    privateKey string
    The service account private key.
    privateKeyId string
    The service account private key ID.
    client_email str
    The service account client email.
    client_id str
    The service account client ID.
    private_key str
    The service account private key.
    private_key_id str
    The service account private key ID.
    clientEmail String
    The service account client email.
    clientId String
    The service account client ID.
    privateKey String
    The service account private key.
    privateKeyId String
    The service account private key ID.

    Import

    A Lacework GCP Pub Sub Audit Log integration can be imported using a INT_GUID, e.g.

    $ pulumi import lacework:index/integrationGcpPubSubAuditLog:IntegrationGcpPubSubAuditLog 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