lacework.IntegrationAwsAgentlessScanning
Explore with Pulumi AI
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:
- Scan
Frequency double - How often, in hours, the scan will run.
- Account
Id string - The aws account id.
- Bucket
Arn string - The bucket arn.
- Credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Aws stringAgentless Scanning Id - Name string
- The AWS Agentless Scanning integration name.
- Query
Text string - The lql query.
- Retries double
- The number of attempts to create the external integration. Defaults to
5
. - Scan
Containers bool - Whether to includes scanning for containers.
- Scan
Host boolVulnerabilities - Whether to includes scanning for host vulnerabilities.
- Scan
Multi boolVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- Scan
Stopped boolInstances - Whether to scan stopped instances (
true
). Defaults totrue
- Scan
Frequency float64 - How often, in hours, the scan will run.
- Account
Id string - The aws account id.
- Bucket
Arn string - The bucket arn.
- Credentials
Integration
Aws Agentless Scanning Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Aws stringAgentless Scanning Id - Name string
- The AWS Agentless Scanning integration name.
- Query
Text string - The lql query.
- Retries float64
- The number of attempts to create the external integration. Defaults to
5
. - Scan
Containers bool - Whether to includes scanning for containers.
- Scan
Host boolVulnerabilities - Whether to includes scanning for host vulnerabilities.
- Scan
Multi boolVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- Scan
Stopped boolInstances - Whether to scan stopped instances (
true
). Defaults totrue
- scan
Frequency Double - How often, in hours, the scan will run.
- account
Id String - The aws account id.
- bucket
Arn String - The bucket arn.
- credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Aws StringAgentless Scanning Id - name String
- The AWS Agentless Scanning integration name.
- query
Text String - The lql query.
- retries Double
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers Boolean - Whether to includes scanning for containers.
- scan
Host BooleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi BooleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped BooleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
- scan
Frequency number - How often, in hours, the scan will run.
- account
Id string - The aws account id.
- bucket
Arn string - The bucket arn.
- credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Aws stringAgentless Scanning Id - name string
- The AWS Agentless Scanning integration name.
- query
Text string - The lql query.
- retries number
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers boolean - Whether to includes scanning for containers.
- scan
Host booleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi booleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped booleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
- 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
Integration
Aws Agentless Scanning Credentials Args - The credentials needed by the integration. See Credentials below for details.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
aws_ stragentless_ scanning_ id - 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_ boolvulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan_
multi_ boolvolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan_
stopped_ boolinstances - Whether to scan stopped instances (
true
). Defaults totrue
- scan
Frequency Number - How often, in hours, the scan will run.
- account
Id String - The aws account id.
- bucket
Arn 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
. - integration
Aws StringAgentless Scanning Id - name String
- The AWS Agentless Scanning integration name.
- query
Text String - The lql query.
- retries Number
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers Boolean - Whether to includes scanning for containers.
- scan
Host BooleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi BooleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped BooleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAwsAgentlessScanning resource produces the following output properties:
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Server
Token string - Type
Name string - Uri string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Server
Token string - Type
Name string - Uri string
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - server
Token String - type
Name String - uri String
- created
Or stringUpdated By - created
Or stringUpdated Time - id string
- The provider-assigned unique ID for this managed resource.
- intg
Guid string - org
Level boolean - server
Token string - type
Name string - uri string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - 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
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - server
Token String - type
Name 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.
- Account
Id string - The aws account id.
- Bucket
Arn string - The bucket arn.
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Aws stringAgentless Scanning Id - Intg
Guid string - Name string
- The AWS Agentless Scanning integration name.
- Org
Level bool - Query
Text string - The lql query.
- Retries double
- The number of attempts to create the external integration. Defaults to
5
. - Scan
Containers bool - Whether to includes scanning for containers.
- Scan
Frequency double - How often, in hours, the scan will run.
- Scan
Host boolVulnerabilities - Whether to includes scanning for host vulnerabilities.
- Scan
Multi boolVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- Scan
Stopped boolInstances - Whether to scan stopped instances (
true
). Defaults totrue
- Server
Token string - Type
Name string - Uri string
- Account
Id string - The aws account id.
- Bucket
Arn string - The bucket arn.
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Aws Agentless Scanning Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Aws stringAgentless Scanning Id - Intg
Guid string - Name string
- The AWS Agentless Scanning integration name.
- Org
Level bool - Query
Text string - The lql query.
- Retries float64
- The number of attempts to create the external integration. Defaults to
5
. - Scan
Containers bool - Whether to includes scanning for containers.
- Scan
Frequency float64 - How often, in hours, the scan will run.
- Scan
Host boolVulnerabilities - Whether to includes scanning for host vulnerabilities.
- Scan
Multi boolVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- Scan
Stopped boolInstances - Whether to scan stopped instances (
true
). Defaults totrue
- Server
Token string - Type
Name string - Uri string
- account
Id String - The aws account id.
- bucket
Arn String - The bucket arn.
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Aws StringAgentless Scanning Id - intg
Guid String - name String
- The AWS Agentless Scanning integration name.
- org
Level Boolean - query
Text String - The lql query.
- retries Double
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers Boolean - Whether to includes scanning for containers.
- scan
Frequency Double - How often, in hours, the scan will run.
- scan
Host BooleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi BooleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped BooleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
- server
Token String - type
Name String - uri String
- account
Id string - The aws account id.
- bucket
Arn string - The bucket arn.
- created
Or stringUpdated By - created
Or stringUpdated Time - credentials
Integration
Aws Agentless Scanning Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Aws stringAgentless Scanning Id - intg
Guid string - name string
- The AWS Agentless Scanning integration name.
- org
Level boolean - query
Text string - The lql query.
- retries number
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers boolean - Whether to includes scanning for containers.
- scan
Frequency number - How often, in hours, the scan will run.
- scan
Host booleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi booleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped booleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
- server
Token string - type
Name string - uri string
- account_
id str - The aws account id.
- bucket_
arn str - The bucket arn.
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - credentials
Integration
Aws Agentless Scanning Credentials Args - The credentials needed by the integration. See Credentials below for details.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
aws_ stragentless_ scanning_ id - 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_ boolvulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan_
multi_ boolvolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan_
stopped_ boolinstances - Whether to scan stopped instances (
true
). Defaults totrue
- server_
token str - type_
name str - uri str
- account
Id String - The aws account id.
- bucket
Arn String - The bucket arn.
- created
Or StringUpdated By - created
Or StringUpdated Time - 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
. - integration
Aws StringAgentless Scanning Id - intg
Guid String - name String
- The AWS Agentless Scanning integration name.
- org
Level Boolean - query
Text String - The lql query.
- retries Number
- The number of attempts to create the external integration. Defaults to
5
. - scan
Containers Boolean - Whether to includes scanning for containers.
- scan
Frequency Number - How often, in hours, the scan will run.
- scan
Host BooleanVulnerabilities - Whether to includes scanning for host vulnerabilities.
- scan
Multi BooleanVolume - Whether to scan secondary volumes (
true
) or only root volumes (false
). Defaults tofalse
- scan
Stopped BooleanInstances - Whether to scan stopped instances (
true
). Defaults totrue
- server
Token String - type
Name String - uri String
Supporting Types
IntegrationAwsAgentlessScanningCredentials, IntegrationAwsAgentlessScanningCredentialsArgs
- External
Id string - The external id.
- Role
Arn string - The role arn.
- External
Id string - The external id.
- Role
Arn string - The role arn.
- external
Id String - The external id.
- role
Arn String - The role arn.
- external
Id string - The external id.
- role
Arn string - The role arn.
- external_
id str - The external id.
- role_
arn str - The role arn.
- external
Id String - The external id.
- role
Arn 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.