Skip to content

Commit

Permalink
another log
Browse files Browse the repository at this point in the history
  • Loading branch information
ssunday committed Nov 5, 2024
1 parent 9c51d2c commit f173271
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/aws/rails/middleware/ebs_sqs_active_job_middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def call(env)
@logger.debug('aws-sdk-rails middleware detected call from Elastic Beanstalk SQS Daemon.')
@logger.debug("SQSD request detected from IP: #{request.ip}.")
@logger.debug("SQSD request detected from Remote IP: #{request.remote_ip}.")
@logger.debug("SQSD request detected from Remote ADDR: #{request.remote_addr}.")

# Only accept requests from this user agent if it is from localhost or a docker host in case of forgery.
unless request.local? || sent_from_docker_host?(request)
Expand Down

0 comments on commit f173271

Please sign in to comment.