File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
test/queries/style/MissingSecuritySeverity/testcases Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ predicate missingSecuritySeverity(QLDoc doc) {
1515 exists ( string securityTag | securityTag = s .splitAt ( "@" ) |
1616 securityTag .matches ( "tags%security%" )
1717 ) and
18+ exists ( string precisionTag | precisionTag = s .splitAt ( "@" ) |
19+ precisionTag .matches ( "precision %" )
20+ ) and
1821 not exists ( string securitySeverity | securitySeverity = s .splitAt ( "@" ) |
1922 securitySeverity .matches ( "security-severity %" )
2023 )
Original file line number Diff line number Diff line change 1+ /**
2+ * @name Some query
3+ * @description Some description
4+ * @kind problem
5+ * @problem.severity warning
6+ * @id ql/some-query
7+ * @tags quality
8+ * security
9+ */
10+
11+ import ql
12+
13+ from Class c
14+ select c
You can’t perform that action at this time.
0 commit comments