Skip to main content

Manage your Agentless Workload Scanning Integration in the Lacework Console

Overview

View your Agentless Workload Integrations by navigating to Settings > Integrations > Cloud accounts.

tip

Enter Agentless in the search bar to look for Agentless Workload Scanning integrations.

View Integration Details in the Lacework Console

Select an Agentless Workload Scanning integration in the Cloud accounts table to view its details. The details vary depending on the cloud provider.

note

The majority of the non-editable fields are automatically populated after completing the integration.

AWS

TitleDescriptionExample
TitleThe name for the integration (as it will be displayed in the Lacework Console).myAWSAgentlessIntegration
AccountThe AWS Account ID for this integration.123456789012
ProviderThe Cloud Provider for the integration.AWS
TypeAWS Integration TypeAgentless (Single account) or Agentless (Organization)
IDThe Lacework generated ID for the integrationMYACCOUNT_123ABC...
External IDThe AWS External ID for the integrated AWS account.lweid:aws:v2:acmeinc:123456789012:dkl31.09ip
Role ARNThe AWS Role ARN created for the Agentless Workload Scanning integration.arn:aws:iam::account:role/role-name-with-path
Management Account (Organization integrations only)The ID of your AWS organization management account.123456789012
Monitored Accounts (Organization integrations only)The IDs of the Root, Organizational Unit(s), and/or accounts in your AWS organization on which agentless workload scanning will be run.123456789012
Scanning Account (Organization integrations only)The ID of the AWS account that was configured to scan your AWS organization during the agentless workload scanning integration.123456789012
Bucket ARNThe S3 bucket ARN created for the Agentless Workload Scanning integration.arn:aws:s3:::bucket_name/key_name
Limit Scanned WorkloadsThe LQL key and value to constrain the Agentless Workload Scanning to specific resources. If it is blank, Lacework will scan all resources available to the account or organization. See Limit Scanned Workloads for further guidance.
Scan Frequency (hours)How often your containers and hosts are scanned for vulnerabilities (in hours).

The maximum scan frequency is 24 hours.
24
Scan containersWhether your containers will be scanned for vulnerabilities.true
Scan stopped instancesWhether stopped instances will be scanned.true
Scan host vulnerabilitiesWhether your hosts will be scanned for vulnerabilities.true
Authorization TokenThe Lacework authorization token for the integration._123456789abcdef123456789abcd
credentials.jsonClick to download the Lacework authorization token for the integration in JSON format.N/A
UpdatedDisplays the last time the integration was updated.5/25/2022 12:36 PM (PST)
Updated byDisplays the user that last updated the integration.myemail@address
StatusThe current status of the integration.Success
Pending
Error

AWS - Limit Scanned Workloads

If this field is left blank, Agentless Workload Scanning will scan all EC2 instances and their volumes in the integrated regions.

Using an LQL query, you can "target" specific instances and volumes rather than all available resources. Only resources returned from the LQL query are then scanned.

The LQL query must return the following:

  • A single key/value.
    • The key can be anything.
  • A workload identifier (such as an EC2 instance ID) as the value.
    • Any filter can be used as long as it returns a workload identifier.

The following is an example LQL query:

Example LQL query
{
source {
LW_HE_MACHINES m
}
filter {
m.TAGS:VpcId = 'vpc-0d75bdd9f82d71669'
}
return {
m.TAGS:InstanceId::STRING as InstanceId
}
}

As per the example, the following will also apply to your query:

  • The return clause in the query statement must return a single key value pair. Note that the result of running this query will return a list of these key value pairs, for example if you have many instances in this VPC.
  • On line 9, the returned value is an InstanceId.
  • The name of the returned pair InstanceId is customizable, provide a name of your choice.

Google Cloud

TitleDescriptionExample
TitleThe name for the integration (as it will be displayed in the Lacework Console).myGCPAgentlessIntegration
AccountThe Google Cloud Organization or Project ID that has been integrated with Agentless Workload Scanning.mygcpproject
ProviderThe Cloud Provider for the integration.GCP
TypeGoogle Cloud Integration TypeAgentless
IDThe Lacework generated ID for the integration.MYACCOUNT_123ABC...
Client IDThe Google Cloud Client ID of the service account used for the integration.112233...
Private Key IDThe Private Key ID of the service account used for the integration.abc123...
Client EmailThe Google Cloud Client Email of the service account used for the integration.serviceaccount@project.iam.gserviceaccount.com
Private KeyThe Private Key of the service account used for the integration.*****
Token URIThe Token URI of the service account used for the integration.https://oauth2.googleapis.com/token
Integration LevelThe Google Cloud integration level (project or organization).PROJECT
Scanning ProjectThe ID of the Google Cloud project where the Agentless scanning resources are deployed.mygcpproject
Shared BucketThe Google Cloud bucket used for the Agentless Workload Scanning integration.mygcpbucketname
Limit ProjectsOnly relevant to Organization integrations.

A list of comma-delimited Google Cloud project IDs and/or folders that will be scanned. If left blank, all projects and folders in the organization will be scanned.
myscannedproject1, myscannedproject2, folder/myscannedfolder1, folder/myscannedfolder2
Limit Scanned WorkloadsThe LQL key and value to constrain the Agentless Workload Scanning to specific resources. If it is blank, Lacework will scan all resources available to the account or organization. See Limit Scanned Workloads for further guidance.
Scan Frequency (hours)How often your containers and hosts are scanned for vulnerabilities (in hours).

The maximum scan frequency is 24 hours.
24
Scan containersWhether your containers will be scanned for vulnerabilities.true
Scan stopped instancesWhether stopped instances will be scanned.true
Scan host vulnerabilitiesWhether your hosts will be scanned for vulnerabilities.true
Authorization TokenThe Lacework authorization token for the integration._123456789abcdef123456789abcd
credentials.jsonClick to download the Lacework authorization token for the integration in JSON format.N/A
UpdatedDisplays the last time the integration was updated.5/25/2022 12:36 PM (PST)
Updated byDisplays the user that last updated the integration.myemail@address
StatusThe current status of the integration.Success
Pending
Error

Google Cloud - Limit Scanned Workloads

If this field is left blank, Agentless Workload Scanning will scan all virtual machines and their volumes in the integrated regions.

Using an LQL query, you can "target" specific instances and volumes rather than all available resources. Only resources returned from the LQL query are then scanned.

The LQL query must return the following:

  • A single key/value.
    • The key can be anything.
  • A workload identifier (such as a virtual machine ID) as the value.
    • Any filter can be used as long as it returns a workload identifier.

The following is an example LQL query:

Example Google Cloud LQL query
{
source {
LW_HE_MACHINES m
}
filter {
m.TAGS:network = 'https://www.googleapis.com/compute/v1/projects/myproject/global/networks/default'
}
return {
m.TAGS:name::STRING as name
}
}

As per the example, the following will also apply to your query:

  • The return clause in the query statement must return a single key value pair. Note that the result of running this query will return a list of these key value pairs, for example if you have many VMs in this VPC.
  • On line 9, the returned value is a name.
  • The name of the returned pair name is customizable, provide a name of your choice.

Enable or Disable an Integration in the Lacework Console

  1. Go to Settings > Integrations: Cloud accounts.

  2. Find and select your integration in the table.

  3. Click the Enable/Disable button Enable/disable toggle to enable or disable the integration.

    This can also be done when viewing the Cloud accounts table and clicking the Enable/Disable button in the State column for the integration.

Edit your Integration in the Lacework Console

  1. Go to Settings > Integrations: Cloud accounts.

  2. Find and select your integration in the table.

  3. Click the Edit button Edit Icon to start editing the integration settings.

  4. The settings vary depending on the Cloud Provider:

Delete your Integration in the Lacework Console

  1. Go to Settings > Integrations: Cloud accounts.
  2. Find and select your integration in the table.
  3. Click the Delete icon Delete Icon to delete the integration.