feat: Add Cloud (Stackdriver) Logging security policies#367
Open
HarshPandya7 wants to merge 4 commits into
Open
feat: Add Cloud (Stackdriver) Logging security policies#367HarshPandya7 wants to merge 4 commits into
HarshPandya7 wants to merge 4 commits into
Conversation
- Add 13 security policies for logging resources - Includes CMEK encryption, retention days, bucket locked - Includes exclusion filter, exclusion disabled - Includes sink destination, unique writer identity - Includes log scope, log view IAM members and role - Includes metric disabled, organization CMEK - All linter checks passed - All OPA evaluations working
🔍 Policy Check ResultsStatus: ✅ All checks passed Test Output |
🔍 Policy Check ResultsStatus: ✅ All checks passed Test Output |
🔍 Policy Check ResultsStatus: ✅ All checks passed Test Output |
Shani1116
reviewed
May 12, 2026
Contributor
Shani1116
left a comment
There was a problem hiding this comment.
@HarshPandya7 You have followed the correct TF / policy format with well written policies. Good job!
I have one question before I approve - Is there a reason behind renaming the resource_json file?
Contributor
Author
|
The resource_json files were renamed to align with the new service name cloud_stackdriver_logging for consistency across all directories (inputs, policies, and docs). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 12 security policies for Cloud (Stackdriver) Logging service
Changes
12 Security Policies for logging resources:
Complete Documentation for all logging resources with security impact assessments
Test Configurations (compliant and non-compliant) for all policies
Testing Status
✅ Linter: 0 errors
✅ Pre-commit: All checks passed
✅ OPA evaluations: All policies working correctly
Files Changed
inputs/gcp/cloud_stackdriver_logging/- Test configurations (100+ files)policies/gcp/cloud_stackdriver_logging/- Security policies (30+ files)docs/gcp/cloud_stackdriver_logging/- Documentation (40+ files)