https://github.com/crowdstrike/cloud-resource-estimator

Cloud deployment size calculation utilities

https://github.com/crowdstrike/cloud-resource-estimator

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary

Keywords

benchmark cloud-auditing crowdstrike crowdstrike-falcon crowdstrike-horizon cspm cspm-benchmark falcon horizon

Keywords from Contributors

sequences archival projection python311 yolov5s annotation whitelist fuel tran transfer
Last synced: 5 months ago · JSON representation

Repository

Cloud deployment size calculation utilities

Basic Info
  • Host: GitHub
  • Owner: CrowdStrike
  • License: unlicense
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 159 KB
Statistics
  • Stars: 22
  • Watchers: 9
  • Forks: 21
  • Open Issues: 3
  • Releases: 0
Topics
benchmark cloud-auditing crowdstrike crowdstrike-falcon crowdstrike-horizon cspm cspm-benchmark falcon horizon
Created almost 5 years ago · Last pushed 6 months ago
Metadata Files
Readme License Code of conduct

README.md

CrowdStrike Falcon

CrowdStrike CWP / Horizon Benchmark Utilities

These utilities have been developed to assist you in calculating the overall size of a cloud deployment.

Running an audit

The benchmark.sh entrypoint script helps you to perform sizing calculations for your cloud resources. It detects the cloud provider (AWS, Azure, or GCP) and downloads the necessary scripts to perform the calculation. You can also pass one or more cloud providers as arguments.

Configuration

The script recognizes the following environmental variables for AWS:

| Variable | Default | Description | | :--- | :--- | :--- | | AWS_ASSUME_ROLE_NAME | OrganizationAccountAccessRole | IAM role name for cross-account access | | AWS_REGIONS | All regions | Comma-separated list of regions to scan | | AWS_THREADS | 5 | Number of concurrent account threads | | AWS_BATCH_SIZE | 20 | Accounts processed per batch | | AWS_BATCH_DELAY | 30 | Seconds to wait between batches | | AWS_API_DELAY | 0.1 | Seconds to wait between API calls | | AWS_MAX_RETRIES | 5 | Maximum retry attempts for failed operations | | AWS_OPERATION_TIMEOUT | 300 | Timeout for individual operations (seconds) | | AWS_RESUME_FILE | aws_benchmark_progress.json | Progress tracking file | | AWS_SKIP_ACCOUNTS | None | Comma-separated list of account IDs to skip | | AWS_DRY_RUN | false | Set to true to simulate without API calls |

To use, please export variables in your environment prior to running the script:

shell export AWS_ASSUME_ROLE_NAME="Example-Role-Name"

Note: see AWS Readme for detailed configuration options.

Usage

shell ./benchmark.sh [aws|azure|gcp]...

Below are two different ways to execute the script.

In Cloud Shell

To execute the script in your environment using Cloud Shell, follow the appropriate guide based on your cloud provider:

In your Local Environment

For those who prefer to run the script locally, or would like to run the script against more than one cloud provider at a time, follow the instructions below:

Requirements

  • Python 3
  • pip
  • curl
  • Approprate cloud provider CLI (AWS, Azure, GCP)

Steps

  1. Download the script:

    shell curl -O https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh

  2. Set execution permissions:

    shell chmod +x benchmark.sh

  3. Example: Run the script against AWS and Azure:

    shell ./benchmark.sh aws azure


Alternatively, you can run the script directly from the URL:

  • Run the script against AWS and Azure:

    shell curl https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh | bash -s -- aws azure

  • Run the script and let it determine the available cloud providers:

    shell curl https://raw.githubusercontent.com/CrowdStrike/cloud-resource-estimator/main/benchmark.sh | bash

Development

Please review our Developer Guide for more information on how to contribute to this project.

License

These scripts are provided to the community, for free, under the Unlicense license. As such, these scripts carry no formal support, express or implied.

Questions?

Please review our Code of Conduct and then submit an issue or pull request. We will address the issue as quickly as possible.

Owner

  • Name: CrowdStrike
  • Login: CrowdStrike
  • Kind: organization
  • Email: github@crowdstrike.com
  • Location: United States of America

GitHub Events

Total
  • Issues event: 7
  • Watch event: 3
  • Delete event: 1
  • Issue comment event: 11
  • Push event: 9
  • Pull request review comment event: 1
  • Pull request review event: 4
  • Pull request event: 10
  • Fork event: 2
  • Create event: 3
Last Year
  • Issues event: 7
  • Watch event: 3
  • Delete event: 1
  • Issue comment event: 11
  • Push event: 9
  • Pull request review comment event: 1
  • Pull request review event: 4
  • Pull request event: 10
  • Fork event: 2
  • Create event: 3

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 122
  • Total Committers: 10
  • Avg Commits per committer: 12.2
  • Development Distribution Score (DDS): 0.648
Past Year
  • Commits: 20
  • Committers: 3
  • Avg Commits per committer: 6.667
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Simon Lukasik s****k@c****m 43
Joshua Hiller j****r@c****m 43
Gax g****o@c****m 10
Ryan Payne r****e@c****m 10
Carlos Matos c****s@c****m 7
dependabot[bot] 4****] 5
snyk-bot s****t@s****o 1
Bryan McClellan m****s@g****m 1
Musa Musayev m****v@c****m 1
Mo Battah d****h@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 16
  • Total pull requests: 45
  • Average time to close issues: 2 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 11
  • Total pull request authors: 12
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.2
  • Merged pull requests: 41
  • Bot issues: 0
  • Bot pull requests: 9
Past Year
  • Issues: 4
  • Pull requests: 9
  • Average time to close issues: 2 months
  • Average time to close pull requests: 2 days
  • Issue authors: 4
  • Pull request authors: 3
  • Average comments per issue: 2.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • carlosmmatos (4)
  • soggysec (2)
  • luckb0x (2)
  • hgmiguel (1)
  • gadouryd (1)
  • pie-r (1)
  • grpengue (1)
  • jamiepeloquin (1)
  • jgarrcrwd (1)
  • agency-theo (1)
  • kristofmiller-idemia (1)
Pull Request Authors
  • isimluk (10)
  • ryanjpayne (9)
  • dependabot[bot] (8)
  • carlosmmatos (6)
  • jshcodes (4)
  • gtheodorio (4)
  • bm-mp (2)
  • luckb0x (1)
  • snyk-bot (1)
  • mccbryan3 (1)
  • MoBattah (1)
  • renovate[bot] (1)
Top Labels
Issue Labels
enhancement (9) AWS (6) GCP (4) Azure (3) bug (2) question (2) documentation (1)
Pull Request Labels
enhancement (9) dependencies (8) github_actions (8) AWS (7) bug (4) GCP (3) Azure (2) documentation (2)

Dependencies

AWS/requirements.txt pypi
  • boto3 *
  • tabulate *
Azure/requirements.txt pypi
  • azure-identity >=1.5.0
  • azure-mgmt-resource >=16.0.0
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/docs.yml actions
  • actions/checkout v3 composite
  • gaurav-nelson/github-action-markdown-link-check v1 composite
.github/workflows/python.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/shellcheck.yml actions
  • actions/checkout v3 composite
  • ludeeus/action-shellcheck master composite
GCP/requirements.txt pypi
  • google-api-python-client *
  • google-cloud-compute *
  • google-cloud-resource-manager *
  • oauth2client *