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

Detector-Competition-Feat: Added Vagrant Cloud Access Token Detector #1941

Conversation

fumblehool
Copy link
Contributor

@fumblehool fumblehool commented Oct 22, 2023

Description:

This PR adds detector for VagrantCloud Personal Access Token.
Vagrant => Single workflow to build and manage virtual machine environments
Website: https://www.vagrantup.com/

Category: Developer tool

Docs

link: https://developer.hashicorp.com/vagrant/vagrant-cloud/api/v2

Checklist:

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

Running Tests

Screenshot 2023-10-22 at 7 03 58 PM

How to test locally

  1. Register/Sign up for Vagrant Cloud account: https://app.vagrantup.com/
  2. Goto User Settings > Security > Authentication Tokens and Add description and click Generate Token

Check following image for reference (Note: The token shown in image is invalid, as it is already been deleted. )

Screenshot 2023-10-22 at 6 55 32 PM

@fumblehool fumblehool requested a review from a team as a code owner October 22, 2023 13:41
@dustin-decker dustin-decker added the Hacktoberfest-Detector-Competition-New Apply this label if you are adding a new detector for the detector competition label Oct 24, 2023
@zricethezav
Copy link
Collaborator

@fumblehool very nice, can you resolve the conflicts? (sorry for the repetitiveness of these resolutions)

@zricethezav
Copy link
Collaborator

Also, I'm sure you've already done this but make sure that exposed key in the screenshot is rotated. For future screenshot would you mind blurring them out

@fumblehool fumblehool force-pushed the fumblehool/add-vagrant-cloud-detector branch from f11dc7e to 152dc7f Compare October 24, 2023 18:37
@fumblehool
Copy link
Contributor Author

Done, @zricethezav Updated the branch please merge.

@zricethezav zricethezav merged commit b2811bc into trufflesecurity:main Oct 25, 2023
8 of 9 checks passed
Phoenix591 pushed a commit to Phoenix591/trufflehog that referenced this pull request Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest-Detector-Competition-New Apply this label if you are adding a new detector for the detector competition
Development

Successfully merging this pull request may close these issues.

4 participants