Skip to content

Commit 07bc1fe

Browse files
committed
Docs: Threat-models supported in JS
Capturing - 7d3793e - e35c2b2 - e11bfc2
1 parent 84f6b89 commit 07bc1fe

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/codeql/codeql-language-guides/customizing-library-models-for-javascript.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Kinds
506506
Source kinds
507507
~~~~~~~~~~~~
508508

509-
- **remote**: A generic source of remote flow. Most taint-tracking queries will use such a source. Currently this is the only supported source kind.
509+
See documentation below for :ref:`Threat models <threat-models-javascript>`.
510510

511511
Sink kinds
512512
~~~~~~~~~~
@@ -529,3 +529,10 @@ Summary kinds
529529

530530
- **taint**: A summary that propagates taint. This means the output is not necessarily equal to the input, but it was derived from the input in an unrestrictive way. An attacker who controls the input will have significant control over the output as well.
531531
- **value**: A summary that preserves the value of the input or creates a copy of the input such that all of its object properties are preserved.
532+
533+
.. _threat-models-javascript:
534+
535+
Threat models
536+
-------------
537+
538+
.. include:: ../reusables/threat-model-description.rst

docs/codeql/reusables/beta-note-threat-models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Note
44

5-
Threat models are currently in beta and subject to change. During the beta, threat models are supported only by Java, C# and Python analysis.
5+
Threat models are currently in beta and subject to change. During the beta, threat models are supported only by Java, C#, Python and JavaScript/TypeScript analysis.

0 commit comments

Comments
 (0)