The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Document S3 MDM credential injection
shukieshah0ee7af2a3067
diff --git a/cli/beacon/internal/endpoint/s3/pack/README.md b/cli/beacon/internal/endpoint/s3/pack/README.mdindex 437f38a0..b506ec04 100644--- a/cli/beacon/internal/endpoint/s3/pack/README.md+++ b/cli/beacon/internal/endpoint/s3/pack/README.md@@ -111,7 +111,14 @@ vector --config /etc/vector/beacon-s3.tomlIn managed deployments, provide `BEACON_S3_BUCKET`, optional`BEACON_S3_PREFIX`, `AWS_REGION`, and any AWS credential-provider settingsthrough the Vector service environment, host identity, or MDM/secret tooling.-Do not store AWS destination secrets in Beacon endpoint configuration.+For the packaged macOS helper, set AWS provider-chain variables in the MDM+script environment; the helper persists set values such as `AWS_ACCESS_KEY_ID`,+`AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`,+`AWS_SHARED_CREDENTIALS_FILE`, `AWS_CONFIG_FILE`,+`AWS_WEB_IDENTITY_TOKEN_FILE`, and `AWS_ROLE_ARN` to+`/Library/Application Support/Beacon/Forwarders/s3-vector.env` with mode+`0600` so launchd-started Vector can authenticate. Do not store AWS+destination secrets in Beacon endpoint configuration or `s3-vector.toml`.The Vector template is intentionally simple and expects a Vector version withthe `file` source, `remap` transform, and `aws_s3` sink. It parses each Beacondiff --git a/docs/cli/s3.mdx b/docs/cli/s3.mdxindex 5cc00a91..9affe498 100644--- a/docs/cli/s3.mdx+++ b/docs/cli/s3.mdx@@ -7,7 +7,7 @@ description: "Generate AWS S3 forwarding content and validation events for BeacoUse `beacon endpoint s3` to generate AWS S3 forwarding content for Beacon endpoint events. The generated pack keeps Beacon as a local JSONL producer and helps your customer-managed Vector agent upload `runtime.jsonl` to an S3 bucket as gzip-compressed NDJSON.-Beacon does not store AWS credentials, profiles, IAM roles, bucket policies, lifecycle rules, or encryption settings. Keep those values in AWS, Vector, endpoint-management policy, or deployment tooling.+Beacon does not store AWS credentials, profiles, IAM roles, bucket policies, lifecycle rules, or encryption settings in endpoint configuration. Keep those values in AWS, Vector, endpoint-management policy, or deployment tooling. For packaged macOS MDM deployments, the managed S3 helper can persist MDM-injected AWS provider-chain environment variables to the root-owned Vector environment file used by launchd.```bash title="Command syntax"beacon endpoint s3 [command]@@ -156,6 +156,12 @@ Expected validation fields:vendor=beacon product=endpoint-agent destination.type=s3 destination.mode=aws_s3_jsonl```+## macOS MDM Credential Injection++For a managed macOS package, run `/opt/beacon/jamf/claude/s3/repair-hooks-and-forwarder.sh` from MDM or a root shell with destination settings in the environment. The helper writes non-secret forwarding settings and any set AWS provider-chain variables to `/Library/Application Support/Beacon/Forwarders/s3-vector.env` with mode `0600`, then starts `com.beacon.endpoint.s3-forwarder`.++Supported provider-chain variables include `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`, `AWS_SHARED_CREDENTIALS_FILE`, `AWS_CONFIG_FILE`, `AWS_WEB_IDENTITY_TOKEN_FILE`, and `AWS_ROLE_ARN`. These values are not written to Beacon endpoint config or `s3-vector.toml`.+### Flags| Flag | Description |diff --git a/packaging/macos/README.md b/packaging/macos/README.mdindex 9fd7095d..a3ec95a2 100644--- a/packaging/macos/README.md+++ b/packaging/macos/README.md@@ -133,6 +133,29 @@ credential-provider settings through the Vector service environment, hostidentity, MDM, or secret tooling. Keep AWS credentials, IAM roles, log groupretention, and encryption outside Beacon endpoint configuration.+For AWS S3, keep Beacon as the local JSONL producer and deploy Vector to tail+`/var/log/beacon-agent/runtime.jsonl` into a customer-managed bucket. Generate+Beacon's S3 content pack for setup guidance, a Vector config, sample events, and+validation commands:++```bash+/opt/beacon/bin/beacon endpoint s3 install-pack --system --output ./beacon-s3-pack+/opt/beacon/bin/beacon endpoint s3 validate --system+```++For Jamf-managed Claude deployments, the Beacon package can include Vector and+run `/opt/beacon/jamf/claude/s3/install-forwarder.sh` or the combined+`/opt/beacon/jamf/claude/s3/repair-hooks-and-forwarder.sh`. Provide+`BEACON_S3_BUCKET`, `AWS_REGION`, optional `BEACON_S3_PREFIX`, and AWS+provider-chain values through MDM secret tooling or a root environment. The+helper persists set AWS provider-chain variables such as `AWS_ACCESS_KEY_ID`,+`AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`,+`AWS_SHARED_CREDENTIALS_FILE`, `AWS_CONFIG_FILE`,+`AWS_WEB_IDENTITY_TOKEN_FILE`, and `AWS_ROLE_ARN` to+`/Library/Application Support/Beacon/Forwarders/s3-vector.env` with mode `0600`+for the launchd-managed Vector process. Keep bucket policy, IAM, lifecycle, and+encryption in AWS.+For CrowdStrike Falcon, use Beacon as the local JSONL producer and deploy Vectorto tail hook-written or OTLP-written `runtime.jsonl` events into the Falcon HECconnector. Generate Beacon's Falcon content pack for setup guidance, a Vector