Skip to content

Commit a89378d

Browse files
author
Stephan Brandauer
committed
Java: add extra known frameworks and sample negative samples to manage sarif file sizes
1 parent 5ca2221 commit a89378d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

java/ql/src/Telemetry/AutomodelApplicationModeCharacteristics.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ private class SkipFrameworkModeling extends CharacteristicsImpl::UninterestingTo
296296
"java.%", //
297297
"javax.%", //
298298
"org.apache%", //
299+
"org.eclipse%", //
300+
"org.gradle%", //
301+
"org.slf4j%", //
299302
])
300303
}
301304
}

java/ql/src/Telemetry/AutomodelApplicationModeExtractNegativeExamples.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ from
1717
ApplicationModeMetadataExtractor meta, string package, string type, boolean subtypes, string name,
1818
string signature, string input
1919
where
20+
endpoint.getLocation().getStartLine() % 100 = 0 and
2021
characteristic.appliesToEndpoint(endpoint) and
2122
confidence >= SharedCharacteristics::highConfidence() and
2223
characteristic.hasImplications(any(NegativeSinkType negative), true, confidence) and

0 commit comments

Comments
 (0)