https://codeql.github.com/docs/writing-codeql-queries/defining-the-results-of-a-query/
@kind problem
/*** @name Cross-site scripting* @description Writing user input directly to a web page* allows for a cross-site scripting vulnerability.* @kind problem* @problem.severity error* @precision high* @id java/xss* @tags security*/
概述
定义告警查询必需要先在元数据中设置@kind problem属性。
select语句必须选定如下两列内容:
Element, 查询中定义的一个代码元素,用来定义告警的位置。
String, 这个代码元素要显示的信息,用来描述产生这条告警的原因。
占位符

