We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862e55a commit b0625d0Copy full SHA for b0625d0
lib/datadog/appsec/contrib/rails/patcher.rb
@@ -152,6 +152,8 @@ def report_routes_via_telemetry(routes)
152
return unless Datadog.configuration.appsec.api_security.endpoint_collection.enabled
153
return unless AppSec.telemetry
154
155
+ return unless AppSec.telemetry
156
+
157
GUARD_ROUTES_REPORTING_ONCE_PER_APP[::Rails.application].run do
158
AppSec.telemetry.app_endpoints_loaded(
159
APISecurity::EndpointCollection::RailsCollector.new(routes).to_enum
0 commit comments