feat(googleworkspace): add Gmail consequence-based checks for attachment safety and spoofing#10980
Conversation
Compliance Mapping ReviewThis PR adds new checks. Please verify that they have been mapped to the relevant compliance framework requirements. New checks already mapped in this PR
Use the |
|
✅ All necessary |
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10980 +/- ##
===========================================
+ Coverage 7.71% 94.52% +86.80%
===========================================
Files 850 47 -803
Lines 24669 1315 -23354
===========================================
- Hits 1904 1243 -661
+ Misses 22765 72 -22693
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…ent safety and spoofing
3f82558 to
c03950a
Compare
🔒 Container Security ScanImage: 📊 Vulnerability Summary
4 package(s) affected
|
danibarranqueroo
left a comment
There was a problem hiding this comment.
Really good job! 🚀 Just one additional thing:
Could you double-check the None cases in these checks against Google’s documented Policy API defaults? I think it’d be good to confirm that every missing field is being interpreted the right way. You can use this page as reference https://docs.cloud.google.com/identity/docs/concepts/policy-api-concepts?hl=es#default_field_values
danibarranqueroo
left a comment
There was a problem hiding this comment.
Thanks for this, really good job! 🚀
Context
Second batch of Gmail checks for the Google Workspace provider. PR 1 implemented the service infrastructure and 9 boolean-based checks. This PR adds the remaining 8 automatable checks that evaluate paired boolean + consequence fields from the Policy API.
Description
Implements 8 CIS Google Workspace Gmail controls covering attachment safety and spoofing/authentication protections:
Attachment Safety (3):
Spoofing and Authentication (5):
Checklist
Community Checklist
SDK/CLI
UI
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.