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

lacework.IntegrationAwsAgentlessScanning

Explore with Pulumi AI

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

    Use this resource to configure an AWS Agentless Scanning integration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as lacework from "@pulumi/lacework";
    
    const accountAbc = new lacework.IntegrationAwsAgentlessScanning("accountAbc", {
        scanFrequency: 24,
        queryText: _var.query_text,
        scanContainers: true,
        scanHostVulnerabilities: true,
        accountId: "0123456789",
        bucketArn: "arn:aws:s3:::bucket-arn",
        credentials: {
            roleArn: "arn:aws:iam::0123456789:role/iam-123",
            externalId: "0123456789",
        },
    });
    
    import pulumi
    import pulumi_lacework as lacework
    
    account_abc = lacework.IntegrationAwsAgentlessScanning("accountAbc",
        scan_frequency=24,
        query_text=var["query_text"],
        scan_containers=True,
        scan_host_vulnerabilities=True,
        account_id="0123456789",
        bucket_arn="arn:aws:s3:::bucket-arn",
        credentials={
            "role_arn": "arn:aws:iam::0123456789:role/iam-123",
            "external_id": "0123456789",
        })
    
    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.NewIntegrationAwsAgentlessScanning(ctx, "accountAbc", &lacework.IntegrationAwsAgentlessScanningArgs{
    			ScanFrequency:           pulumi.Float64(24),
    			QueryText:               pulumi.Any(_var.Query_text),
    			ScanContainers:          pulumi.Bool(true),
    			ScanHostVulnerabilities: pulumi.Bool(true),
    			AccountId:               pulumi.String("0123456789"),
    			BucketArn:               pulumi.String("arn:aws:s3:::bucket-arn"),
    			Credentials: &lacework.IntegrationAwsAgentlessScanningCredentialsArgs{
    				RoleArn:    pulumi.String("arn:aws:iam::0123456789:role/iam-123"),
    				ExternalId: pulumi.String("0123456789"),
    			},
    		})
    		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.IntegrationAwsAgentlessScanning("accountAbc", new()
        {
            ScanFrequency = 24,
            QueryText = @var.Query_text,
            ScanContainers = true,
            ScanHostVulnerabilities = true,
            AccountId = "0123456789",
            BucketArn = "arn:aws:s3:::bucket-arn",
            Credentials = new Lacework.Inputs.IntegrationAwsAgentlessScanningCredentialsArgs
            {
                RoleArn = "arn:aws:iam::0123456789:role/iam-123",
                ExternalId = "0123456789",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.lacework.IntegrationAwsAgentlessScanning;
    import com.pulumi.lacework.IntegrationAwsAgentlessScanningArgs;
    import com.pulumi.lacework.inputs.IntegrationAwsAgentlessScanningCredentialsArgs;
    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 IntegrationAwsAgentlessScanning("accountAbc", IntegrationAwsAgentlessScanningArgs.builder()
                .scanFrequency(24)
                .queryText(var_.query_text())
                .scanContainers(true)
                .scanHostVulnerabilities(true)
                .accountId("0123456789")
                .bucketArn("arn:aws:s3:::bucket-arn")
                .credentials(IntegrationAwsAgentlessScanningCredentialsArgs.builder()
                    .roleArn("arn:aws:iam::0123456789:role/iam-123")
                    .externalId("0123456789")
                    .build())
                .build());
    
        }
    }
    
    resources:
      accountAbc:
        type: lacework:IntegrationAwsAgentlessScanning
        properties:
          scanFrequency: 24
          queryText: ${var.query_text}
          scanContainers: true
          scanHostVulnerabilities: true
          accountId: '0123456789'
          bucketArn: arn:aws:s3:::bucket-arn
          credentials:
            roleArn: arn:aws:iam::0123456789:role/iam-123
            externalId: '0123456789'
    

    Create IntegrationAwsAgentlessScanning Resource

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

    Constructor syntax

    new IntegrationAwsAgentlessScanning(name: string, args: IntegrationAwsAgentlessScanningArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationAwsAgentlessScanning(resource_name: str,
                                        args: IntegrationAwsAgentlessScanningArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationAwsAgentlessScanning(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        scan_frequency: Optional[float] = None,
                                        enabled: Optional[bool] = None,
                                        credentials: Optional[IntegrationAwsAgentlessScanningCredentialsArgs] = None,
                                        account_id: Optional[str] = None,
                                        integration_aws_agentless_scanning_id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        query_text: Optional[str] = None,
                                        retries: Optional[float] = None,
                                        scan_containers: Optional[bool] = None,
                                        bucket_arn: Optional[str] = None,
                                        scan_host_vulnerabilities: Optional[bool] = None,
                                        scan_multi_volume: Optional[bool] = None,
                                        scan_stopped_instances: Optional[bool] = None)
    func NewIntegrationAwsAgentlessScanning(ctx *Context, name string, args IntegrationAwsAgentlessScanningArgs, opts ...ResourceOption) (*IntegrationAwsAgentlessScanning, error)
    public IntegrationAwsAgentlessScanning(string name, IntegrationAwsAgentlessScanningArgs args, CustomResourceOptions? opts = null)
    public IntegrationAwsAgentlessScanning(String name, IntegrationAwsAgentlessScanningArgs args)
    public IntegrationAwsAgentlessScanning(String name, IntegrationAwsAgentlessScanningArgs args, CustomResourceOptions options)
    
    type: lacework:IntegrationAwsAgentlessScanning
    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 IntegrationAwsAgentlessScanningArgs
    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 IntegrationAwsAgentlessScanningArgs
    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 IntegrationAwsAgentlessScanningArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAwsAgentlessScanningArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationAwsAgentlessScanningArgs
    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 integrationAwsAgentlessScanningResource = new Lacework.IntegrationAwsAgentlessScanning("integrationAwsAgentlessScanningResource", new()
    {
        ScanFrequency = 0,
        Enabled = false,
        Credentials = new Lacework.Inputs.IntegrationAwsAgentlessScanningCredentialsArgs
        {
            ExternalId = "string",
            RoleArn = "string",
        },
        AccountId = "string",
        IntegrationAwsAgentlessScanningId = "string",
        Name = "string",
        QueryText = "string",
        Retries = 0,
        ScanContainers = false,
        BucketArn = "string",
        ScanHostVulnerabilities = false,
        ScanMultiVolume = false,
        ScanStoppedInstances = false,
    });
    
    example, err := lacework.NewIntegrationAwsAgentlessScanning(ctx, "integrationAwsAgentlessScanningResource", &lacework.IntegrationAwsAgentlessScanningArgs{
    	ScanFrequency: pulumi.Float64(0),
    	Enabled:       pulumi.Bool(false),
    	Credentials: &lacework.IntegrationAwsAgentlessScanningCredentialsArgs{
    		ExternalId: pulumi.String("string"),
    		RoleArn:    pulumi.String("string"),
    	},
    	AccountId:                         pulumi.String("string"),
    	IntegrationAwsAgentlessScanningId: pulumi.String("string"),
    	Name:                              pulumi.String("string"),
    	QueryText:                         pulumi.String("string"),
    	Retries:                           pulumi.Float64(0),
    	ScanContainers:                    pulumi.Bool(false),
    	BucketArn:                         pulumi.String("string"),
    	ScanHostVulnerabilities:           pulumi.Bool(false),
    	ScanMultiVolume:                   pulumi.Bool(false),
    	ScanStoppedInstances:              pulumi.Bool(false),
    })
    
    var integrationAwsAgentlessScanningResource = new IntegrationAwsAgentlessScanning("integrationAwsAgentlessScanningResource", IntegrationAwsAgentlessScanningArgs.builder()
        .scanFrequency(0)
        .enabled(false)
        .credentials(IntegrationAwsAgentlessScanningCredentialsArgs.builder()
            .externalId("string")
            .roleArn("string")
            .build())
        .accountId("string")
        .integrationAwsAgentlessScanningId("string")
        .name("string")
        .queryText("string")
        .retries(0)
        .scanContainers(false)
        .bucketArn("string")
        .scanHostVulnerabilities(false)
        .scanMultiVolume(false)
        .scanStoppedInstances(false)
        .build());
    
    integration_aws_agentless_scanning_resource = lacework.IntegrationAwsAgentlessScanning("integrationAwsAgentlessScanningResource",
        scan_frequency=0,
        enabled=False,
        credentials={
            "external_id": "string",
            "role_arn": "string",
        },
        account_id="string",
        integration_aws_agentless_scanning_id="string",
        name="string",
        query_text="string",
        retries=0,
        scan_containers=False,
        bucket_arn="string",
        scan_host_vulnerabilities=False,
        scan_multi_volume=False,
        scan_stopped_instances=False)
    
    const integrationAwsAgentlessScanningResource = new lacework.IntegrationAwsAgentlessScanning("integrationAwsAgentlessScanningResource", {
        scanFrequency: 0,
        enabled: false,
        credentials: {
            externalId: "string",
            roleArn: "string",
        },
        accountId: "string",
        integrationAwsAgentlessScanningId: "string",
        name: "string",
        queryText: "string",
        retries: 0,
        scanContainers: false,
        bucketArn: "string",
        scanHostVulnerabilities: false,
        scanMultiVolume: false,
        scanStoppedInstances: false,
    });
    
    type: lacework:IntegrationAwsAgentlessScanning
    properties:
        accountId: string
        bucketArn: string
        credentials:
            externalId: string
            roleArn: string
        enabled: false
        integrationAwsAgentlessScanningId: string
        name: string
        queryText: string
        retries: 0
        scanContainers: false
        scanFrequency: 0
        scanHostVulnerabilities: false
        scanMultiVolume: false
        scanStoppedInstances: false
    

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

    ScanFrequency double
    How often, in hours, the scan will run.
    AccountId string
    The aws account id.
    BucketArn string
    The bucket arn.
    Credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAwsAgentlessScanningId string
    Name string
    The AWS Agentless Scanning integration name.
    QueryText string
    The lql query.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers.
    ScanHostVulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    ScanFrequency float64
    How often, in hours, the scan will run.
    AccountId string
    The aws account id.
    BucketArn string
    The bucket arn.
    Credentials IntegrationAwsAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAwsAgentlessScanningId string
    Name string
    The AWS Agentless Scanning integration name.
    QueryText string
    The lql query.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers.
    ScanHostVulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    scanFrequency Double
    How often, in hours, the scan will run.
    accountId String
    The aws account id.
    bucketArn String
    The bucket arn.
    credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationAwsAgentlessScanningId String
    name String
    The AWS Agentless Scanning integration name.
    queryText String
    The lql query.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers.
    scanHostVulnerabilities Boolean
    Whether to includes scanning for host vulnerabilities.
    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
    scanFrequency number
    How often, in hours, the scan will run.
    accountId string
    The aws account id.
    bucketArn string
    The bucket arn.
    credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationAwsAgentlessScanningId string
    name string
    The AWS Agentless Scanning integration name.
    queryText string
    The lql query.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers boolean
    Whether to includes scanning for containers.
    scanHostVulnerabilities boolean
    Whether to includes scanning for host vulnerabilities.
    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
    scan_frequency float
    How often, in hours, the scan will run.
    account_id str
    The aws account id.
    bucket_arn str
    The bucket arn.
    credentials IntegrationAwsAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_aws_agentless_scanning_id str
    name str
    The AWS Agentless Scanning integration name.
    query_text str
    The lql query.
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    scan_containers bool
    Whether to includes scanning for containers.
    scan_host_vulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    scanFrequency Number
    How often, in hours, the scan will run.
    accountId String
    The aws account id.
    bucketArn String
    The bucket arn.
    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.
    integrationAwsAgentlessScanningId String
    name String
    The AWS Agentless Scanning integration name.
    queryText String
    The lql query.
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers.
    scanHostVulnerabilities Boolean
    Whether to includes scanning for host vulnerabilities.
    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 IntegrationAwsAgentlessScanning 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 IntegrationAwsAgentlessScanning Resource

    Get an existing IntegrationAwsAgentlessScanning 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?: IntegrationAwsAgentlessScanningState, opts?: CustomResourceOptions): IntegrationAwsAgentlessScanning
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            bucket_arn: Optional[str] = None,
            created_or_updated_by: Optional[str] = None,
            created_or_updated_time: Optional[str] = None,
            credentials: Optional[IntegrationAwsAgentlessScanningCredentialsArgs] = None,
            enabled: Optional[bool] = None,
            integration_aws_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,
            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,
            server_token: Optional[str] = None,
            type_name: Optional[str] = None,
            uri: Optional[str] = None) -> IntegrationAwsAgentlessScanning
    func GetIntegrationAwsAgentlessScanning(ctx *Context, name string, id IDInput, state *IntegrationAwsAgentlessScanningState, opts ...ResourceOption) (*IntegrationAwsAgentlessScanning, error)
    public static IntegrationAwsAgentlessScanning Get(string name, Input<string> id, IntegrationAwsAgentlessScanningState? state, CustomResourceOptions? opts = null)
    public static IntegrationAwsAgentlessScanning get(String name, Output<String> id, IntegrationAwsAgentlessScanningState state, CustomResourceOptions options)
    resources:  _:    type: lacework:IntegrationAwsAgentlessScanning    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:
    AccountId string
    The aws account id.
    BucketArn string
    The bucket arn.
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAwsAgentlessScanningId string
    IntgGuid string
    Name string
    The AWS Agentless Scanning integration name.
    OrgLevel bool
    QueryText string
    The lql query.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers.
    ScanFrequency double
    How often, in hours, the scan will run.
    ScanHostVulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    ServerToken string
    TypeName string
    Uri string
    AccountId string
    The aws account id.
    BucketArn string
    The bucket arn.
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationAwsAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationAwsAgentlessScanningId string
    IntgGuid string
    Name string
    The AWS Agentless Scanning integration name.
    OrgLevel bool
    QueryText string
    The lql query.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    ScanContainers bool
    Whether to includes scanning for containers.
    ScanFrequency float64
    How often, in hours, the scan will run.
    ScanHostVulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    ServerToken string
    TypeName string
    Uri string
    accountId String
    The aws account id.
    bucketArn String
    The bucket arn.
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationAwsAgentlessScanningId String
    intgGuid String
    name String
    The AWS Agentless Scanning integration name.
    orgLevel Boolean
    queryText String
    The lql query.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers.
    scanFrequency Double
    How often, in hours, the scan will run.
    scanHostVulnerabilities Boolean
    Whether to includes scanning for host vulnerabilities.
    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
    serverToken String
    typeName String
    uri String
    accountId string
    The aws account id.
    bucketArn string
    The bucket arn.
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    credentials IntegrationAwsAgentlessScanningCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationAwsAgentlessScanningId string
    intgGuid string
    name string
    The AWS Agentless Scanning integration name.
    orgLevel boolean
    queryText string
    The lql query.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers boolean
    Whether to includes scanning for containers.
    scanFrequency number
    How often, in hours, the scan will run.
    scanHostVulnerabilities boolean
    Whether to includes scanning for host vulnerabilities.
    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
    serverToken string
    typeName string
    uri string
    account_id str
    The aws account id.
    bucket_arn str
    The bucket arn.
    created_or_updated_by str
    created_or_updated_time str
    credentials IntegrationAwsAgentlessScanningCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_aws_agentless_scanning_id str
    intg_guid str
    name str
    The AWS Agentless Scanning integration name.
    org_level bool
    query_text str
    The lql query.
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    scan_containers bool
    Whether to includes scanning for containers.
    scan_frequency float
    How often, in hours, the scan will run.
    scan_host_vulnerabilities bool
    Whether to includes scanning for host vulnerabilities.
    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
    server_token str
    type_name str
    uri str
    accountId String
    The aws account id.
    bucketArn String
    The bucket arn.
    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.
    integrationAwsAgentlessScanningId String
    intgGuid String
    name String
    The AWS Agentless Scanning integration name.
    orgLevel Boolean
    queryText String
    The lql query.
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    scanContainers Boolean
    Whether to includes scanning for containers.
    scanFrequency Number
    How often, in hours, the scan will run.
    scanHostVulnerabilities Boolean
    Whether to includes scanning for host vulnerabilities.
    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
    serverToken String
    typeName String
    uri String

    Supporting Types

    IntegrationAwsAgentlessScanningCredentials, IntegrationAwsAgentlessScanningCredentialsArgs

    ExternalId string
    The external id.
    RoleArn string
    The role arn.
    ExternalId string
    The external id.
    RoleArn string
    The role arn.
    externalId String
    The external id.
    roleArn String
    The role arn.
    externalId string
    The external id.
    roleArn string
    The role arn.
    external_id str
    The external id.
    role_arn str
    The role arn.
    externalId String
    The external id.
    roleArn String
    The role arn.

    Import

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

    $ pulumi import lacework:index/integrationAwsAgentlessScanning:IntegrationAwsAgentlessScanning account_abc EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
    

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