Organizational email addresses and phone numbers may be exported to a shared or incorrect spreadsheet
Source references: 4The command reads names, email addresses, and phone numbers from domain-directory profiles, then appends every contact to an arbitrary `SHEET_ID`. The Skill does not require confirmation that directory export is authorized or check the destination spreadsheet's owner and sharing scope.
If the spreadsheet ID is wrong, externally accessible, or the user is not permitted to export the organizational directory in bulk, contact details for up to the first 100 people may be improperly disclosed.
The recipe explicitly reads names, email addresses, and phone numbers from an organization directory and writes contact rows to a caller-supplied `SHEET_ID`. This can occur only when the executor is authenticated and has the necessary directory and spreadsheet access; the source does not show that any export already occurred. The steps do not require checking the destination owner, sharing scope, or export authorization, so a mistaken or broadly shared sheet could expose organizational contact data. A user can ask for destination/sharing confirmation and restrict directory and Sheets permissions.
1. List contacts: `gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json`2. Create a sheet: `gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'`Show 3 other places
1. List contacts: `gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json`2. Create a sheet: `gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'`3. Append each contact row: `gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Jane Doe", "jane@company.com", "+1-555-0100"]'`2. Create a sheet: `gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'`3. Append each contact row: `gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Jane Doe", "jane@company.com", "+1-555-0100"]'`Export Google Contacts directory to a Google Sheets spreadsheet.