mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Java: add extra known frameworks and sample negative samples to manage sarif file sizes
This commit is contained in:
@@ -296,6 +296,9 @@ private class SkipFrameworkModeling extends CharacteristicsImpl::UninterestingTo
|
||||
"java.%", //
|
||||
"javax.%", //
|
||||
"org.apache%", //
|
||||
"org.eclipse%", //
|
||||
"org.gradle%", //
|
||||
"org.slf4j%", //
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ from
|
||||
ApplicationModeMetadataExtractor meta, string package, string type, boolean subtypes, string name,
|
||||
string signature, string input
|
||||
where
|
||||
endpoint.getLocation().getStartLine() % 100 = 0 and
|
||||
characteristic.appliesToEndpoint(endpoint) and
|
||||
confidence >= SharedCharacteristics::highConfidence() and
|
||||
characteristic.hasImplications(any(NegativeSinkType negative), true, confidence) and
|
||||
|
||||
Reference in New Issue
Block a user