Skip to content

Commit 849ec72

Browse files
authored
Update customizing-library-models-for-java-and-kotlin.rst
1 parent 48e23e6 commit 849ec72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/codeql/codeql-language-guides/customizing-library-models-for-java-and-kotlin.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ The first four values identify the callable (in this case a method) to be modele
293293
- The sixth value ``manual`` is the provenance of the neutral.
294294

295295
Threat models
296-
~~~~~~~~~~~~~
296+
-------------
297297

298298
.. include:: ../reusables/beta-note-threat-models-java.rst
299299

@@ -304,6 +304,7 @@ Threat models
304304
You can extend the CodeQL threat model to specify other sources of untrusted data. For example, if your codebase considers local files to be sources of tainted data, you can specify the `local` threat model to be used in CodeQL analysis.
305305

306306
The shared `threat-models` library pack exposes the following extensible predicates:
307+
307308
- ``threatModelConfiguration(string kind, boolean enabled, int priority)``. This is used to configure which threat models are enabled or disabled for the analysis.
308309
- ``threatModelGrouping(string kind, string group)``. This is used to define the taxonomy of threat models as a parent-child hierarchy.
309310

0 commit comments

Comments
 (0)