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

lacework.IntegrationGcpAgentlessScanning

Explore with Pulumi AI

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

    Use this resource to configure a GCP Agentless Scanning integration.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      accountAbc:
        type: lacework:IntegrationGcpAgentlessScanning
        properties:
          credentials:
            clientEmail: email@abc-project-name.iam.gserviceaccount.com
            clientId: '123456789012345678900'
            privateKey: |+
              -----BEGIN PRIVATE KEY-----
               ... -----END PRIVATE KEY-----          
    
            privateKeyId: 1234abcd1234abcd1234abcd1234abcd1234abcd
          resourceId: to-scan-gcp-project-id
          resourceLevel: PROJECT
          scanningProjectId: lacework scanner project id
          storageBucket: gcp storage bucket hosting shared results
    

    Create IntegrationGcpAgentlessScanning Resource

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

    Constructor syntax

    new IntegrationGcpAgentlessScanning(name: string, args: IntegrationGcpAgentlessScanningArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationGcpAgentlessScanning(resource_name: str,
                                        args: IntegrationGcpAgentlessScanningArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationGcpAgentlessScanning(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        resource_id: Optional[str] = None,
                                        credentials: Optional[IntegrationGcpAgentlessScanningCredentialsArgs] = None,
                                        scanning_project_id: Optional[str] = None,
                                        bucket_name: Optional[str] = None,
                                        resource_level: Optional[str] = None,
                                        name: Optional[str] = None,
                                        query_text: Optional[str] = None,
                                        integration_gcp_agentless_scanning_id: Optional[str] = None,
                                        filter_lists: Optional[Sequence[str]] = None,
                                        retries: Optional[float] = None,
                                        scan_containers: Optional[bool] = None,
                                        scan_frequency: Optional[float] = None,
                                        scan_host_vulnerabilities: Optional[bool] = None,
                                        scan_multi_volume: Optional[bool] = None,
                                        scan_stopped_instances: Optional[bool] = None,
                                        enabled: Optional[bool] = None)
    func NewIntegrationGcpAgentlessScanning(ctx *Context, name string, args IntegrationGcpAgentlessScanningArgs, opts ...ResourceOption) (*IntegrationGcpAgentlessScanning, error)
    public IntegrationGcpAgentlessScanning(string name, IntegrationGcpAgentlessScanningArgs args, CustomResourceOptions? opts = null)
    public IntegrationGcpAgentlessScanning(String name, IntegrationGcpAgentlessScanningArgs args)
    public IntegrationGcpAgentlessScanning(String name, IntegrationGcpAgentlessScanningArgs args, CustomResourceOptions options)
    
    type: lacework:IntegrationGcpAgentlessScanning
    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 IntegrationGcpAgentlessScanningArgs
    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 IntegrationGcpAgentlessScanningArgs
    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 IntegrationGcpAgentlessScanningArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationGcpAgentlessScanningArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationGcpAgentlessScanningArgs
    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 integrationGcpAgentlessScanningResource = new Lacework.IntegrationGcpAgentlessScanning("integrationGcpAgentlessScanningResource", new()
    {
        ResourceId = "string",
        Credentials = new Lacework.Inputs.IntegrationGcpAgentlessScanningCredentialsArgs
        {
            ClientEmail = "string",
            ClientId = "string",
            PrivateKey = "string",
            PrivateKeyId = "string",
            TokenUri = "string",
        },
        ScanningProjectId = "string",
        BucketName = "string",
        ResourceLevel = "string",
        Name = "string",
        QueryText = "string",
        IntegrationGcpAgentlessScanningId = "string",
        FilterLists = new[]
        {
            "string",
        },
        Retries = 0,
        ScanContainers = false,
        ScanFrequency = 0,
        ScanHostVulnerabilities = false,
        ScanMultiVolume = false,
        ScanStoppedInstances = false,
        Enabled = false,
    });
    
    example, err := lacework.NewIntegrationGcpAgentlessScanning(ctx, "integrationGcpAgentlessScanningResource", &lacework.IntegrationGcpAgentlessScanningArgs{
    	ResourceId: pulumi.String("string"),
    	Credentials: &lacework.IntegrationGcpAgentlessScanningCredentialsArgs{
    		ClientEmail:  pulumi.String("string"),
    		ClientId:     pulumi.String("string"),
    		PrivateKey:   pulumi.String("string"),
    		PrivateKeyId: pulumi.String("string"),
    		TokenUri:     pulumi.String("string"),
    	},
    	ScanningProjectId:                 pulumi.String("string"),
    	BucketName:                        pulumi.String("string"),
    	ResourceLevel:                     pulumi.String("string"),
    	Name:                              pulumi.String("string"),
    	QueryText:                         pulumi.String("string"),
    	IntegrationGcpAgentlessScanningId: pulumi.String("string"),
    	FilterLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Retries:                 pulumi.Float64(0),
    	ScanContainers:          pulumi.Bool(false),
    	ScanFrequency:           pulumi.Float64(0),
    	ScanHostVulnerabilities: pulumi.Bool(false),
    	ScanMultiVolume:         pulumi.Bool(false),
    	ScanStoppedInstances:    pulumi.Bool(false),
    	Enabled:                 pulumi.Bool(false),
    })
    
    var integrationGcpAgentlessScanningResource = new IntegrationGcpAgentlessScanning("integrationGcpAgentlessScanningResource", IntegrationGcpAgentlessScanningArgs.builder()
        .resourceId("string")
        .credentials(IntegrationGcpAgentlessScanningCredentialsArgs.builder()
            .clientEmail("string")
            .clientId("string")
            .privateKey("string")
            .privateKeyId("string")
            .tokenUri("string")
            .build())
        .scanningProjectId("string")
        .bucketName("string")
        .resourceLevel("string")
        .name("string")
        .queryText("string")
        .integrationGcpAgentlessScanningId("string")
        .filterLists("string")
        .retries(0)
        .scanContainers(false)
        .scanFrequency(0)
        .scanHostVulnerabilities(false)
        .scanMultiVolume(false)
        .scanStoppedInstances(false)
        .enabled(false)
        .build());
    
    integration_gcp_agentless_scanning_resource = lacework.IntegrationGcpAgentlessScanning("integrationGcpAgentlessScanningResource",
        resource_id="string",
        credentials={
            "client_email": "string",
            "client_id": "string",
            "private_key": "string",
            "private_key_id": "string",
            "token_uri": "string",
        },
        scanning_project_id="string",
        bucket_name="string",
        resource_level="string",
        name="string",
        query_text="string",
        integration_gcp_agentless_scanning_id="string",
        filter_lists=["string"],
        retries=0,
        scan_containers=False,
        scan_frequency=0,
        scan_host_vulnerabilities=False,
        scan_multi_volume=False,
        scan_stopped_instances=False,
        enabled=False)
    
    const integrationGcpAgentlessScanningResource = new lacework.IntegrationGcpAgentlessScanning("integrationGcpAgentlessScanningResource", {
        resourceId: "string",
        credentials: {
            clientEmail: "string",
            clientId: "string",
            privateKey: "string",
            privateKeyId: "string",
            tokenUri: "string",
        },
        scanningProjectId: "string",
        bucketName: "string",
        resourceLevel: "string",
        name: "string",
        queryText: "string",
        integrationGcpAgentlessScanningId: "string",
        filterLists: ["string"],
        retries: 0,
        scanContainers: false,
        scanFrequency: 0,
        scanHostVulnerabilities: false,
        scanMultiVolume: false,
        scanStoppedInstances: false,
        enabled: false,
    });
    
    type: lacework:IntegrationGcpAgentlessScanning
    properties:
        bucketName: string
        credentials:
            clientEmail: string
            clientId: string
            privateKey: string
            privateKeyId: string
            tokenUri: string
        enabled: false
        filterLists:
            - string
        integrationGcpAgentlessScanningId: string
        name: string
        queryText: string
        resourceId: string
        resourceLevel: string
        retries: 0
        scanContainers: false
        scanFrequency: 0
        scanHostVulnerabilities: false
        scanMultiVolume: false
        scanStoppedInstances: false
        scanningProjectId: string
    

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

    BucketName string
    Bucket containing analysis results shared with Lacework platform.
    Credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    ResourceId string
    The organization or Project Id.
    ScanningProjectId string
    Project ID where scanner is deployed.
    Enabled bool
    The state of the external integration. Defaults to true.
    FilterLists List<string>
    Comma separated list to include or exclude projects.
    IntegrationGcpAgentlessScanningId string
    Name string
    The GCP Agentless Scanning integration name.
    QueryText string
    The lql query.
    ResourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers. Defaults to true
    ScanFrequency double
    How often, in hours, the scan will run - Defaults to 24 hours.
    ScanHostVulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    ScanMultiVolume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    ScanStoppedInstances bool
    Whether to scan stopped instances (true). Defaults to true
    BucketName string
    Bucket containing analysis results shared with Lacework platform.
    Credentials IntegrationGcpAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    ResourceId string
    The organization or Project Id.
    ScanningProjectId string
    Project ID where scanner is deployed.
    Enabled bool
    The state of the external integration. Defaults to true.
    FilterLists []string
    Comma separated list to include or exclude projects.
    IntegrationGcpAgentlessScanningId string
    Name string
    The GCP Agentless Scanning integration name.
    QueryText string
    The lql query.
    ResourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers. Defaults to true
    ScanFrequency float64
    How often, in hours, the scan will run - Defaults to 24 hours.
    ScanHostVulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    ScanMultiVolume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    ScanStoppedInstances bool
    Whether to scan stopped instances (true). Defaults to true
    bucketName String
    Bucket containing analysis results shared with Lacework platform.
    credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    resourceId String
    The organization or Project Id.
    scanningProjectId String
    Project ID where scanner is deployed.
    enabled Boolean
    The state of the external integration. Defaults to true.
    filterLists List<String>
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId String
    name String
    The GCP Agentless Scanning integration name.
    queryText String
    The lql query.
    resourceLevel String
    = (Required) "PROJECT" or "ORGANIZATION".
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency Double
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities Boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume Boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances Boolean
    Whether to scan stopped instances (true). Defaults to true
    bucketName string
    Bucket containing analysis results shared with Lacework platform.
    credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    resourceId string
    The organization or Project Id.
    scanningProjectId string
    Project ID where scanner is deployed.
    enabled boolean
    The state of the external integration. Defaults to true.
    filterLists string[]
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId string
    name string
    The GCP Agentless Scanning integration name.
    queryText string
    The lql query.
    resourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency number
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances boolean
    Whether to scan stopped instances (true). Defaults to true
    bucket_name str
    Bucket containing analysis results shared with Lacework platform.
    credentials IntegrationGcpAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    resource_id str
    The organization or Project Id.
    scanning_project_id str
    Project ID where scanner is deployed.
    enabled bool
    The state of the external integration. Defaults to true.
    filter_lists Sequence[str]
    Comma separated list to include or exclude projects.
    integration_gcp_agentless_scanning_id str
    name str
    The GCP Agentless Scanning integration name.
    query_text str
    The lql query.
    resource_level str
    = (Required) "PROJECT" or "ORGANIZATION".
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    scan_containers bool
    Whether to includes scanning for containers. Defaults to true
    scan_frequency float
    How often, in hours, the scan will run - Defaults to 24 hours.
    scan_host_vulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    scan_multi_volume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scan_stopped_instances bool
    Whether to scan stopped instances (true). Defaults to true
    bucketName String
    Bucket containing analysis results shared with Lacework platform.
    credentials Property Map
    The credentials needed by the integration. See Credentials below for details.
    resourceId String
    The organization or Project Id.
    scanningProjectId String
    Project ID where scanner is deployed.
    enabled Boolean
    The state of the external integration. Defaults to true.
    filterLists List<String>
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId String
    name String
    The GCP Agentless Scanning integration name.
    queryText String
    The lql query.
    resourceLevel String
    = (Required) "PROJECT" or "ORGANIZATION".
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency Number
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities Boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume Boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances Boolean
    Whether to scan stopped instances (true). Defaults to true

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationGcpAgentlessScanning 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
    ServerToken string
    TypeName string
    Uri string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    OrgLevel bool
    ServerToken string
    TypeName string
    Uri string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    serverToken String
    typeName String
    uri String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    id string
    The provider-assigned unique ID for this managed resource.
    intgGuid string
    orgLevel boolean
    serverToken string
    typeName string
    uri 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
    server_token str
    type_name str
    uri str
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    serverToken String
    typeName String
    uri String

    Look up Existing IntegrationGcpAgentlessScanning Resource

    Get an existing IntegrationGcpAgentlessScanning 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?: IntegrationGcpAgentlessScanningState, opts?: CustomResourceOptions): IntegrationGcpAgentlessScanning
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket_name: Optional[str] = None,
            created_or_updated_by: Optional[str] = None,
            created_or_updated_time: Optional[str] = None,
            credentials: Optional[IntegrationGcpAgentlessScanningCredentialsArgs] = None,
            enabled: Optional[bool] = None,
            filter_lists: Optional[Sequence[str]] = None,
            integration_gcp_agentless_scanning_id: Optional[str] = None,
            intg_guid: Optional[str] = None,
            name: Optional[str] = None,
            org_level: Optional[bool] = None,
            query_text: Optional[str] = None,
            resource_id: Optional[str] = None,
            resource_level: Optional[str] = None,
            retries: Optional[float] = None,
            scan_containers: Optional[bool] = None,
            scan_frequency: Optional[float] = None,
            scan_host_vulnerabilities: Optional[bool] = None,
            scan_multi_volume: Optional[bool] = None,
            scan_stopped_instances: Optional[bool] = None,
            scanning_project_id: Optional[str] = None,
            server_token: Optional[str] = None,
            type_name: Optional[str] = None,
            uri: Optional[str] = None) -> IntegrationGcpAgentlessScanning
    func GetIntegrationGcpAgentlessScanning(ctx *Context, name string, id IDInput, state *IntegrationGcpAgentlessScanningState, opts ...ResourceOption) (*IntegrationGcpAgentlessScanning, error)
    public static IntegrationGcpAgentlessScanning Get(string name, Input<string> id, IntegrationGcpAgentlessScanningState? state, CustomResourceOptions? opts = null)
    public static IntegrationGcpAgentlessScanning get(String name, Output<String> id, IntegrationGcpAgentlessScanningState state, CustomResourceOptions options)
    resources:  _:    type: lacework:IntegrationGcpAgentlessScanning    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:
    BucketName string
    Bucket containing analysis results shared with Lacework platform.
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    FilterLists List<string>
    Comma separated list to include or exclude projects.
    IntegrationGcpAgentlessScanningId string
    IntgGuid string
    Name string
    The GCP Agentless Scanning integration name.
    OrgLevel bool
    QueryText string
    The lql query.
    ResourceId string
    The organization or Project Id.
    ResourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers. Defaults to true
    ScanFrequency double
    How often, in hours, the scan will run - Defaults to 24 hours.
    ScanHostVulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    ScanMultiVolume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    ScanStoppedInstances bool
    Whether to scan stopped instances (true). Defaults to true
    ScanningProjectId string
    Project ID where scanner is deployed.
    ServerToken string
    TypeName string
    Uri string
    BucketName string
    Bucket containing analysis results shared with Lacework platform.
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationGcpAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    FilterLists []string
    Comma separated list to include or exclude projects.
    IntegrationGcpAgentlessScanningId string
    IntgGuid string
    Name string
    The GCP Agentless Scanning integration name.
    OrgLevel bool
    QueryText string
    The lql query.
    ResourceId string
    The organization or Project Id.
    ResourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers. Defaults to true
    ScanFrequency float64
    How often, in hours, the scan will run - Defaults to 24 hours.
    ScanHostVulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    ScanMultiVolume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    ScanStoppedInstances bool
    Whether to scan stopped instances (true). Defaults to true
    ScanningProjectId string
    Project ID where scanner is deployed.
    ServerToken string
    TypeName string
    Uri string
    bucketName String
    Bucket containing analysis results shared with Lacework platform.
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    filterLists List<String>
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId String
    intgGuid String
    name String
    The GCP Agentless Scanning integration name.
    orgLevel Boolean
    queryText String
    The lql query.
    resourceId String
    The organization or Project Id.
    resourceLevel String
    = (Required) "PROJECT" or "ORGANIZATION".
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency Double
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities Boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume Boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances Boolean
    Whether to scan stopped instances (true). Defaults to true
    scanningProjectId String
    Project ID where scanner is deployed.
    serverToken String
    typeName String
    uri String
    bucketName string
    Bucket containing analysis results shared with Lacework platform.
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    credentials IntegrationGcpAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    filterLists string[]
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId string
    intgGuid string
    name string
    The GCP Agentless Scanning integration name.
    orgLevel boolean
    queryText string
    The lql query.
    resourceId string
    The organization or Project Id.
    resourceLevel string
    = (Required) "PROJECT" or "ORGANIZATION".
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency number
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances boolean
    Whether to scan stopped instances (true). Defaults to true
    scanningProjectId string
    Project ID where scanner is deployed.
    serverToken string
    typeName string
    uri string
    bucket_name str
    Bucket containing analysis results shared with Lacework platform.
    created_or_updated_by str
    created_or_updated_time str
    credentials IntegrationGcpAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    filter_lists Sequence[str]
    Comma separated list to include or exclude projects.
    integration_gcp_agentless_scanning_id str
    intg_guid str
    name str
    The GCP Agentless Scanning integration name.
    org_level bool
    query_text str
    The lql query.
    resource_id str
    The organization or Project Id.
    resource_level str
    = (Required) "PROJECT" or "ORGANIZATION".
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    scan_containers bool
    Whether to includes scanning for containers. Defaults to true
    scan_frequency float
    How often, in hours, the scan will run - Defaults to 24 hours.
    scan_host_vulnerabilities bool
    Whether to include scanning for host vulnerabilities. Defaults to true
    scan_multi_volume bool
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scan_stopped_instances bool
    Whether to scan stopped instances (true). Defaults to true
    scanning_project_id str
    Project ID where scanner is deployed.
    server_token str
    type_name str
    uri str
    bucketName String
    Bucket containing analysis results shared with Lacework platform.
    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.
    filterLists List<String>
    Comma separated list to include or exclude projects.
    integrationGcpAgentlessScanningId String
    intgGuid String
    name String
    The GCP Agentless Scanning integration name.
    orgLevel Boolean
    queryText String
    The lql query.
    resourceId String
    The organization or Project Id.
    resourceLevel String
    = (Required) "PROJECT" or "ORGANIZATION".
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers. Defaults to true
    scanFrequency Number
    How often, in hours, the scan will run - Defaults to 24 hours.
    scanHostVulnerabilities Boolean
    Whether to include scanning for host vulnerabilities. Defaults to true
    scanMultiVolume Boolean
    Whether to scan secondary volumes (true) or only root volumes (false). Defaults to false
    scanStoppedInstances Boolean
    Whether to scan stopped instances (true). Defaults to true
    scanningProjectId String
    Project ID where scanner is deployed.
    serverToken String
    typeName String
    uri String

    Supporting Types

    IntegrationGcpAgentlessScanningCredentials, IntegrationGcpAgentlessScanningCredentialsArgs

    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.
    TokenUri string
    Token URI from credentials file.
    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.
    TokenUri string
    Token URI from credentials file.
    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.
    tokenUri String
    Token URI from credentials file.
    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.
    tokenUri string
    Token URI from credentials file.
    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.
    token_uri str
    Token URI from credentials file.
    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.
    tokenUri String
    Token URI from credentials file.

    Import

    A Lacework GCP Agentless Scanning integration can be imported using a INT_GUID, e.g.

    $ pulumi import lacework:index/integrationGcpAgentlessScanning:IntegrationGcpAgentlessScanning account_abc EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
    

    -> Note: To retrieve the INT_GUID from existing integrations in your account, use the Lacework CLI command lacework integration 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