From 72c32d4488d9886642a84a4ed2d1661b36d9e7e7 Mon Sep 17 00:00:00 2001 From: Jeroen Dekkers Date: Fri, 2 Jun 2023 13:39:33 +0200 Subject: [PATCH] :bug: fix incorrect TLS finding definition (1.8) (#1096) Co-authored-by: zcrt <115991818+zcrt@users.noreply.github.com> Co-authored-by: Mark Janssen <20283+praseodym@users.noreply.github.com> Co-authored-by: ammar92 --- boefjes/boefjes/plugins/kat_ssl_scan/normalize.py | 2 +- rocky/OOI_database_seed.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boefjes/boefjes/plugins/kat_ssl_scan/normalize.py b/boefjes/boefjes/plugins/kat_ssl_scan/normalize.py index a1c86c7fb2c..1eb9609f265 100644 --- a/boefjes/boefjes/plugins/kat_ssl_scan/normalize.py +++ b/boefjes/boefjes/plugins/kat_ssl_scan/normalize.py @@ -35,7 +35,7 @@ def run(normalizer_meta: NormalizerMeta, raw: Union[bytes, str]) -> Iterator[OOI yield kft yield Finding(finding_type=kft.reference, ooi=website_reference) elif ("tls", "1.0", True) in protocols and ("tls", "1.1", True) in protocols: - kft = KATFindingType(id="KAT-TLS-1.1-AND-1.2-SUPPORT") + kft = KATFindingType(id="KAT-TLS-1.0-AND-1.1-SUPPORT") yield kft yield Finding(finding_type=kft.reference, ooi=website_reference) elif ("tls", "1.2", False) in protocols: diff --git a/rocky/OOI_database_seed.json b/rocky/OOI_database_seed.json index af1f8d8f0c3..974a0dd4496 100644 --- a/rocky/OOI_database_seed.json +++ b/rocky/OOI_database_seed.json @@ -420,7 +420,7 @@ }, { "model": "tools.ooiinformation", - "pk": "KATFindingType|KAT-TLS-1.1-AND-1.2-SUPPORT", + "pk": "KATFindingType|KAT-TLS-1.0-AND-1.1-SUPPORT", "fields": { "last_updated": "2021-08-09T14:50:09.835Z", "data": {