Skip to content

Commit cb686ea

Browse files
authored
Merge pull request github#6388 from github/geoffw0-patch-2
Update query-metadata-style-guide.md
2 parents b1e5fbe + 5e6e176 commit cb686ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/query-metadata-style-guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ When you tag a query like this, the associated CWE pages from [MITRE.org](https:
166166
Code Scanning may use tags to identify queries with specific meanings across languages. Currently, there is only one such tag: `lines-of-code`. The sum of the results for queries with this tag that return a single number column ([example for JavaScript](https://github.com/github/codeql/blob/c47d680d65f09a851e41d4edad58ffa7486b5431/java/ql/src/Metrics/Summaries/LinesOfCode.ql)) is interpreted by Code Scanning as the lines of code under the source root present in the database. Each language should have exactly one query of this form.
167167

168168

169+
Maintainers are expected to add a `@security-severity` tag to security relevant queries that will be run on Code Scanning. There is a documented internal process for generating these `@security-severity` values.
170+
169171
## QL area
170172

171173
### Alert messages

0 commit comments

Comments
 (0)