Java: Cleanup threat model taxanomy to align with the EDR.

This commit is contained in:
Michael Nebel
2023-09-28 10:52:05 +02:00
parent 5c700afa27
commit 5b949b19f7
7 changed files with 10 additions and 13 deletions

View File

@@ -59,7 +59,7 @@ class Test {
}
public void M5(Statement handle) throws Exception {
// Only a source if "cli" is a selected threat model.
// Only a source if "commandargs" is a selected threat model.
byte[] data = new byte[1024];
System.in.read(data);

View File

@@ -5,7 +5,7 @@ extensions:
extensible: supportedThreatModels
data:
- ["environment"]
- ["cli"]
- ["commandargs"]
- addsTo:
pack: codeql/java-all

View File

@@ -1,6 +1,6 @@
/**
* This is a dataflow test using the "default" threat model with the
* addition of "environment" and "cli".
* addition of "environment" and "commandargs".
*/
import Test

View File

@@ -2,4 +2,3 @@
| remote |
| request |
| response |
| uri-path |

View File

@@ -1,4 +1,4 @@
| cli |
| commandargs |
| database |
| default |
| environment |
@@ -7,4 +7,3 @@
| remote |
| request |
| response |
| uri-path |