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

Eliminate whitespace and commas from MongoDB match candidates (and resulting fingerprints). #554

Merged
merged 3 commits into from
Sep 8, 2021

Conversation

eddynaka
Copy link
Collaborator

@eddynaka eddynaka commented Sep 8, 2021

Changes

Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items:

  • ReleaseHistory.md updated for non-trivial changes
  • Added unit tests

@michaelcfanning
Copy link
Member

Where is this documented in the release notes? Also, please note the update I made to this PR, let's try to be a bit more descriptive.

Copy link
Member

@michaelcfanning michaelcfanning left a comment

Choose a reason for hiding this comment

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

🕐

@michaelcfanning michaelcfanning changed the title Improving MongoDB regular expression Eliminate whitespace and commas from MongoDB match candidates (and resulting fingerprints). Sep 8, 2021
@eddynaka
Copy link
Collaborator Author

eddynaka commented Sep 8, 2021

I first open the PR and do a second commit adding the releasehistory to get the #. I will also update the releasehistory with that.


In reply to: 915524691

@michaelcfanning
Copy link
Member

Here's the title I chose: Eliminate whitespace and commas from MongoDB match candidates (and resulting fingerprints).

If we work together on good titles, these also serve as good candidates for the release notes documentation.


In reply to: 915524691

`SEC101/036.MySqlCredential`, `SEC101/037.SqlCredentials`,
`SEC101/038.PostgreSqlCredentials` won't accept spaces in `id` and `secret`.
[#550](https://github.com/microsoft/sarif-pattern-matcher/pull/550)
- FPC: Improving MongoDB regular expression removing hosts that contain `\s` or
`,` characters.
Copy link
Member

Choose a reason for hiding this comment

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

'Eliminate whitespace and characters from MongoDB host matches (and resulting fingerprints)'.

Copy link
Member

@michaelcfanning michaelcfanning left a comment

Choose a reason for hiding this comment

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

:shipit:

@eddynaka eddynaka merged commit 7770c07 into main Sep 8, 2021
@eddynaka eddynaka deleted the users/ednakamu/improving-mongodb-regex branch September 8, 2021 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants