cloudsmith-api 0.53.17 → 0.53.79

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +11 -16
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -1
  6. data/docs/BadgesApi.md +1 -6
  7. data/docs/ConanPackageUpload.md +2 -1
  8. data/docs/DistrosApi.md +2 -12
  9. data/docs/EntitlementUsageMetric.md +8 -0
  10. data/docs/EntitlementsApi.md +10 -60
  11. data/docs/EntitlementsCreate.md +2 -1
  12. data/docs/EntitlementsPartialUpdate.md +2 -1
  13. data/docs/EntitlementsRefresh.md +2 -1
  14. data/docs/FilesApi.md +5 -30
  15. data/docs/FormatsApi.md +2 -12
  16. data/docs/MavenPackageUpload.md +2 -1
  17. data/docs/MetricsApi.md +4 -14
  18. data/docs/NamespacesApi.md +2 -12
  19. data/docs/OrgsApi.md +2 -12
  20. data/docs/Package.md +2 -1
  21. data/docs/PackageCopy.md +2 -1
  22. data/docs/PackageMove.md +2 -1
  23. data/docs/PackagesApi.md +50 -300
  24. data/docs/QuotaApi.md +4 -24
  25. data/docs/RatesApi.md +1 -6
  26. data/docs/RawPackageUpload.md +2 -1
  27. data/docs/ReposApi.md +6 -36
  28. data/docs/RepositoryToken.md +4 -1
  29. data/docs/RepositoryTokenRefresh.md +4 -1
  30. data/docs/RepositoryTokenSyncTokens.md +4 -1
  31. data/docs/StorageregionsApi.md +2 -12
  32. data/docs/UserApi.md +2 -12
  33. data/docs/UsersApi.md +1 -6
  34. data/docs/VagrantPackageUpload.md +2 -1
  35. data/docs/VulnerabilitiesApi.md +264 -0
  36. data/docs/VulnerabilityScanResults.md +15 -0
  37. data/docs/VulnerabilityScanResultsList.md +14 -0
  38. data/docs/WebhooksApi.md +5 -30
  39. data/lib/cloudsmith-api.rb +4 -1
  40. data/lib/cloudsmith-api/api/badges_api.rb +1 -1
  41. data/lib/cloudsmith-api/api/distros_api.rb +2 -2
  42. data/lib/cloudsmith-api/api/entitlements_api.rb +10 -10
  43. data/lib/cloudsmith-api/api/files_api.rb +5 -5
  44. data/lib/cloudsmith-api/api/formats_api.rb +2 -2
  45. data/lib/cloudsmith-api/api/metrics_api.rb +5 -5
  46. data/lib/cloudsmith-api/api/namespaces_api.rb +2 -2
  47. data/lib/cloudsmith-api/api/orgs_api.rb +2 -2
  48. data/lib/cloudsmith-api/api/packages_api.rb +50 -50
  49. data/lib/cloudsmith-api/api/quota_api.rb +4 -4
  50. data/lib/cloudsmith-api/api/rates_api.rb +1 -1
  51. data/lib/cloudsmith-api/api/repos_api.rb +6 -6
  52. data/lib/cloudsmith-api/api/storageregions_api.rb +2 -2
  53. data/lib/cloudsmith-api/api/user_api.rb +2 -2
  54. data/lib/cloudsmith-api/api/users_api.rb +1 -1
  55. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +281 -0
  56. data/lib/cloudsmith-api/api/webhooks_api.rb +5 -5
  57. data/lib/cloudsmith-api/configuration.rb +0 -7
  58. data/lib/cloudsmith-api/models/alpine_package_upload.rb +15 -5
  59. data/lib/cloudsmith-api/models/conan_package_upload.rb +15 -5
  60. data/lib/cloudsmith-api/models/{entitlement_token_metric.rb → entitlement_usage_metric.rb} +11 -26
  61. data/lib/cloudsmith-api/models/entitlements_create.rb +12 -2
  62. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +12 -2
  63. data/lib/cloudsmith-api/models/entitlements_refresh.rb +12 -2
  64. data/lib/cloudsmith-api/models/maven_package_upload.rb +15 -5
  65. data/lib/cloudsmith-api/models/package.rb +15 -5
  66. data/lib/cloudsmith-api/models/package_copy.rb +15 -5
  67. data/lib/cloudsmith-api/models/package_move.rb +15 -5
  68. data/lib/cloudsmith-api/models/raw_package_upload.rb +15 -5
  69. data/lib/cloudsmith-api/models/repository_token.rb +32 -2
  70. data/lib/cloudsmith-api/models/repository_token_refresh.rb +32 -2
  71. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +32 -2
  72. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +15 -5
  73. data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +279 -0
  74. data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +264 -0
  75. data/lib/cloudsmith-api/version.rb +1 -1
  76. data/spec/api/metrics_api_spec.rb +1 -1
  77. data/spec/api/vulnerabilities_api_spec.rb +95 -0
  78. data/spec/models/alpine_package_upload_spec.rb +6 -0
  79. data/spec/models/conan_package_upload_spec.rb +6 -0
  80. data/spec/models/{entitlement_token_metric_spec.rb → entitlement_usage_metric_spec.rb} +7 -13
  81. data/spec/models/entitlements_create_spec.rb +6 -0
  82. data/spec/models/entitlements_partial_update_spec.rb +6 -0
  83. data/spec/models/entitlements_refresh_spec.rb +6 -0
  84. data/spec/models/maven_package_upload_spec.rb +6 -0
  85. data/spec/models/package_copy_spec.rb +6 -0
  86. data/spec/models/package_move_spec.rb +6 -0
  87. data/spec/models/package_spec.rb +6 -0
  88. data/spec/models/raw_package_upload_spec.rb +6 -0
  89. data/spec/models/repository_token_refresh_spec.rb +18 -0
  90. data/spec/models/repository_token_spec.rb +18 -0
  91. data/spec/models/repository_token_sync_tokens_spec.rb +18 -0
  92. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  93. data/spec/models/vulnerability_scan_results_list_spec.rb +78 -0
  94. data/spec/models/vulnerability_scan_results_spec.rb +84 -0
  95. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.gem +0 -0
  96. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  97. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  98. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
  99. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  100. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.document +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/.yardopts +0 -0
  102. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/Changelog.md +17 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/LICENSE.md +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/README.md +3 -3
  105. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/exe/rspec +0 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/autorun.rb +0 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core.rb +0 -0
  108. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/backtrace_formatter.rb +0 -0
  109. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/coordinator.rb +0 -0
  110. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  111. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/fork_runner.rb +6 -3
  112. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/server.rb +0 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_command.rb +0 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  115. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/bisect/utilities.rb +0 -0
  116. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration.rb +10 -7
  117. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/configuration_options.rb +0 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/did_you_mean.rb +0 -0
  119. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/drb.rb +0 -0
  120. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/dsl.rb +0 -0
  121. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example.rb +10 -3
  122. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_group.rb +2 -1
  123. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/example_status_persister.rb +0 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/filter_manager.rb +0 -0
  125. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/flat_map.rb +0 -0
  126. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters.rb +0 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  129. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  132. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/console_codes.rb +0 -0
  133. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  134. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  135. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/exception_presenter.rb +10 -2
  136. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  138. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/helpers.rb +0 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_printer.rb +0 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  145. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/protocol.rb +0 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  148. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/hooks.rb +14 -9
  149. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/invocations.rb +1 -1
  150. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/memoized_helpers.rb +0 -0
  151. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata.rb +0 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/metadata_filter.rb +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  156. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  157. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  158. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/notifications.rb +0 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/option_parser.rb +0 -0
  161. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ordering.rb +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/output_wrapper.rb +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/pending.rb +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/profiler.rb +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer.rb +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/.rspec +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/rake_task.rb +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/reporter.rb +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/ruby_project.rb +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/runner.rb +0 -0
  172. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/sandbox.rb +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/set.rb +0 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_context.rb +0 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shared_example_group.rb +0 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/shell_escape.rb +0 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/version.rb +1 -1
  179. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/warnings.rb +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.2 → rspec-core-3.9.3}/lib/rspec/core/world.rb +1 -0
  181. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.2.gemspec → rspec-core-3.9.3.gemspec} +5 -5
  182. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  183. metadata +191 -179
  184. data/docs/EntitlementTokenMetric.md +0 -9
  185. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.2.gem +0 -0
@@ -27,11 +27,6 @@ CloudsmithApi.configure do |config|
27
27
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
29
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
30
-
31
- # Configure API key authorization: csrf_token
32
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
33
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
34
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
35
30
  end
36
31
 
37
32
  api_instance = CloudsmithApi::QuotaApi.new
@@ -60,7 +55,7 @@ Name | Type | Description | Notes
60
55
 
61
56
  ### Authorization
62
57
 
63
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
58
+ [apikey](../README.md#apikey)
64
59
 
65
60
  ### HTTP request headers
66
61
 
@@ -86,11 +81,6 @@ CloudsmithApi.configure do |config|
86
81
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
87
82
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
88
83
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
89
-
90
- # Configure API key authorization: csrf_token
91
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
92
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
93
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
94
84
  end
95
85
 
96
86
  api_instance = CloudsmithApi::QuotaApi.new
@@ -119,7 +109,7 @@ Name | Type | Description | Notes
119
109
 
120
110
  ### Authorization
121
111
 
122
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
112
+ [apikey](../README.md#apikey)
123
113
 
124
114
  ### HTTP request headers
125
115
 
@@ -145,11 +135,6 @@ CloudsmithApi.configure do |config|
145
135
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
146
136
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
147
137
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
148
-
149
- # Configure API key authorization: csrf_token
150
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
151
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
153
138
  end
154
139
 
155
140
  api_instance = CloudsmithApi::QuotaApi.new
@@ -178,7 +163,7 @@ Name | Type | Description | Notes
178
163
 
179
164
  ### Authorization
180
165
 
181
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
166
+ [apikey](../README.md#apikey)
182
167
 
183
168
  ### HTTP request headers
184
169
 
@@ -204,11 +189,6 @@ CloudsmithApi.configure do |config|
204
189
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
205
190
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
206
191
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
207
-
208
- # Configure API key authorization: csrf_token
209
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
210
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
211
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
212
192
  end
213
193
 
214
194
  api_instance = CloudsmithApi::QuotaApi.new
@@ -237,7 +217,7 @@ Name | Type | Description | Notes
237
217
 
238
218
  ### Authorization
239
219
 
240
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
220
+ [apikey](../README.md#apikey)
241
221
 
242
222
  ### HTTP request headers
243
223
 
@@ -24,11 +24,6 @@ CloudsmithApi.configure do |config|
24
24
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
25
25
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
26
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
27
-
28
- # Configure API key authorization: csrf_token
29
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
30
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
32
27
  end
33
28
 
34
29
  api_instance = CloudsmithApi::RatesApi.new
@@ -51,7 +46,7 @@ This endpoint does not need any parameter.
51
46
 
52
47
  ### Authorization
53
48
 
54
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
49
+ [apikey](../README.md#apikey)
55
50
 
56
51
  ### HTTP request headers
57
52
 
@@ -38,7 +38,7 @@ Name | Type | Description | Notes
38
38
  **self_html_url** | **String** | | [optional]
39
39
  **self_url** | **String** | | [optional]
40
40
  **size** | **Integer** | The calculated size of the package. | [optional]
41
- **slug** | **String** | | [optional]
41
+ **slug** | **String** | The public unique identifier for the package. | [optional]
42
42
  **slug_perm** | **String** | | [optional]
43
43
  **stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
44
44
  **stage_str** | **String** | | [optional]
@@ -59,5 +59,6 @@ Name | Type | Description | Notes
59
59
  **uploader_url** | **String** | | [optional]
60
60
  **version** | **String** | The raw version for this package. | [optional]
61
61
  **version_orig** | **String** | | [optional]
62
+ **vulnerability_scan_results_url** | **String** | | [optional]
62
63
 
63
64
 
@@ -29,11 +29,6 @@ CloudsmithApi.configure do |config|
29
29
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
30
30
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
31
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
32
-
33
- # Configure API key authorization: csrf_token
34
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
35
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
36
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
37
32
  end
38
33
 
39
34
  api_instance = CloudsmithApi::ReposApi.new
@@ -65,7 +60,7 @@ Name | Type | Description | Notes
65
60
 
66
61
  ### Authorization
67
62
 
68
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
63
+ [apikey](../README.md#apikey)
69
64
 
70
65
  ### HTTP request headers
71
66
 
@@ -91,11 +86,6 @@ CloudsmithApi.configure do |config|
91
86
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
92
87
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
93
88
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
94
-
95
- # Configure API key authorization: csrf_token
96
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
97
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
98
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
99
89
  end
100
90
 
101
91
  api_instance = CloudsmithApi::ReposApi.new
@@ -128,7 +118,7 @@ Name | Type | Description | Notes
128
118
 
129
119
  ### Authorization
130
120
 
131
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
121
+ [apikey](../README.md#apikey)
132
122
 
133
123
  ### HTTP request headers
134
124
 
@@ -154,11 +144,6 @@ CloudsmithApi.configure do |config|
154
144
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
155
145
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
156
146
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
157
-
158
- # Configure API key authorization: csrf_token
159
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
160
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
161
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
162
147
  end
163
148
 
164
149
  api_instance = CloudsmithApi::ReposApi.new
@@ -189,7 +174,7 @@ nil (empty response body)
189
174
 
190
175
  ### Authorization
191
176
 
192
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
177
+ [apikey](../README.md#apikey)
193
178
 
194
179
  ### HTTP request headers
195
180
 
@@ -215,11 +200,6 @@ CloudsmithApi.configure do |config|
215
200
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
216
201
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
217
202
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
218
-
219
- # Configure API key authorization: csrf_token
220
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
221
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
222
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
223
203
  end
224
204
 
225
205
  api_instance = CloudsmithApi::ReposApi.new
@@ -254,7 +234,7 @@ Name | Type | Description | Notes
254
234
 
255
235
  ### Authorization
256
236
 
257
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
237
+ [apikey](../README.md#apikey)
258
238
 
259
239
  ### HTTP request headers
260
240
 
@@ -280,11 +260,6 @@ CloudsmithApi.configure do |config|
280
260
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
281
261
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
282
262
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
283
-
284
- # Configure API key authorization: csrf_token
285
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
286
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
287
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
288
263
  end
289
264
 
290
265
  api_instance = CloudsmithApi::ReposApi.new
@@ -320,7 +295,7 @@ Name | Type | Description | Notes
320
295
 
321
296
  ### Authorization
322
297
 
323
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
298
+ [apikey](../README.md#apikey)
324
299
 
325
300
  ### HTTP request headers
326
301
 
@@ -346,11 +321,6 @@ CloudsmithApi.configure do |config|
346
321
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
347
322
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
348
323
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
349
-
350
- # Configure API key authorization: csrf_token
351
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
352
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
353
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
354
324
  end
355
325
 
356
326
  api_instance = CloudsmithApi::ReposApi.new
@@ -382,7 +352,7 @@ Name | Type | Description | Notes
382
352
 
383
353
  ### Authorization
384
354
 
385
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
355
+ [apikey](../README.md#apikey)
386
356
 
387
357
  ### HTTP request headers
388
358
 
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
8
8
  **created_by** | **String** | | [optional]
9
9
  **created_by_url** | **String** | | [optional]
10
10
  **default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
11
+ **disable_url** | **String** | | [optional]
11
12
  **downloads** | **Integer** | | [optional]
13
+ **enable_url** | **String** | | [optional]
12
14
  **has_limits** | **BOOLEAN** | | [optional]
13
15
  **identifier** | **Integer** | | [optional]
14
16
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
17
  **is_limited** | **BOOLEAN** | | [optional]
16
- **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
18
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
19
  **limit_bandwidth_unit** | **String** | | [optional]
18
20
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
19
21
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
24
26
  **metadata** | **Object** | | [optional]
25
27
  **name** | **String** | |
26
28
  **refresh_url** | **String** | | [optional]
29
+ **reset_url** | **String** | | [optional]
27
30
  **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
31
  **scheduled_reset_period** | **String** | | [optional]
29
32
  **self_url** | **String** | | [optional]
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
8
8
  **created_by** | **String** | | [optional]
9
9
  **created_by_url** | **String** | | [optional]
10
10
  **default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
11
+ **disable_url** | **String** | | [optional]
11
12
  **downloads** | **Integer** | | [optional]
13
+ **enable_url** | **String** | | [optional]
12
14
  **has_limits** | **BOOLEAN** | | [optional]
13
15
  **identifier** | **Integer** | | [optional]
14
16
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
17
  **is_limited** | **BOOLEAN** | | [optional]
16
- **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
18
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
19
  **limit_bandwidth_unit** | **String** | | [optional]
18
20
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
19
21
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
24
26
  **metadata** | **Object** | | [optional]
25
27
  **name** | **String** | | [optional]
26
28
  **refresh_url** | **String** | | [optional]
29
+ **reset_url** | **String** | | [optional]
27
30
  **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
31
  **scheduled_reset_period** | **String** | | [optional]
29
32
  **self_url** | **String** | | [optional]
@@ -8,12 +8,14 @@ Name | Type | Description | Notes
8
8
  **created_by** | **String** | | [optional]
9
9
  **created_by_url** | **String** | | [optional]
10
10
  **default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
11
+ **disable_url** | **String** | | [optional]
11
12
  **downloads** | **Integer** | | [optional]
13
+ **enable_url** | **String** | | [optional]
12
14
  **has_limits** | **BOOLEAN** | | [optional]
13
15
  **identifier** | **Integer** | | [optional]
14
16
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
17
  **is_limited** | **BOOLEAN** | | [optional]
16
- **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
18
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
19
  **limit_bandwidth_unit** | **String** | | [optional]
18
20
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
19
21
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
24
26
  **metadata** | **String** | | [optional]
25
27
  **name** | **String** | | [optional]
26
28
  **refresh_url** | **String** | | [optional]
29
+ **reset_url** | **String** | | [optional]
27
30
  **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
31
  **scheduled_reset_period** | **String** | | [optional]
29
32
  **self_url** | **String** | | [optional]
@@ -25,11 +25,6 @@ CloudsmithApi.configure do |config|
25
25
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
26
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
27
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
28
-
29
- # Configure API key authorization: csrf_token
30
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
31
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
33
28
  end
34
29
 
35
30
  api_instance = CloudsmithApi::StorageregionsApi.new
@@ -52,7 +47,7 @@ This endpoint does not need any parameter.
52
47
 
53
48
  ### Authorization
54
49
 
55
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
50
+ [apikey](../README.md#apikey)
56
51
 
57
52
  ### HTTP request headers
58
53
 
@@ -78,11 +73,6 @@ CloudsmithApi.configure do |config|
78
73
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
79
74
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
75
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
81
-
82
- # Configure API key authorization: csrf_token
83
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
84
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
85
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
86
76
  end
87
77
 
88
78
  api_instance = CloudsmithApi::StorageregionsApi.new
@@ -111,7 +101,7 @@ Name | Type | Description | Notes
111
101
 
112
102
  ### Authorization
113
103
 
114
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
104
+ [apikey](../README.md#apikey)
115
105
 
116
106
  ### HTTP request headers
117
107
 
@@ -25,11 +25,6 @@ CloudsmithApi.configure do |config|
25
25
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
26
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
27
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
28
-
29
- # Configure API key authorization: csrf_token
30
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
31
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
33
28
  end
34
29
 
35
30
  api_instance = CloudsmithApi::UserApi.new
@@ -52,7 +47,7 @@ This endpoint does not need any parameter.
52
47
 
53
48
  ### Authorization
54
49
 
55
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
50
+ [apikey](../README.md#apikey)
56
51
 
57
52
  ### HTTP request headers
58
53
 
@@ -78,11 +73,6 @@ CloudsmithApi.configure do |config|
78
73
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
79
74
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
75
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
81
-
82
- # Configure API key authorization: csrf_token
83
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
84
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
85
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
86
76
  end
87
77
 
88
78
  api_instance = CloudsmithApi::UserApi.new
@@ -112,7 +102,7 @@ Name | Type | Description | Notes
112
102
 
113
103
  ### Authorization
114
104
 
115
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
105
+ [apikey](../README.md#apikey)
116
106
 
117
107
  ### HTTP request headers
118
108
 
@@ -24,11 +24,6 @@ CloudsmithApi.configure do |config|
24
24
  config.api_key['X-Api-Key'] = 'YOUR API KEY'
25
25
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
26
  #config.api_key_prefix['X-Api-Key'] = 'Bearer'
27
-
28
- # Configure API key authorization: csrf_token
29
- config.api_key['X-CSRFToken'] = 'YOUR API KEY'
30
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
- #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
32
27
  end
33
28
 
34
29
  api_instance = CloudsmithApi::UsersApi.new
@@ -57,7 +52,7 @@ Name | Type | Description | Notes
57
52
 
58
53
  ### Authorization
59
54
 
60
- [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
55
+ [apikey](../README.md#apikey)
61
56
 
62
57
  ### HTTP request headers
63
58
 
@@ -39,7 +39,7 @@ Name | Type | Description | Notes
39
39
  **self_html_url** | **String** | | [optional]
40
40
  **self_url** | **String** | | [optional]
41
41
  **size** | **Integer** | The calculated size of the package. | [optional]
42
- **slug** | **String** | | [optional]
42
+ **slug** | **String** | The public unique identifier for the package. | [optional]
43
43
  **slug_perm** | **String** | | [optional]
44
44
  **stage** | **String** | The synchronisation (in progress) stage of the package. | [optional]
45
45
  **stage_str** | **String** | | [optional]
@@ -60,5 +60,6 @@ Name | Type | Description | Notes
60
60
  **uploader_url** | **String** | | [optional]
61
61
  **version** | **String** | The raw version for this package. |
62
62
  **version_orig** | **String** | | [optional]
63
+ **vulnerability_scan_results_url** | **String** | | [optional]
63
64
 
64
65
 
@@ -0,0 +1,264 @@
1
+ # CloudsmithApi::VulnerabilitiesApi
2
+
3
+ All URIs are relative to *https://api.cloudsmith.io*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**vulnerabilities_list**](VulnerabilitiesApi.md#vulnerabilities_list) | **GET** /vulnerabilities/{owner}/ | Read-only view to list vulnerabiltiy scan results within a Namespace.
8
+ [**vulnerabilities_list0**](VulnerabilitiesApi.md#vulnerabilities_list0) | **GET** /vulnerabilities/{owner}/{repo}/ | Read-only views to list vulnerabiltiy scan results within a Repository.
9
+ [**vulnerabilities_list1**](VulnerabilitiesApi.md#vulnerabilities_list1) | **GET** /vulnerabilities/{owner}/{repo}/{package}/ | Read-only views to list vulnerabiltiy scan results within a Repository
10
+ [**vulnerabilities_read**](VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Read-only view to retrieve vulnerability scans results using a
11
+
12
+
13
+ # **vulnerabilities_list**
14
+ > Array<VulnerabilityScanResultsList> vulnerabilities_list(owner, opts)
15
+
16
+ Read-only view to list vulnerabiltiy scan results within a Namespace.
17
+
18
+ Read-only view to list vulnerabiltiy scan results within a Namespace.
19
+
20
+ ### Example
21
+ ```ruby
22
+ # load the gem
23
+ require 'cloudsmith-api'
24
+ # setup authorization
25
+ CloudsmithApi.configure do |config|
26
+ # Configure API key authorization: apikey
27
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = CloudsmithApi::VulnerabilitiesApi.new
33
+
34
+ owner = "owner_example" # String |
35
+
36
+ opts = {
37
+ page: 56, # Integer | A page number within the paginated result set.
38
+ page_size: 56 # Integer | Number of results to return per page.
39
+ }
40
+
41
+ begin
42
+ #Read-only view to list vulnerabiltiy scan results within a Namespace.
43
+ result = api_instance.vulnerabilities_list(owner, opts)
44
+ p result
45
+ rescue CloudsmithApi::ApiError => e
46
+ puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **owner** | **String**| |
55
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
56
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
57
+
58
+ ### Return type
59
+
60
+ [**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
61
+
62
+ ### Authorization
63
+
64
+ [apikey](../README.md#apikey)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: Not defined
69
+ - **Accept**: Not defined
70
+
71
+
72
+
73
+ # **vulnerabilities_list0**
74
+ > Array<VulnerabilityScanResultsList> vulnerabilities_list0(owner, repo, opts)
75
+
76
+ Read-only views to list vulnerabiltiy scan results within a Repository.
77
+
78
+ Read-only views to list vulnerabiltiy scan results within a Repository.
79
+
80
+ ### Example
81
+ ```ruby
82
+ # load the gem
83
+ require 'cloudsmith-api'
84
+ # setup authorization
85
+ CloudsmithApi.configure do |config|
86
+ # Configure API key authorization: apikey
87
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
88
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
89
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
90
+ end
91
+
92
+ api_instance = CloudsmithApi::VulnerabilitiesApi.new
93
+
94
+ owner = "owner_example" # String |
95
+
96
+ repo = "repo_example" # String |
97
+
98
+ opts = {
99
+ page: 56, # Integer | A page number within the paginated result set.
100
+ page_size: 56 # Integer | Number of results to return per page.
101
+ }
102
+
103
+ begin
104
+ #Read-only views to list vulnerabiltiy scan results within a Repository.
105
+ result = api_instance.vulnerabilities_list0(owner, repo, opts)
106
+ p result
107
+ rescue CloudsmithApi::ApiError => e
108
+ puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list0: #{e}"
109
+ end
110
+ ```
111
+
112
+ ### Parameters
113
+
114
+ Name | Type | Description | Notes
115
+ ------------- | ------------- | ------------- | -------------
116
+ **owner** | **String**| |
117
+ **repo** | **String**| |
118
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
119
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
120
+
121
+ ### Return type
122
+
123
+ [**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
124
+
125
+ ### Authorization
126
+
127
+ [apikey](../README.md#apikey)
128
+
129
+ ### HTTP request headers
130
+
131
+ - **Content-Type**: Not defined
132
+ - **Accept**: Not defined
133
+
134
+
135
+
136
+ # **vulnerabilities_list1**
137
+ > Array<VulnerabilityScanResultsList> vulnerabilities_list1(owner, repo, package, opts)
138
+
139
+ Read-only views to list vulnerabiltiy scan results within a Repository
140
+
141
+ Read-only views to list vulnerabiltiy scan results within a Repository for a given Package identifier.
142
+
143
+ ### Example
144
+ ```ruby
145
+ # load the gem
146
+ require 'cloudsmith-api'
147
+ # setup authorization
148
+ CloudsmithApi.configure do |config|
149
+ # Configure API key authorization: apikey
150
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
151
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
153
+ end
154
+
155
+ api_instance = CloudsmithApi::VulnerabilitiesApi.new
156
+
157
+ owner = "owner_example" # String |
158
+
159
+ repo = "repo_example" # String |
160
+
161
+ package = "package_example" # String | The package that the scan result relates to.
162
+
163
+ opts = {
164
+ page: 56, # Integer | A page number within the paginated result set.
165
+ page_size: 56 # Integer | Number of results to return per page.
166
+ }
167
+
168
+ begin
169
+ #Read-only views to list vulnerabiltiy scan results within a Repository
170
+ result = api_instance.vulnerabilities_list1(owner, repo, package, opts)
171
+ p result
172
+ rescue CloudsmithApi::ApiError => e
173
+ puts "Exception when calling VulnerabilitiesApi->vulnerabilities_list1: #{e}"
174
+ end
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ Name | Type | Description | Notes
180
+ ------------- | ------------- | ------------- | -------------
181
+ **owner** | **String**| |
182
+ **repo** | **String**| |
183
+ **package** | **String**| The package that the scan result relates to. |
184
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
185
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
186
+
187
+ ### Return type
188
+
189
+ [**Array<VulnerabilityScanResultsList>**](VulnerabilityScanResultsList.md)
190
+
191
+ ### Authorization
192
+
193
+ [apikey](../README.md#apikey)
194
+
195
+ ### HTTP request headers
196
+
197
+ - **Content-Type**: Not defined
198
+ - **Accept**: Not defined
199
+
200
+
201
+
202
+ # **vulnerabilities_read**
203
+ > VulnerabilityScanResults vulnerabilities_read(owner, repo, package, scan_id)
204
+
205
+ Read-only view to retrieve vulnerability scans results using a
206
+
207
+ Read-only view to retrieve vulnerability scans results using a vulnerabiltiy scan results identifier (slug_perm).
208
+
209
+ ### Example
210
+ ```ruby
211
+ # load the gem
212
+ require 'cloudsmith-api'
213
+ # setup authorization
214
+ CloudsmithApi.configure do |config|
215
+ # Configure API key authorization: apikey
216
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
217
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
218
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
219
+ end
220
+
221
+ api_instance = CloudsmithApi::VulnerabilitiesApi.new
222
+
223
+ owner = "owner_example" # String |
224
+
225
+ repo = "repo_example" # String |
226
+
227
+ package = "package_example" # String | The package that the scan result relates to.
228
+
229
+ scan_id = "scan_id_example" # String | 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.)
230
+
231
+
232
+ begin
233
+ #Read-only view to retrieve vulnerability scans results using a
234
+ result = api_instance.vulnerabilities_read(owner, repo, package, scan_id)
235
+ p result
236
+ rescue CloudsmithApi::ApiError => e
237
+ puts "Exception when calling VulnerabilitiesApi->vulnerabilities_read: #{e}"
238
+ end
239
+ ```
240
+
241
+ ### Parameters
242
+
243
+ Name | Type | Description | Notes
244
+ ------------- | ------------- | ------------- | -------------
245
+ **owner** | **String**| |
246
+ **repo** | **String**| |
247
+ **package** | **String**| The package that the scan result relates to. |
248
+ **scan_id** | **String**| 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.) |
249
+
250
+ ### Return type
251
+
252
+ [**VulnerabilityScanResults**](VulnerabilityScanResults.md)
253
+
254
+ ### Authorization
255
+
256
+ [apikey](../README.md#apikey)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: Not defined
261
+ - **Accept**: Not defined
262
+
263
+
264
+