Updating Node SHA1 rule and tests
What does this MR do?
This MR updates the Node SHA1 rule and its correponsing test file.
- It adds new libraries and new syntaxes for generating SHA1 Hashes.
- It updates the description to add detailed explanation and secure code example.
- It updates the rule metadata.
- It updates the test cases to cover all the syntaxes for different ways of generating SHA1 hashes.
What are the relevant issue numbers?
Addresses issue : gitlab-org/gitlab#440266 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Bhavya Kaushal