Update js-analyse.yaml

patch-1
mohamed ayadi 2023-03-10 11:37:50 +01:00 committed by GitHub
parent 81c40aa4e2
commit e840b2d7fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -21,14 +21,14 @@ file:
- type: regex
name: Extracted-Endpoints
regex:
#case : './path/file' or "/path/file"
# case : './path/file' or "/path/file"
- "(?i)('|\")((\\.{0,2})|([a-z0-9-_]*))/([a-z0-9-_/=:&?\\.]+)('|\")"
#case "`${ this.hostServer }/rest/basket/${ e }"
# case "`${ this.hostServer }/rest/basket/${ e }"
- "(?i)}\\s*/[a-z0-9-_?=&/]+"
#case "path: 'login',"
# 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 )
# 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\\./?&-_=:]+"