def run(arguments = {})
      arguments = arguments.with_indifferent_access
      attributes['external_account_id'] ||= arguments[:external_account_id]
      attributes['region'] ||= arguments[:region]

      response = connection.post("#{self.class.prefix}signatures/#{id}/run.json", to_json)
      ESP::Alert.send(:instantiate_collection, self.class.format.decode(response.body))
    rescue ActiveResource::BadRequest, ActiveResource::ResourceInvalid, ActiveResource::ResourceNotFound => error
      load_remote_errors(error, true)
      self.code = error.response.code
      self
    end
def run(arguments = {})
      arguments = arguments.with_indifferent_access
      attributes['external_account_id'] ||= arguments[:external_account_id]
      attributes['region'] ||= arguments[:region]

      response = connection.post("#{self.class.prefix}signatures/#{id}/run.json", to_json)
      ESP::Alert.send(:instantiate_collection, self.class.format.decode(response.body))
    rescue ActiveResource::BadRequest, ActiveResource::ResourceInvalid, ActiveResource::ResourceNotFound => error
      load_remote_errors(error, true)
      self.code = error.response.code
      self
    end
Run this signature.
 Returns a collection of alerts.
 If not successful, returns a Signature object with the errors object populated.

 @param arguments [Hash] Required hash of run arguments.
   ===== Valid Arguments

   See {API documentation}[http://api-docs.evident.io?ruby#signature-run] for valid arguments
 @return [ActiveResource::PaginatedCollection<ESP::Alert>, self]
 @example
   signature = ESP::Signature.find(3)
   alerts = signature.run(external_account_id: 3, region: 'us_east_1')