Module: Datadog::AppSec::Contrib::ActiveRecord::Instrumentation::InternalExecQueryAdapterPatch
- Defined in:
- lib/datadog/appsec/contrib/active_record/instrumentation.rb
Overview
patch for mysql2, sqlite3, and postgres+jdbc adapters in ActiveRecord >= 7.1
Instance Method Summary collapse
Instance Method Details
#internal_exec_query(sql, *args, **rest) ⇒ Object
48 49 50 51 52 |
# File 'lib/datadog/appsec/contrib/active_record/instrumentation.rb', line 48 def internal_exec_query(sql, *args, **rest) Instrumentation.detect_sql_injection(sql, adapter_name) super end |