class HybridAnalysis::Clients::AbuseReports

Public Instance Methods

new(sha256:, reason: ) click to toggle source

Allows to request removal

@param [String] sha256 SHA256 of the sample you want to report @param [String] reason Report reason

@return [Hash]

# File lib/hybridanalysis/clients/abuse_reports.rb, line 14
def new(sha256:, reason: )
  params = {
    sha256: sha256,
    reason: reason
  }.compact
  _post("/abuse-reports/new", params) { |json| json }
end