Merge pull request #5171 from RasmusWL/restructure-queries

Python: Restructure query file layout
This commit is contained in:
Taus
2021-02-17 12:09:32 +01:00
committed by GitHub
225 changed files with 42 additions and 40 deletions

View File

@@ -36,7 +36,7 @@
example uses AES, which is a stronger modern algorithm.
</p>
<sample src="examples/broken_crypto.py" />
<sample src="examples/weak_crypto_algorithm.py" />
<p>
WARNING: Although the second example above is more robust,

View File

@@ -41,6 +41,7 @@ private import semmle.python.objects.ObjectInternal
* A callable that is considered a "safe" external API from a security perspective.
*/
class SafeExternalAPI extends Unit {
/** Gets a callable that is considered a "safe" external API from a security perspective. */
abstract DataFlowPrivate::DataFlowCallable getSafeCallable();
}

View File

@@ -0,0 +1 @@
Security/BadPractice/BindToAllInterfaces/BindToAllInterfaces.ql

View File

@@ -0,0 +1 @@
Security/BadPractice/FlaskRunWithDebug/FlaskDebug.ql

View File

@@ -0,0 +1 @@
semmle-extractor-options: --max-import-depth=2 -p ../../lib

View File

@@ -0,0 +1 @@
Security/BadPractice/HTTPSRequestWithoutCertValidation/HTTPSRequestWithoutCertValidation.ql

View File

@@ -0,0 +1 @@
semmle-extractor-options: -p ../../lib --max-import-depth=3

View File

@@ -0,0 +1 @@
Security/BadPractice/HardcodedCredentials/HardcodedCredentials.ql

View File

@@ -0,0 +1 @@
Security/BadPractice/IncompleteUrlSanitizer/IncompleteHostnameRegExp.ql

Some files were not shown because too many files have changed in this diff Show More