This commit is contained in:
Joe Farebrother 2024-08-30 13:51:33 +01:00
Родитель 5360192a58
Коммит ec7ad84cd1
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -41,8 +41,9 @@ module CleartextLogging {
*/
class SensitiveDataSourceAsSource extends Source, SensitiveDataSource {
SensitiveDataSourceAsSource() {
not SensitiveDataSource.super.getClassification() in
[SensitiveDataClassification::id(), SensitiveDataClassification::certificate()]
not SensitiveDataSource.super.getClassification() in [
SensitiveDataClassification::id(), SensitiveDataClassification::certificate()
]
}
override SensitiveDataClassification getClassification() {

Просмотреть файл

@ -40,8 +40,9 @@ module CleartextStorage {
*/
class SensitiveDataSourceAsSource extends Source, SensitiveDataSource {
SensitiveDataSourceAsSource() {
not SensitiveDataSource.super.getClassification() in
[SensitiveDataClassification::id(), SensitiveDataClassification::certificate()]
not SensitiveDataSource.super.getClassification() in [
SensitiveDataClassification::id(), SensitiveDataClassification::certificate()
]
}
override SensitiveDataClassification getClassification() {