module Controls::Client::Trends
A module to encapsulate API methods related to trends @since API v1.0 @version v1.0.1
Public Instance Methods
configuration_trends(configuration)
click to toggle source
@param [String] configuration the name of the configuration for which
to receive trending for
@return [Array<Hash>] a list of hashes representing trending data over
time
# File lib/controls/client/trends.rb, line 13 def configuration_trends(configuration) get "/configurations/#{configuration}/trend" end
Also aliased as: trends_by_configuration
threat_trends(threat)
click to toggle source
@param [String] threat the name of the threat for which
to receive trending for
@return [Array<Hash>] a list of hashes representing trending data over
time
# File lib/controls/client/trends.rb, line 22 def threat_trends(threat) get "/threats/#{threat}/trend" end
Also aliased as: trends_by_threat
threat_vector_trends(threat_vector)
click to toggle source
@param [String] threat_vector the name of the threat_vector for which
to receive trending for
@return [Array<Hash>] a list of hashes representing trending data over
time
# File lib/controls/client/trends.rb, line 31 def threat_vector_trends(threat_vector) get "/threat_vectors/#{threat_vector}/trend" end
Also aliased as: trends_by_threat_vector