Python: Always use @id py/

The two queries in CWE-020 are used for manual evaluation (is my
understanding), and the two IDE queries should work based on their tags,
and not on the query-id.
This commit is contained in:
Rasmus Wriedt Larsen
2021-11-10 10:40:17 +01:00
parent 4da1dce811
commit 77099fe9d0
4 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
* @description This reports the external APIs that are used with untrusted data, along with how
* frequently the API is called, and how many unique sources of untrusted data flow
* to it.
* @id python/count-untrusted-data-external-api
* @id py/count-untrusted-data-external-api
* @kind table
* @tags security external/cwe/cwe-20
*/

View File

@@ -1,7 +1,7 @@
/**
* @name Untrusted data passed to external API
* @description Data provided remotely is used in this external API without sanitization, which could be a security risk.
* @id python/untrusted-data-to-external-api
* @id py/untrusted-data-to-external-api
* @kind path-problem
* @precision low
* @problem.severity error

View File

@@ -3,7 +3,7 @@
* @description Generates use-definition pairs that provide the data
* for jump-to-definition in the code viewer.
* @kind definitions
* @id python/ide-jump-to-definition
* @id py/ide-jump-to-definition
* @tags ide-contextual-queries/local-definitions
*/

View File

@@ -3,7 +3,7 @@
* @description Generates use-definition pairs that provide the data
* for find-references in the code viewer.
* @kind definitions
* @id python/ide-find-references
* @id py/ide-find-references
* @tags ide-contextual-queries/local-references
*/