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

Competition-detector-fix: fixed helpscout detector regex and verifier #2056

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

ankushgoel27
Copy link
Contributor

@ankushgoel27 ankushgoel27 commented Oct 30, 2023

Description:

I created a helpscout account and regenerated token many times and it always gave a [a-z0-9]{40} char long token and not the [A-Za-z0-9]{56} one so i replaced the regex. Maybe that was old format and not valid anymore. i have no way to check if the old format style tokens are supported or not. if they are, we can have a OR style regex match or i can close this PR and create a V2 style detector for the helpscout.

Verifier:
https://developer.helpscout.com/docs-api/

It suggests a basic auth-style API call so added that logic as well
helpscout

Checklist:

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

@zricethezav zricethezav added the Hacktoberfest-Detector-Competition-Fix Apply this label if you are fixing a detector for the detector competition label Oct 30, 2023
@zricethezav zricethezav merged commit ab89689 into trufflesecurity:main Nov 2, 2023
@zricethezav
Copy link
Collaborator

confirmed token change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest-Detector-Competition-Fix Apply this label if you are fixing a detector for the detector competition
Development

Successfully merging this pull request may close these issues.

2 participants