Skip to content

Releases: lacework-dev/scripts

Linux lw-inventory

29 Nov 15:54

Choose a tag to compare

Usage

Rename either lw-inventory-mac or lw-inventory-linux to lw-inventory

AWS

Log into the aws CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

./lw-inventory gcp

List of projects to ignore, comma separated

./lw-inventory gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

./lw-inventory gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

./lw-inventory gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

./lw-inventory azure

List of subscriptions to ignore, comma separated

./lw-inventory azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

./lw-inventory azure -d

Windows lw-inventory

22 Nov 02:24

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

.\lw-inventory.exe aws

Using a profile (sso profile works as well)

.\lw-inventory.exe aws --profile myprofile

Specifying a region

.\lw-inventory.exe aws --region us-east-1

Show debug output (useful to see more details)

.\lw-inventory.exe aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

.\lw-inventory.exe gcp

List of projects to ignore, comma separated

.\lw-inventory.exe gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

.\lw-inventory.exe gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

.\lw-inventory.exe gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

.\lw-inventory.exe azure

List of subscriptions to ignore, comma separated

.\lw-inventory.exe azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

.\lw-inventory.exe azure -d

Mac and Linux lw-inventory

18 Nov 17:36

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

./lw-inventory gcp

List of projects to ignore, comma separated

./lw-inventory gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

./lw-inventory gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

./lw-inventory gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

./lw-inventory azure

List of subscriptions to ignore, comma separated

./lw-inventory azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

./lw-inventory azure -d

Windows lw-inventory

11 Nov 04:35

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

.\lw-inventory.exe aws

Using a profile (sso profile works as well)

.\lw-inventory.exe aws --profile myprofile

Specifying a region

.\lw-inventory.exe aws --region us-east-1

Show debug output (useful to see more details)

.\lw-inventory.exe aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

.\lw-inventory.exe gcp

List of projects to ignore, comma separated

.\lw-inventory.exe gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

.\lw-inventory.exe gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

.\lw-inventory.exe gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

.\lw-inventory.exe azure

List of subscriptions to ignore, comma separated

.\lw-inventory.exe azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

.\lw-inventory.exe azure -d

Linux lw-inventory

11 Nov 14:43

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

./lw-inventory gcp

List of projects to ignore, comma separated

./lw-inventory gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

./lw-inventory gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

./lw-inventory gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

./lw-inventory azure

List of subscriptions to ignore, comma separated

./lw-inventory azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

./lw-inventory azure -d

Linux lw-inventory

28 Oct 19:07

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

./lw-inventory gcp

List of projects to ignore, comma separated

./lw-inventory gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

./lw-inventory gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

./lw-inventory gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

./lw-inventory azure

List of subscriptions to ignore, comma separated

./lw-inventory azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

./lw-inventory azure -d

Windows lw-inventory

26 Oct 18:25

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

.\lw-inventory.exe aws

Using a profile (sso profile works as well)

.\lw-inventory.exe aws --profile myprofile

Specifying a region

.\lw-inventory.exe aws --region us-east-1

Show debug output (useful to see more details)

.\lw-inventory.exe aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

.\lw-inventory.exe gcp

List of projects to ignore, comma separated

.\lw-inventory.exe gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

.\lw-inventory.exe gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

.\lw-inventory.exe gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

.\lw-inventory.exe azure

List of subscriptions to ignore, comma separated

.\lw-inventory.exe azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

.\lw-inventory.exe azure -d

Mac lw-inventory

26 Oct 02:16
8187c34

Choose a tag to compare

Usage

AWS

Log into the aws CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

GCP

Log into the gcloud CLI before running the inventory app

Basic usage

./lw-inventory gcp

List of projects to ignore, comma separated

./lw-inventory gcp --projects-to-ignore <projets to ignore>

Use a credentials JSON file

./lw-inventory gcp --credentials <path to JSON file>

Show debug output (useful to see more details)

./lw-inventory gcp -d

Azure

Log into the az CLI before running the inventory app

Basic usage

./lw-inventory azure

List of subscriptions to ignore, comma separated

./lw-inventory azure --ignore-subscriptions <your subscription ID or name>

Show debug output (useful to see more details)

./lw-inventory azure -d

Linux lw-inventory

06 Oct 20:04
4c624ea

Choose a tag to compare

Usage

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d

Linux lw-inventory

23 Aug 15:19
9aae650

Choose a tag to compare

Usage

Log into the AWS CLI before running the inventory app

Basic usage

./lw-inventory aws

Using a profile (sso profile works as well)

./lw-inventory aws --profile myprofile

Specifying a region

./lw-inventory aws --region us-east-1

Show debug output (useful to see more details)

./lw-inventory aws -d