Module: Controls::Client::Findings

Included in:
Controls::Client
Defined in:
lib/controls/client/findings.rb

Overview

A module to encapsulate API methods related to assets

todo
  • this version is obviously off

Since:

  • API v1.0

Version:

  • v1.7.0

Security Control/Configuration Findings Methods collapse

Instance Method Details

#findings_by_asset_uuid(uuid, params = {}) ⇒ Hash

Returns a hash representing the matching asset.

Parameters:

  • uuid (String)

    the UUID of the asset to retrieve findings for

Returns:

  • (Hash)

    a hash representing the matching asset

Raises:

  • (Controls::NotFound)

    if the uuid didn’t match any assets

Since:

  • API v1.0



13
14
15
# File 'lib/controls/client/findings.rb', line 13

def findings_by_asset_uuid(uuid, params = {})
  get "/assets/#{uuid}/findings", params
end