From b086cefad9c91b3c99d6d72b54f7585cb056a4da Mon Sep 17 00:00:00 2001 From: Rinat Sabitov Date: Mon, 29 Jul 2019 11:24:50 +0300 Subject: [PATCH] New version --- pyproject.toml | 2 +- src/kcare_qualys.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 72e4be7..b26a9ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kcare-qualys" -version = "0.1.14" +version = "0.1.15" description = "The script marks vulnerabilities detected by Qualys, but patched by KernelCare as exceptions" authors = ["Rinat Sabitov "] license = "Apache-2.0" diff --git a/src/kcare_qualys.py b/src/kcare_qualys.py index 3c6a918..e8f022a 100644 --- a/src/kcare_qualys.py +++ b/src/kcare_qualys.py @@ -95,6 +95,8 @@ def wrapper(asset): key = (asset.kernel_id, asset.patch_level) if key not in _CACHE: _CACHE[key] = clbl(asset) + else: + print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111") return _CACHE[key] return wrapper @@ -205,7 +207,7 @@ def get_latest(kernel): return int(resp.text) -# @connection_wrapper +@connection_wrapper def summary(args, qgc, keys): if args.files: