mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JavaScript: Bring a few doc comments into line with style guide.
This commit is contained in:
@@ -17,17 +17,17 @@ import javascript
|
||||
* INTERNAL: Do not use directly.
|
||||
*/
|
||||
module HeuristicNames {
|
||||
/** A regular expression that identifies strings that look like they represent secret data that are not passwords. */
|
||||
/** Gets a regular expression that identifies strings that look like they represent secret data that are not passwords. */
|
||||
string suspiciousNonPassword() { result = "(?is).*(secret|account|accnt|(?<!un)trusted).*" }
|
||||
|
||||
/** A regular expression that identifies strings that look like they represent secret data that are passwords. */
|
||||
/** Gets a regular expression that identifies strings that look like they represent secret data that are passwords. */
|
||||
string suspiciousPassword() { result = "(?is).*(password|passwd).*" }
|
||||
|
||||
/** A regular expression that identifies strings that look like they represent secret data. */
|
||||
/** Gets a regular expression that identifies strings that look like they represent secret data. */
|
||||
string suspicious() { result = suspiciousPassword() or result = suspiciousNonPassword() }
|
||||
|
||||
/**
|
||||
* A regular expression that identifies strings that look like they represent data that is
|
||||
* Gets a regular expression that identifies strings that look like they represent data that is
|
||||
* hashed or encrypted.
|
||||
*/
|
||||
string nonSuspicious() {
|
||||
|
||||
Reference in New Issue
Block a user