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 scrutinizerci scanner #343

Merged
merged 6 commits into from
Apr 19, 2022
Merged

Added scrutinizerci scanner #343

merged 6 commits into from
Apr 19, 2022

Conversation

roxanne-tampus
Copy link
Contributor

No description provided.

client = common.SaneHttpClient()

//Make sure that your group is surrounded in boundry characters such as below to reduce false positives
keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"scrutinizerci"}) + `\b([0-9a-z]{64})\b`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change this to be just scrutinizer to catch scrutinizer ci, scrutinizer-ci, scrutinizer, etc

Copy link
Contributor

Choose a reason for hiding this comment

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

Same with L29 too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Commited the changes

// Keywords are used for efficiently pre-filtering chunks.
// Use identifiers in the secret preferably, or the provider name.
func (s Scanner) Keywords() []string {
return []string{"scrutinizerci"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please update this line too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

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

* added scrutinizerci scanner

* updated scrutinizer

* updated scrutinizer keyword
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

2 participants