Skip to content

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

Merged
eddynaka merged 3 commits into
mainfrom
users/ednakamu/improving-mongodb-regex
Sep 8, 2021
Merged

Eliminate whitespace and commas from MongoDB match candidates (and resulting fingerprints).#554
eddynaka merged 3 commits into
mainfrom
users/ednakamu/improving-mongodb-regex

Conversation

@eddynaka

@eddynaka eddynaka commented Sep 8, 2021

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

@michaelcfanning michaelcfanning left a comment

Copy link
Copy Markdown
Member

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

eddynaka commented Sep 8, 2021

Copy link
Copy Markdown
Collaborator Author

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
Copy Markdown
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

Comment thread Src/ReleaseHistory.md Outdated
`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
Copy Markdown
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)'.

@michaelcfanning michaelcfanning left a comment

Copy link
Copy Markdown
Member

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