From 476d99c48b0a75b4fb7278e3d449503937c0f339 Mon Sep 17 00:00:00 2001 From: elsapet Date: Mon, 3 Jun 2024 13:16:21 +0200 Subject: [PATCH 1/2] fix: indeterminate identifier in airbrake rule --- rules/python/third_parties/airbrake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/python/third_parties/airbrake.yml b/rules/python/third_parties/airbrake.yml index 95e27467..e7f0f3fc 100644 --- a/rules/python/third_parties/airbrake.yml +++ b/rules/python/third_parties/airbrake.yml @@ -14,7 +14,7 @@ patterns: - variable: DATA_TYPE detection: python_shared_lang_datatype scope: result - - pattern: $[$<...>][$<...>] = $<...>$$<...> + - pattern: $[$<_>][$<_>] = $<...>$$<...> filters: - variable: NOTICE detection: python_third_parties_airbrake_build_notice From 102101e7f5f95d7ae8a93b916f3175a8102d8b18 Mon Sep 17 00:00:00 2001 From: elsapet Date: Mon, 3 Jun 2024 13:18:53 +0200 Subject: [PATCH 2/2] fix: typo in deserialization rule --- rules/python/lang/deserialization_of_user_input.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/python/lang/deserialization_of_user_input.yml b/rules/python/lang/deserialization_of_user_input.yml index 5be3e883..f0005915 100644 --- a/rules/python/lang/deserialization_of_user_input.yml +++ b/rules/python/lang/deserialization_of_user_input.yml @@ -105,7 +105,7 @@ patterns: values: - load - persistent_load - - pattern: $.load($$<...>) + - pattern: $.load($$<...>) filters: - variable: UNSAFE_RUAMEL_YAML detection: python_lang_deserialization_of_user_input_unsafe_ruamel_yaml