Files
codeql/python/ql/src/Diagnostics/ExtractorErrorMsft.ql
Dilan Bhalla eb56cb94b0 metadata fixes
2024-11-22 14:29:43 -08:00

17 lines
384 B
Plaintext

/**
* @name Python extraction warnings msft
* @description List all extraction warnings for Python files in the source code directory.
* @id py/extractor-error-msft
* @kind problem
* @tags security
* extraction
*/
import python
from SyntaxError error, File file
where
file = error.getFile() and
exists(file.getRelativePath())
select file, error.getMessage()