Update js-analyse.yaml

removing comments
patch-1
mohamed ayadi 2023-03-10 11:44:27 +01:00 committed by GitHub
parent e840b2d7fa
commit 3a0d2cdf2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -21,14 +21,10 @@ file:
- type: regex
name: Extracted-Endpoints
regex:
# case : './path/file' or "/path/file"
- "(?i)('|\")((\\.{0,2})|([a-z0-9-_]*))/([a-z0-9-_/=:&?\\.]+)('|\")"
# case "`${ this.hostServer }/rest/basket/${ e }"
- "(?i)}\\s*/[a-z0-9-_?=&/]+"
# case "path: 'login',"
- "(?i)path\\s*(:|=)\\s*('|\")[a-z0-9-_?=&:\\./]+('|\")"
- type: regex
name: Extracted-URI
regex:
# case we have a URI that match any of the following schemas (http|https|file|data|resource|ftp|mailto|ssh|tel|urn|ws|wss ... etc )
- "(?i)([a-z]{0,10}):(//|/)[a-z0-9\\./?&-_=:]+"