s3
Type: Accessor
Allows access to S3 buckets.
The first component is interpreted as the bucket name.
Provide credentials through the VQL environment variable
S3_CREDENTIALS. This should be a dict with a key of the bucket name and the value being the credentials.
Example
LET S3_CREDENTIALS<=dict(endpoint='http://127.0.0.1:4566/',
credentials_key='admin',
credentials_secret='password',
no_verify_cert=1)
SELECT *, read_file(filename=OSPath,
length=10, accessor='s3') AS Data
FROM glob(
globs='/velociraptor/orgs/root/clients/C.39a107c4c58c5efa/collections/*/uploads/auto/*',
accessor='s3')
Notes
It is more convenient to use the secrets support to manage these credentials.
| Argument | Type | Description |
|---|---|---|
secret |
string | The name of a secret to use. |
region |
string | The region. |
credentials_key |
string | |
credentials_secret |
string | |
credentials_token |
string | |
endpoint |
string | |
skip_verify |
bool |
Required permissions: NETWORK
Platforms: macOS, Linux, Windows