Skip to content

Commit a72b134

Browse files
committed
Add a comment on how to run the query
1 parent 1a2e341 commit a72b134

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

java/ql/src/experimental/Security/CWE/CWE-016/InsecureSpringActuatorConfig.ql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
* external/cwe-016
99
*/
1010

11+
/*
12+
* Note this query requires properties files to be indexed before it can produce results.
13+
* If creating your own database with the CodeQL CLI, you should run
14+
* `codeql database index-files --language=properties ...`
15+
* If using lgtm.com, you should add `properties_files: true` to the index block of your
16+
* lgtm.yml file (see https://lgtm.com/help/lgtm/java-extraction)
17+
*/
18+
1119
import java
1220
import semmle.code.configfiles.ConfigFiles
1321
import semmle.code.xml.MavenPom

0 commit comments

Comments
 (0)