From c79fd95f66c37a4ddefebc7a54a4c58b44ee97bc Mon Sep 17 00:00:00 2001 From: frack113 <62423083+frack113@users.noreply.github.com> Date: Fri, 3 Jun 2022 15:39:41 +0200 Subject: [PATCH] refactor condition --- rules/application/python/app_python_sql_exceptions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/application/python/app_python_sql_exceptions.yml b/rules/application/python/app_python_sql_exceptions.yml index 9b3aafead..a070253a0 100644 --- a/rules/application/python/app_python_sql_exceptions.yml +++ b/rules/application/python/app_python_sql_exceptions.yml @@ -11,12 +11,12 @@ logsource: category: application product: python detection: - selection: + keywords: - DataError - IntegrityError - ProgrammingError - OperationalError - condition: selection + condition: keywords falsepositives: - Application bugs level: medium