module Controls::Client::PrioritizedGuidance
A module to encapsulate API methods related to guidance @since API v1.0 @version v1.0.0
Public Instance Methods
prioritized_guidance_by_configuration(configuration)
click to toggle source
@param [String] configuration the configuration name to search by @return [Array<Hash>] an array of “guidance hashes”
# File lib/controls/client/prioritized_guidance.rb, line 17 def prioritized_guidance_by_configuration(configuration) get "/configurations/#{configuration}/prioritized_guidance" end
prioritized_guidance_by_security_control(security_control)
click to toggle source
@param [String] security_control the security control name to search by @return [Array<Hash>] an array of “guidance hashes”
# File lib/controls/client/prioritized_guidance.rb, line 11 def prioritized_guidance_by_security_control(security_control) get "/security_controls/#{security_control}/prioritized_guidance" end
prioritized_guidance_by_threat(threat)
click to toggle source
@param [String] threat the threat name to search by @return [Array<Hash>] an array of “guidance hashes”
# File lib/controls/client/prioritized_guidance.rb, line 23 def prioritized_guidance_by_threat(threat) get "/threats/#{threat}/prioritized_guidance" end
prioritized_guidance_by_threat_vector(threat_vector)
click to toggle source
@param [String] threat_vector the threat name to search by @return [Array<Hash>] an array of “guidance hashes”
# File lib/controls/client/prioritized_guidance.rb, line 29 def prioritized_guidance_by_threat_vector(threat_vector) get "/threat_vectors/#{threat_vector}/prioritized_guidance" end