feat(googleworkspace): add groups service checks#11186
Conversation
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
|
✅ All necessary |
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11186 +/- ##
==========================================
+ Coverage 93.97% 95.58% +1.60%
==========================================
Files 237 60 -177
Lines 34829 1629 -33200
==========================================
- Hits 32729 1557 -31172
+ Misses 2100 72 -2028
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🔒 Container Security ScanImage: 📊 Vulnerability Summary
5 package(s) affected
|
danibarranqueroo
left a comment
There was a problem hiding this comment.
Good job! Please review this two little suggestions.
02eb257 to
947ea8d
Compare
Context
Groups service checks for the Google Workspace provider. This PR implements the 3 automatable CIS controls for Groups for Business using the Cloud Identity Policy API (
groups_for_business.groups_sharingsetting).Description
Implements 3 CIS Google Workspace Groups controls covering external access, group creation restrictions, and conversation visibility:
Groups (3):
collaboration_capabilityisDOMAIN_USERS_ONLYor absent (secure default)create_groups_access_levelisADMIN_ONLY,owners_can_allow_external_membersisfalse, andowners_can_allow_incoming_mail_from_publicisfalseview_topics_default_access_levelisGROUP_MEMBERSDefault field values from the Policy API are handled explicitly: fields absent from the API response are treated according to their documented defaults (
DOMAIN_USERS_ONLYis secure for 3.1.6.1;USERS_IN_DOMAINandtruefor incoming mail are insecure for 3.1.6.2;DOMAIN_USERSis insecure for 3.1.6.3).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.