зеркало из https://github.com/microsoft/DevSkim.git
Reduce False Positives for HTTP detection Rule (#578)
* Exclude xmlnx:xsi * Fix typo in self-test * Update Changelog.md
This commit is contained in:
Родитель
e3d6c3bd52
Коммит
7a4db567c1
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.17] - 2023-08-07
|
||||
### Rules
|
||||
Improve HTTP url detection rule to exclude more schema definitions.
|
||||
|
||||
## [1.0.16] - 2023-08-04
|
||||
### Fixes
|
||||
Fixes an issue with loading settings in the Visual Studio extension.
|
||||
|
|
|
@ -57,6 +57,18 @@
|
|||
"negate_finding": true,
|
||||
"search_in": "finding-region(-1, 0)"
|
||||
},
|
||||
{
|
||||
"pattern" :
|
||||
{
|
||||
"pattern": "xmlns:xsi=",
|
||||
"type": "substring",
|
||||
"scopes": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
"negate_finding": true,
|
||||
"search_in": "finding-region(-1, 0)"
|
||||
},
|
||||
{
|
||||
"pattern" :
|
||||
{
|
||||
|
@ -123,7 +135,8 @@
|
|||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
|
||||
"https://",
|
||||
"this is \"https://foo.com\"",
|
||||
"<SCRIPT SRC=\"//BLAH\"></SCRIPT>"
|
||||
"<SCRIPT SRC=\"//BLAH\"></SCRIPT>",
|
||||
"xmlns:xsi=\"http://www.w3.org/someschema/\""
|
||||
]
|
||||
}
|
||||
]
|
Загрузка…
Ссылка в новой задаче