lib/cloudsmith-api/api/vulnerabilities_api.rb in cloudsmith-api-0.53.79 vs lib/cloudsmith-api/api/vulnerabilities_api.rb in cloudsmith-api-0.54.15

- old
+ new

@@ -18,24 +18,24 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end - # Read-only view to list vulnerabiltiy scan results within a Namespace. - # Read-only view to list vulnerabiltiy scan results within a Namespace. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array<VulnerabilityScanResultsList>] def vulnerabilities_list(owner, opts = {}) data, _status_code, _headers = vulnerabilities_list_with_http_info(owner, opts) return data end - # Read-only view to list vulnerabiltiy scan results within a Namespace. - # Read-only view to list vulnerabiltiy scan results within a Namespace. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array<(Array<VulnerabilityScanResultsList>, Fixnum, Hash)>] Array<VulnerabilityScanResultsList> data, response status code and response headers @@ -75,12 +75,12 @@ @api_client.config.logger.debug "API called: VulnerabilitiesApi#vulnerabilities_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Read-only views to list vulnerabiltiy scan results within a Repository. - # Read-only views to list vulnerabiltiy scan results within a Repository. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. @@ -88,12 +88,12 @@ def vulnerabilities_list0(owner, repo, opts = {}) data, _status_code, _headers = vulnerabilities_list0_with_http_info(owner, repo, opts) return data end - # Read-only views to list vulnerabiltiy scan results within a Repository. - # Read-only views to list vulnerabiltiy scan results within a Repository. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param repo # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. @@ -138,29 +138,29 @@ @api_client.config.logger.debug "API called: VulnerabilitiesApi#vulnerabilities_list0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Read-only views to list vulnerabiltiy scan results within a Repository - # Read-only views to list vulnerabiltiy scan results within a Repository for a given Package identifier. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param repo - # @param package The package that the scan result relates to. + # @param package # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array<VulnerabilityScanResultsList>] def vulnerabilities_list1(owner, repo, package, opts = {}) data, _status_code, _headers = vulnerabilities_list1_with_http_info(owner, repo, package, opts) return data end - # Read-only views to list vulnerabiltiy scan results within a Repository - # Read-only views to list vulnerabiltiy scan results within a Repository for a given Package identifier. + # Checks feature is within plan before listing results. + # Checks feature is within plan before listing results. # @param owner # @param repo - # @param package The package that the scan result relates to. + # @param package # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [Array<(Array<VulnerabilityScanResultsList>, Fixnum, Hash)>] Array<VulnerabilityScanResultsList> data, response status code and response headers def vulnerabilities_list1_with_http_info(owner, repo, package, opts = {}) @@ -207,28 +207,28 @@ @api_client.config.logger.debug "API called: VulnerabilitiesApi#vulnerabilities_list1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Read-only view to retrieve vulnerability scans results using a - # Read-only view to retrieve vulnerability scans results using a vulnerabiltiy scan results identifier (slug_perm). + # Checks feature is within plan before retrieving results. + # Checks feature is within plan before retrieving results. # @param owner # @param repo - # @param package The package that the scan result relates to. - # @param scan_id A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.) + # @param package + # @param scan_id # @param [Hash] opts the optional parameters # @return [VulnerabilityScanResults] def vulnerabilities_read(owner, repo, package, scan_id, opts = {}) data, _status_code, _headers = vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts) return data end - # Read-only view to retrieve vulnerability scans results using a - # Read-only view to retrieve vulnerability scans results using a vulnerabiltiy scan results identifier (slug_perm). + # Checks feature is within plan before retrieving results. + # Checks feature is within plan before retrieving results. # @param owner # @param repo - # @param package The package that the scan result relates to. - # @param scan_id A sequential identifier that increments by one for each new scan result within a package. These are always unique and can be used to reference the scan results elsewhere (e.g. via the CLI.) + # @param package + # @param scan_id # @param [Hash] opts the optional parameters # @return [Array<(VulnerabilityScanResults, Fixnum, Hash)>] VulnerabilityScanResults data, response status code and response headers def vulnerabilities_read_with_http_info(owner, repo, package, scan_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: VulnerabilitiesApi.vulnerabilities_read ..."