sensu-plugins/sensu-plugins-aws

View on GitHub
bin/handler-ses.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method handle has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def handle
    mail_to = build_mail_to_list
    body = <<-BODY.gsub(/^\s+/, '')
            #{@event['check']['output']}
            Host: #{@event['client']['name']}
Severity: Minor
Found in bin/handler-ses.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status