audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit. audit automation compliance evidence scripts

Commit a05847bdfa

a05847bdfabb0f96924f20b0bd64b7be1e4971aa

parent: f12763587f

Unsigned

cmc <hello@cleberg.net> · 2026-07-29 17:20 UTC

fix: require botocore[crt] for aws login / SSO credentials

The AWS collectors import botocore directly, and credentials from `aws login` /
IAM Identity Center use the AWS Common Runtime (CRT) credential provider, which
needs the `crt` extra (awscrt). Without it, any AWS call fails with
MissingDependencyException. Declare botocore[crt] and document the requirement.

Layout: unified · split

applications/aws/README.md +6
@@ -23,6 +23,12 @@ export AWS_DEFAULT_REGION=us-east-1 # optional
2323export AWS_AUDIT_ACCOUNT=my-account # optional; only for the SSO check
2424```
2525
26If you authenticate with `aws login` / IAM Identity Center (SSO), those
27credentials use the AWS Common Runtime provider, which needs the `crt` extra.
28It is included via `botocore[crt]` in `requirements.txt`; if you installed
29boto3 separately, run `pip install "botocore[crt]"`. Without it you'll see
30`MissingDependencyException: ... requires an additional dependency`.
31
2632## Usage
2733
2834```bash
requirements.txt +1
@@ -5,6 +5,7 @@ PyYAML
55pytest
66requests
77boto3
8botocore[crt]
89textual
910dash
1011plotly