Skip to content

Conversation

@shahzadhaider1
Copy link
Contributor

Adds proto definitions to support Domain-Wide Delegation in the Google Drive source.

Changes:

  • Added GoogleDriveDWD message with fields for service account authentication
  • Added dwd credential option to GoogleDrive message

Fields:

  • service_account_json: Service account JSON key
  • admin_email: Super Admin email for user enumeration
  • include_users: Specific users to scan
  • exclude_users: Users to skip when scanning all

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@shahzadhaider1 shahzadhaider1 requested a review from a team December 9, 2025 16:21
@shahzadhaider1 shahzadhaider1 requested review from a team as code owners December 9, 2025 16:21
Comment on lines +84 to +85
repeated string include_users = 3;
repeated string exclude_users = 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will hold optional arrays of targeted or excluded emails, right?

Also, this might be a bit early to ask since we haven’t implemented it yet, but it would be helpful to know whether this will also support distribution lists like devs@trufflesec.com

Copy link
Contributor

@amanfcp amanfcp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFTM

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