Skip to content

feat: add gcp-audit-logs module - #1

Merged
EladBrosh merged 3 commits into
mainfrom
feat/add-gcp-audit-logs-module
Jul 27, 2026
Merged

EladBrosh merged 3 commits into
mainfrom
feat/add-gcp-audit-logs-module

Conversation

@EladBrosh

@EladBrosh EladBrosh commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Publishes the gcp-audit-logs module — ported from terraform-google-integration-modules (merged main, v0.0.16) — replacing the unpopulated template scaffold this repo was created with. This is the first real content in this repo; merging should trigger the release workflow and cut v1.0.0.

  • modules/gcp-audit-logs/ — streams GCP Cloud Audit Logs to Upwind via a Log Router sink, Pub/Sub, and Workload Identity Federation. Supports organization, folder, and project scope.
  • examples/gcp-audit-logs/ — organization-wide usage example, replacing the template's examples/basic/examples/complete placeholders.
  • Root README.md/CONTRIBUTING.md/CHANGELOG.md de-genericized for this repo (the scaffold was never customized past "Terraform Module" / terraform-module-template), following the same structure as terraform-azurerm-cloudlogs.
  • Module README's Requirements/Providers/Modules/Resources/Inputs/Outputs regenerated via terraform-docs to match this repo's CI convention (inject mode + markers) — the ported version was hand-written without markers.

Streams GCP Cloud Audit Logs to Upwind via a Log Router sink, Pub/Sub,
and Workload Identity Federation. Supports organization, folder, and
project scope.

Replaces the template placeholder module/example with the real module,
ported from the upwindsecurity/terraform-google-integration-modules
dev repo (merged main, v0.0.16).
The template scaffold was never de-genericized: README/CONTRIBUTING
still described "Terraform Module" / terraform-module-template, and
CHANGELOG.md carried the template repo's own release history instead
of this repo's.

- README: repo-specific overview, module/example links, usage snippet,
  correct repo URLs throughout (matches terraform-azurerm-cloudlogs)
- CONTRIBUTING: swap the 3 issue/discussion links to this repo
- CHANGELOG: reset to just the header — semantic-release populates
  entries starting from this repo's first release
- ci.yml: TRIVY_VERSION v0.63.0 no longer exists as a release tag on
  aquasecurity/trivy (confirmed 404), causing every "Security Scan" CI
  run to fail before it can even scan anything. Bump to v0.72.0
  (current latest). Same pin is still broken on the sibling
  terraform-azurerm-cloudlogs repo — worth fixing there separately.
- terraform.tfvars.example: mention the exclude-sys-projects reserved
  exclusion name alongside exclude-gke-k8s, matching what main.tf
  actually reserves and what variables.tf already documents.
- README.md: fix stray alignment in the PROJECT usage snippet.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@EladBrosh
EladBrosh merged commit 3d8f0a3 into main Jul 27, 2026
9 checks passed
@EladBrosh
EladBrosh deleted the feat/add-gcp-audit-logs-module branch July 27, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants