Skip to content

Commit 452d1d0

Browse files
authored
Add details about query tagging to supported-queries.md
Add some details about query tagging (see https://wiki.semmle.com/display/IN/Query+tags and https://wiki.semmle.com/display/IN/Modelling+CWEs+at+Semmle).
1 parent 0b09bfe commit 452d1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/supported-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The process must begin with the first step and must conclude with the final step
7070

7171
d. Provide one or more `@tags` describing the query.
7272

73-
- Tags are free-form, but we have some conventions, especially for tagging security queries with corresponding CWE numbers.
73+
- Tags are free-form, but we have some conventions. At a minimum, most queries should have at least one of `correctness`, `maintainability` or `security` to indicate the general kind of issue the query is intended to find. Security queries should also be tagged with corresponding [CWE](https://cwe.mitre.org/data/definitions/1000.html) numbers, for example `external/cwe/cwe-119` (prefer the most specific CWE that encompasses the target of the query).
7474

7575
7. **Move your query out of `experimental`**
7676

0 commit comments

Comments
 (0)