This repository contains Terraform modules for streaming AWS-hosted logs to Upwind for centralized observability and threat detection.
- modules/eks-audit-logs/ - Streams EKS audit logs to Upwind via CloudWatch Logs subscription filters and the Upwind log reporter Lambda function.
- eks-audit-logs-basic - Connect the EKS clusters in a region to Upwind.
module "upwind_eks_audit_logs" {
source = "upwindsecurity/cloudlogs/aws//modules/eks-audit-logs"
version = "~> 1.1"
upwind_organization_id = "your-organization-id"
upwind_integration_client_id = "your-client-id"
upwind_integration_client_secret = "your-client-secret"
# upwind_region = "eu" # us (default), eu, me or ap
# cluster_names = ["prod-1"] # empty = every audit-enabled cluster in the region
}We use Semantic Versioning for releases. For the versions available, see the tags on this repository.
Releases are automated with release-please.
- Land changes on
mainthrough pull requests with Conventional Commit titles (fix:,feat:, ...). - release-please opens or updates a release pull request. It carries the version bump, the changelog entry, and the version stamp.
- Merge the release pull request. This creates the
vX.Y.Ztag and the GitHub release. The Terraform Registry picks up the new tag automatically.
When a new log reporter lambda version is published, run:
./scripts/bump-lambda-version.sh <lambda-version>The script updates the lambda_version default, regenerates the module
docs, and opens the bump pull request. Merge it after the lambda version
is verified in production.
If the automation is unavailable, a release is a pull request plus a tag:
- Add a section for the new version to
CHANGELOG.md. - Update the version in
modules/eks-audit-logs/module_version.tf. Keep the# x-release-please-versionmarker comment. - Set the new version in
.release-please-manifest.json. - If module inputs changed, regenerate the docs:
terraform-docs modules/eks-audit-logs. - Open a pull request with these changes and merge it.
- Tag the merge commit and push the tag:
git tag vX.Y.Z && git push origin vX.Y.Z. A repository ruleset restrictsv*tag creation to the release automation, so a repository admin must lift the ruleset for this push and restore it afterwards.
The Terraform Registry serves every vX.Y.Z tag as a module version.
Apache 2.0 - see LICENSE.