Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] DigitalOcean Analyzer #3932

Merged

Conversation

abmussani
Copy link
Contributor

@abmussani abmussani commented Feb 24, 2025

Description:

This PR implements an analyzer for DigitalOcean.

CLI Output:

[!] Valid DigitalOcean API key

[i] User: sevoma (s******@gmail.com)

[i] Permissions:
+-----------------------------+
| PERMISSION                  |
+-----------------------------+
| domain:read                 |
| certificate:read            |
| container_registry:read     |
| cdn_endpoint:read           |
| billing:read                |
| one_click:read              |
| droplet_autoscale_pool:read |
| droplet:read                |
| firewall:read               |
| database:read               |
| floating_ip:read            |
| namespace:read              |
| load_balancer:read          |
| project:read                |
| action:read                 |
| reserved_ip:read            |
| region:read                 |
| size:read                   |
| monitoring:read             |
| ssh_key:read                |
| tag:read                    |
| snapshot:read               |
| uptime:read                 |
| image:read                  |
| vpc:read                    |
| block_storage:read          |
| genai_agent:read            |
| vpc_peering:read            |
| kubernetes:read             |
| domain_record:read          |
| app:read                    |
+-----------------------------+

Test Output:

$go test ./pkg/analyzer/analyzers/digitalocean/
ok  	github.com/trufflesecurity/trufflehog/v3/pkg/analyzer/analyzers/digitalocean

Checklist:

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

@abmussani abmussani self-assigned this Feb 24, 2025
@abmussani abmussani requested review from a team as code owners February 24, 2025 07:12
@zricethezav zricethezav merged commit 03e8af1 into trufflesecurity:main Feb 24, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants