Skip to content

This repository has been transfered from pingsafe organisation.

Notifications You must be signed in to change notification settings

Sentinel-One/sizing

Repository files navigation

SentinelOne CNS Sizing Scripts

Google Cloud Script

Pre-requisites:

  1. python 3+
  2. gcloud cli
  3. gcloud alpha component
  4. gcloud bq cli tool
  5. gcloud gsutil cli tool

gcp-units.py

To run the script

python3 ./gcp-units.py --project_id project_id

Output (in directory from where script is run)

gcp-{project_id}-units.csv

Important Information:

  • --project_id is a required flag
  • If you have multiple project ids, the script needs to be run for each one separately
  • The script may take a longer time to run based on the size of the cloud for the project that is being run for

AWS Script

Pre-requisites:

  1. python 3+
  2. aws cli

aws-units.py

To run the script:

python3 ./aws-units.py --profiles default profile_2 ... profile_n

Important Information:

Output (in directory from where script is run)

aws-{profile}-units.csv
aws-{profile2}-units.csv

Azure Script

Pre-requisites:

  1. az cli

azure-units.py

To run the script:

python3 ./azure-units.py --subscriptions <subscription_id_1> <subscription_id_2>

Important Information:

  • Script requires at least one subscriptions to be passed with the required --subscriptions flag
  • The script may take a longer time to run based on the size of the cloud for the subscriptions that is being run for

Output (in directory from where script is run)

azure-{subscription}-units.csv
azure-{subscription}-units.csv