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

Added typetalk scanner #410

Merged
merged 10 commits into from
Apr 22, 2022
Merged

Added typetalk scanner #410

merged 10 commits into from
Apr 22, 2022

Conversation

roxanne-tampus
Copy link
Contributor

No description provided.

Copy link
Collaborator

@ahrav ahrav left a comment

Choose a reason for hiding this comment

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

nice LGTM 👍

}

if verify {
req, err := http.NewRequestWithContext(ctx, "POST", "https://typetalk.com/oauth2/access_token?client_id="+resIdMatch+"&client_secret="+resMatch+"&grant_type=client_credentials", nil)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Prefer fmt.Sprintf when there are multiple variables within the string.
fmt.Sprintf("https://typetalk.com/oauth2/access_token?client_id=%s&client_secret=%s&grant_type=client_credentials", resIdMatch, resMatch)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pushed the enhancement, thanks @ahrav!

@dustin-decker dustin-decker merged commit 02fb786 into trufflesecurity:main Apr 22, 2022
bill-rich pushed a commit that referenced this pull request May 2, 2022
* added new protos

* added new detectors

* added typetalk scanner

* enhanced endpoint
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.

None yet

3 participants