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 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