mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Exclude certificates from being cinsidered sensitive data by cleartext-storage and cleartext-logging queries
This commit is contained in:
@@ -41,7 +41,8 @@ module CleartextLogging {
|
||||
*/
|
||||
class SensitiveDataSourceAsSource extends Source, SensitiveDataSource {
|
||||
SensitiveDataSourceAsSource() {
|
||||
not SensitiveDataSource.super.getClassification() = SensitiveDataClassification::id()
|
||||
not SensitiveDataSource.super.getClassification() =
|
||||
[SensitiveDataClassification::id(), SensitiveDataClassification::certificate()]
|
||||
}
|
||||
|
||||
override SensitiveDataClassification getClassification() {
|
||||
|
||||
@@ -40,7 +40,8 @@ module CleartextStorage {
|
||||
*/
|
||||
class SensitiveDataSourceAsSource extends Source, SensitiveDataSource {
|
||||
SensitiveDataSourceAsSource() {
|
||||
not SensitiveDataSource.super.getClassification() = SensitiveDataClassification::id()
|
||||
not SensitiveDataSource.super.getClassification() =
|
||||
[SensitiveDataClassification::id(), SensitiveDataClassification::certificate()]
|
||||
}
|
||||
|
||||
override SensitiveDataClassification getClassification() {
|
||||
|
||||
Reference in New Issue
Block a user