This pull request updates the benchmark.sh script to support the AWS_ASSUME_ROLE_NAME environment variable, allowing users to assume a specific AWS role when running the benchmark calculations.
Changes:
Updated the usage() function to include information about the AWS_ASSUME_ROLE_NAME environment variable.
Added a new function call_benchmark_script() that handles the passing of the environment variable and any additional arguments to the corresponding Python script for the specified cloud provider.
Modified the audit() function to use the new call_benchmark_script() function.
Added arg support to aws_cspm_benchmark python script
With these changes, users can now pass the AWS_ASSUME_ROLE_NAME environment variable to the script, allowing them to assume the specified AWS role for benchmark calculations.
fixes #26
This pull request updates the benchmark.sh script to support the AWS_ASSUME_ROLE_NAME environment variable, allowing users to assume a specific AWS role when running the benchmark calculations.
Changes:
Usage example:
With these changes, users can now pass the AWS_ASSUME_ROLE_NAME environment variable to the script, allowing them to assume the specified AWS role for benchmark calculations.