cloudsmith-api 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +104 -4
  4. data/build.json +1 -1
  5. data/docs/DartUpstream.md +23 -0
  6. data/docs/DartUpstreamRequest.md +20 -0
  7. data/docs/DartUpstreamRequestPatch.md +20 -0
  8. data/docs/DebUpstream.md +27 -0
  9. data/docs/DebUpstreamRequest.md +24 -0
  10. data/docs/DebUpstreamRequestPatch.md +24 -0
  11. data/docs/DockerUpstream.md +23 -0
  12. data/docs/DockerUpstreamRequest.md +20 -0
  13. data/docs/DockerUpstreamRequestPatch.md +20 -0
  14. data/docs/HelmUpstream.md +23 -0
  15. data/docs/HelmUpstreamRequest.md +20 -0
  16. data/docs/HelmUpstreamRequestPatch.md +20 -0
  17. data/docs/MavenUpstream.md +23 -0
  18. data/docs/MavenUpstreamRequest.md +20 -0
  19. data/docs/MavenUpstreamRequestPatch.md +20 -0
  20. data/docs/NpmUpstream.md +23 -0
  21. data/docs/NpmUpstreamRequest.md +20 -0
  22. data/docs/NpmUpstreamRequestPatch.md +20 -0
  23. data/docs/NugetUpstream.md +23 -0
  24. data/docs/NugetUpstreamRequest.md +20 -0
  25. data/docs/NugetUpstreamRequestPatch.md +20 -0
  26. data/docs/OrgsApi.md +374 -0
  27. data/docs/PackageLicensePolicyEvaluationRequest.md +14 -0
  28. data/docs/PackageLicensePolicyEvaluationRequestRequest.md +7 -0
  29. data/docs/PackageVulnerabilityPolicyEvaluationRequest.md +14 -0
  30. data/docs/PackageVulnerabilityPolicyEvaluationRequestRequest.md +7 -0
  31. data/docs/PythonUpstream.md +23 -0
  32. data/docs/PythonUpstreamRequest.md +20 -0
  33. data/docs/PythonUpstreamRequestPatch.md +20 -0
  34. data/docs/ReposApi.md +3770 -0
  35. data/docs/RpmUpstream.md +25 -0
  36. data/docs/RpmUpstreamRequest.md +22 -0
  37. data/docs/RpmUpstreamRequestPatch.md +22 -0
  38. data/docs/RubyUpstream.md +23 -0
  39. data/docs/RubyUpstreamRequest.md +20 -0
  40. data/docs/RubyUpstreamRequestPatch.md +20 -0
  41. data/docs/StatusBasic.md +1 -1
  42. data/lib/cloudsmith-api/api/orgs_api.rb +388 -0
  43. data/lib/cloudsmith-api/api/repos_api.rb +3950 -0
  44. data/lib/cloudsmith-api/models/dart_upstream.rb +393 -0
  45. data/lib/cloudsmith-api/models/dart_upstream_request.rb +365 -0
  46. data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +355 -0
  47. data/lib/cloudsmith-api/models/deb_upstream.rb +440 -0
  48. data/lib/cloudsmith-api/models/deb_upstream_request.rb +412 -0
  49. data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +397 -0
  50. data/lib/cloudsmith-api/models/docker_upstream.rb +393 -0
  51. data/lib/cloudsmith-api/models/docker_upstream_request.rb +365 -0
  52. data/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +355 -0
  53. data/lib/cloudsmith-api/models/helm_upstream.rb +393 -0
  54. data/lib/cloudsmith-api/models/helm_upstream_request.rb +365 -0
  55. data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +355 -0
  56. data/lib/cloudsmith-api/models/maven_upstream.rb +393 -0
  57. data/lib/cloudsmith-api/models/maven_upstream_request.rb +365 -0
  58. data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +355 -0
  59. data/lib/cloudsmith-api/models/npm_upstream.rb +393 -0
  60. data/lib/cloudsmith-api/models/npm_upstream_request.rb +365 -0
  61. data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +355 -0
  62. data/lib/cloudsmith-api/models/nuget_upstream.rb +393 -0
  63. data/lib/cloudsmith-api/models/nuget_upstream_request.rb +365 -0
  64. data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +355 -0
  65. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +274 -0
  66. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +175 -0
  67. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +274 -0
  68. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +175 -0
  69. data/lib/cloudsmith-api/models/python_upstream.rb +393 -0
  70. data/lib/cloudsmith-api/models/python_upstream_request.rb +365 -0
  71. data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +355 -0
  72. data/lib/cloudsmith-api/models/rpm_upstream.rb +418 -0
  73. data/lib/cloudsmith-api/models/rpm_upstream_request.rb +390 -0
  74. data/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +375 -0
  75. data/lib/cloudsmith-api/models/ruby_upstream.rb +393 -0
  76. data/lib/cloudsmith-api/models/ruby_upstream_request.rb +365 -0
  77. data/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +355 -0
  78. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  79. data/lib/cloudsmith-api/version.rb +1 -1
  80. data/lib/cloudsmith-api.rb +34 -0
  81. data/spec/api/orgs_api_spec.rb +86 -0
  82. data/spec/api/repos_api_spec.rb +870 -0
  83. data/spec/models/dart_upstream_request_patch_spec.rb +121 -0
  84. data/spec/models/dart_upstream_request_spec.rb +121 -0
  85. data/spec/models/dart_upstream_spec.rb +139 -0
  86. data/spec/models/deb_upstream_request_patch_spec.rb +145 -0
  87. data/spec/models/deb_upstream_request_spec.rb +145 -0
  88. data/spec/models/deb_upstream_spec.rb +163 -0
  89. data/spec/models/docker_upstream_request_patch_spec.rb +121 -0
  90. data/spec/models/docker_upstream_request_spec.rb +121 -0
  91. data/spec/models/docker_upstream_spec.rb +139 -0
  92. data/spec/models/helm_upstream_request_patch_spec.rb +121 -0
  93. data/spec/models/helm_upstream_request_spec.rb +121 -0
  94. data/spec/models/helm_upstream_spec.rb +139 -0
  95. data/spec/models/maven_upstream_request_patch_spec.rb +121 -0
  96. data/spec/models/maven_upstream_request_spec.rb +121 -0
  97. data/spec/models/maven_upstream_spec.rb +139 -0
  98. data/spec/models/npm_upstream_request_patch_spec.rb +121 -0
  99. data/spec/models/npm_upstream_request_spec.rb +121 -0
  100. data/spec/models/npm_upstream_spec.rb +139 -0
  101. data/spec/models/nuget_upstream_request_patch_spec.rb +121 -0
  102. data/spec/models/nuget_upstream_request_spec.rb +121 -0
  103. data/spec/models/nuget_upstream_spec.rb +139 -0
  104. data/spec/models/package_license_policy_evaluation_request_request_spec.rb +35 -0
  105. data/spec/models/package_license_policy_evaluation_request_spec.rb +81 -0
  106. data/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +35 -0
  107. data/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +81 -0
  108. data/spec/models/python_upstream_request_patch_spec.rb +121 -0
  109. data/spec/models/python_upstream_request_spec.rb +121 -0
  110. data/spec/models/python_upstream_spec.rb +139 -0
  111. data/spec/models/rpm_upstream_request_patch_spec.rb +133 -0
  112. data/spec/models/rpm_upstream_request_spec.rb +133 -0
  113. data/spec/models/rpm_upstream_spec.rb +151 -0
  114. data/spec/models/ruby_upstream_request_patch_spec.rb +121 -0
  115. data/spec/models/ruby_upstream_request_spec.rb +121 -0
  116. data/spec/models/ruby_upstream_spec.rb +139 -0
  117. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.1.gem +0 -0
  118. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
  119. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  120. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
  121. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
  122. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  123. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
  124. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
  125. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
  126. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/Changelog.md +9 -1
  127. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/shell_out.rb +3 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/version.rb +1 -1
  129. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support.rb +8 -2
  130. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.12.0.gemspec → rspec-support-3.12.1.gemspec} +5 -5
  131. metadata +176 -40
  132. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.0.gem +0 -0
  133. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/LICENSE.md +0 -0
  134. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/README.md +0 -0
  135. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/caller_filter.rb +0 -0
  136. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/comparable_version.rb +0 -0
  137. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/differ.rb +0 -0
  138. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/directory_maker.rb +0 -0
  139. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/encoded_string.rb +0 -0
  140. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  141. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/hunk_generator.rb +0 -0
  142. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/matcher_definition.rb +0 -0
  143. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
  144. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/mutex.rb +0 -0
  145. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/object_formatter.rb +0 -0
  146. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  147. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  148. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/ruby_features.rb +0 -0
  149. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/location.rb +0 -0
  150. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/node.rb +0 -0
  151. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/token.rb +0 -0
  152. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source.rb +0 -0
  153. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  154. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  155. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  156. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  157. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  158. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  159. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  160. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  161. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  162. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec.rb +0 -0
  163. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/warnings.rb +0 -0
  164. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::MavenUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::MavenUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,23 @@
1
+ # CloudsmithApi::NpmUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **slug_perm** | **String** | | [optional]
19
+ **updated_at** | **DateTime** | | [optional]
20
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
21
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
22
+
23
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::NpmUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::NpmUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,23 @@
1
+ # CloudsmithApi::NugetUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **slug_perm** | **String** | | [optional]
19
+ **updated_at** | **DateTime** | | [optional]
20
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
21
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
22
+
23
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::NugetUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::NugetUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
data/docs/OrgsApi.md CHANGED
@@ -12,6 +12,9 @@ Method | HTTP request | Description
12
12
  [**orgs_invites_resend**](OrgsApi.md#orgs_invites_resend) | **POST** /orgs/{org}/invites/{slug_perm}/resend/ | Resend an organization invite.
13
13
  [**orgs_license_policy_create**](OrgsApi.md#orgs_license_policy_create) | **POST** /orgs/{org}/license-policy/ | Create a package license policy.
14
14
  [**orgs_license_policy_delete**](OrgsApi.md#orgs_license_policy_delete) | **DELETE** /orgs/{org}/license-policy/{slug_perm}/ | Delete a package license policy.
15
+ [**orgs_license_policy_evaluation_create**](OrgsApi.md#orgs_license_policy_evaluation_create) | **POST** /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/ | Create an evaluation request for this policy.
16
+ [**orgs_license_policy_evaluation_list**](OrgsApi.md#orgs_license_policy_evaluation_list) | **GET** /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/ | List evaluation requests for this policy.
17
+ [**orgs_license_policy_evaluation_read**](OrgsApi.md#orgs_license_policy_evaluation_read) | **GET** /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/{slug_perm}/ | Retrieve an evaluation request for this policy.
15
18
  [**orgs_license_policy_list**](OrgsApi.md#orgs_license_policy_list) | **GET** /orgs/{org}/license-policy/ | Get a list of all package license policies.
16
19
  [**orgs_license_policy_partial_update**](OrgsApi.md#orgs_license_policy_partial_update) | **PATCH** /orgs/{org}/license-policy/{slug_perm}/ | Partially update a package license policy.
17
20
  [**orgs_license_policy_read**](OrgsApi.md#orgs_license_policy_read) | **GET** /orgs/{org}/license-policy/{slug_perm}/ | Get a package license policy.
@@ -43,6 +46,9 @@ Method | HTTP request | Description
43
46
  [**orgs_teams_read**](OrgsApi.md#orgs_teams_read) | **GET** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization.
44
47
  [**orgs_vulnerability_policy_create**](OrgsApi.md#orgs_vulnerability_policy_create) | **POST** /orgs/{org}/vulnerability-policy/ | Create a package vulnerability policy.
45
48
  [**orgs_vulnerability_policy_delete**](OrgsApi.md#orgs_vulnerability_policy_delete) | **DELETE** /orgs/{org}/vulnerability-policy/{slug_perm}/ | Delete a package vulnerability policy.
49
+ [**orgs_vulnerability_policy_evaluation_create**](OrgsApi.md#orgs_vulnerability_policy_evaluation_create) | **POST** /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ | Create an evaluation request for this policy.
50
+ [**orgs_vulnerability_policy_evaluation_list**](OrgsApi.md#orgs_vulnerability_policy_evaluation_list) | **GET** /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ | List evaluation requests for this policy.
51
+ [**orgs_vulnerability_policy_evaluation_read**](OrgsApi.md#orgs_vulnerability_policy_evaluation_read) | **GET** /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/{slug_perm}/ | Retrieve an evaluation request for this policy.
46
52
  [**orgs_vulnerability_policy_list**](OrgsApi.md#orgs_vulnerability_policy_list) | **GET** /orgs/{org}/vulnerability-policy/ | Get a list of all package vulnerability policies.
47
53
  [**orgs_vulnerability_policy_partial_update**](OrgsApi.md#orgs_vulnerability_policy_partial_update) | **PATCH** /orgs/{org}/vulnerability-policy/{slug_perm}/ | Partially update a package vulnerability policy.
48
54
  [**orgs_vulnerability_policy_read**](OrgsApi.md#orgs_vulnerability_policy_read) | **GET** /orgs/{org}/vulnerability-policy/{slug_perm}/ | Get a package vulnerability policy.
@@ -513,6 +519,190 @@ nil (empty response body)
513
519
 
514
520
 
515
521
 
522
+ # **orgs_license_policy_evaluation_create**
523
+ > PackageLicensePolicyEvaluationRequest orgs_license_policy_evaluation_create(org, policy_slug_perm, opts)
524
+
525
+ Create an evaluation request for this policy.
526
+
527
+ Create an evaluation request for this policy.
528
+
529
+ ### Example
530
+ ```ruby
531
+ # load the gem
532
+ require 'cloudsmith-api'
533
+ # setup authorization
534
+ CloudsmithApi.configure do |config|
535
+ # Configure API key authorization: apikey
536
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
537
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
538
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
539
+ end
540
+
541
+ api_instance = CloudsmithApi::OrgsApi.new
542
+
543
+ org = 'org_example' # String |
544
+
545
+ policy_slug_perm = 'policy_slug_perm_example' # String |
546
+
547
+ opts = {
548
+ data: CloudsmithApi::PackageLicensePolicyEvaluationRequestRequest.new # PackageLicensePolicyEvaluationRequestRequest |
549
+ }
550
+
551
+ begin
552
+ #Create an evaluation request for this policy.
553
+ result = api_instance.orgs_license_policy_evaluation_create(org, policy_slug_perm, opts)
554
+ p result
555
+ rescue CloudsmithApi::ApiError => e
556
+ puts "Exception when calling OrgsApi->orgs_license_policy_evaluation_create: #{e}"
557
+ end
558
+ ```
559
+
560
+ ### Parameters
561
+
562
+ Name | Type | Description | Notes
563
+ ------------- | ------------- | ------------- | -------------
564
+ **org** | **String**| |
565
+ **policy_slug_perm** | **String**| |
566
+ **data** | [**PackageLicensePolicyEvaluationRequestRequest**](PackageLicensePolicyEvaluationRequestRequest.md)| | [optional]
567
+
568
+ ### Return type
569
+
570
+ [**PackageLicensePolicyEvaluationRequest**](PackageLicensePolicyEvaluationRequest.md)
571
+
572
+ ### Authorization
573
+
574
+ [apikey](../README.md#apikey)
575
+
576
+ ### HTTP request headers
577
+
578
+ - **Content-Type**: application/json
579
+ - **Accept**: application/json
580
+
581
+
582
+
583
+ # **orgs_license_policy_evaluation_list**
584
+ > Array<PackageLicensePolicyEvaluationRequest> orgs_license_policy_evaluation_list(org, policy_slug_perm, opts)
585
+
586
+ List evaluation requests for this policy.
587
+
588
+ List evaluation requests for this policy.
589
+
590
+ ### Example
591
+ ```ruby
592
+ # load the gem
593
+ require 'cloudsmith-api'
594
+ # setup authorization
595
+ CloudsmithApi.configure do |config|
596
+ # Configure API key authorization: apikey
597
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
598
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
599
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
600
+ end
601
+
602
+ api_instance = CloudsmithApi::OrgsApi.new
603
+
604
+ org = 'org_example' # String |
605
+
606
+ policy_slug_perm = 'policy_slug_perm_example' # String |
607
+
608
+ opts = {
609
+ page: 56, # Integer | A page number within the paginated result set.
610
+ page_size: 56 # Integer | Number of results to return per page.
611
+ }
612
+
613
+ begin
614
+ #List evaluation requests for this policy.
615
+ result = api_instance.orgs_license_policy_evaluation_list(org, policy_slug_perm, opts)
616
+ p result
617
+ rescue CloudsmithApi::ApiError => e
618
+ puts "Exception when calling OrgsApi->orgs_license_policy_evaluation_list: #{e}"
619
+ end
620
+ ```
621
+
622
+ ### Parameters
623
+
624
+ Name | Type | Description | Notes
625
+ ------------- | ------------- | ------------- | -------------
626
+ **org** | **String**| |
627
+ **policy_slug_perm** | **String**| |
628
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
629
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
630
+
631
+ ### Return type
632
+
633
+ [**Array<PackageLicensePolicyEvaluationRequest>**](PackageLicensePolicyEvaluationRequest.md)
634
+
635
+ ### Authorization
636
+
637
+ [apikey](../README.md#apikey)
638
+
639
+ ### HTTP request headers
640
+
641
+ - **Content-Type**: application/json
642
+ - **Accept**: application/json
643
+
644
+
645
+
646
+ # **orgs_license_policy_evaluation_read**
647
+ > PackageLicensePolicyEvaluationRequest orgs_license_policy_evaluation_read(org, policy_slug_perm, slug_perm)
648
+
649
+ Retrieve an evaluation request for this policy.
650
+
651
+ Retrieve an evaluation request for this policy.
652
+
653
+ ### Example
654
+ ```ruby
655
+ # load the gem
656
+ require 'cloudsmith-api'
657
+ # setup authorization
658
+ CloudsmithApi.configure do |config|
659
+ # Configure API key authorization: apikey
660
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
661
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
662
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
663
+ end
664
+
665
+ api_instance = CloudsmithApi::OrgsApi.new
666
+
667
+ org = 'org_example' # String |
668
+
669
+ policy_slug_perm = 'policy_slug_perm_example' # String |
670
+
671
+ slug_perm = 'slug_perm_example' # String |
672
+
673
+
674
+ begin
675
+ #Retrieve an evaluation request for this policy.
676
+ result = api_instance.orgs_license_policy_evaluation_read(org, policy_slug_perm, slug_perm)
677
+ p result
678
+ rescue CloudsmithApi::ApiError => e
679
+ puts "Exception when calling OrgsApi->orgs_license_policy_evaluation_read: #{e}"
680
+ end
681
+ ```
682
+
683
+ ### Parameters
684
+
685
+ Name | Type | Description | Notes
686
+ ------------- | ------------- | ------------- | -------------
687
+ **org** | **String**| |
688
+ **policy_slug_perm** | **String**| |
689
+ **slug_perm** | **String**| |
690
+
691
+ ### Return type
692
+
693
+ [**PackageLicensePolicyEvaluationRequest**](PackageLicensePolicyEvaluationRequest.md)
694
+
695
+ ### Authorization
696
+
697
+ [apikey](../README.md#apikey)
698
+
699
+ ### HTTP request headers
700
+
701
+ - **Content-Type**: application/json
702
+ - **Accept**: application/json
703
+
704
+
705
+
516
706
  # **orgs_license_policy_list**
517
707
  > Array<OrganizationPackageLicensePolicy> orgs_license_policy_list(org, opts)
518
708
 
@@ -2312,6 +2502,190 @@ nil (empty response body)
2312
2502
 
2313
2503
 
2314
2504
 
2505
+ # **orgs_vulnerability_policy_evaluation_create**
2506
+ > PackageVulnerabilityPolicyEvaluationRequest orgs_vulnerability_policy_evaluation_create(org, policy_slug_perm, opts)
2507
+
2508
+ Create an evaluation request for this policy.
2509
+
2510
+ Create an evaluation request for this policy.
2511
+
2512
+ ### Example
2513
+ ```ruby
2514
+ # load the gem
2515
+ require 'cloudsmith-api'
2516
+ # setup authorization
2517
+ CloudsmithApi.configure do |config|
2518
+ # Configure API key authorization: apikey
2519
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
2520
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2521
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
2522
+ end
2523
+
2524
+ api_instance = CloudsmithApi::OrgsApi.new
2525
+
2526
+ org = 'org_example' # String |
2527
+
2528
+ policy_slug_perm = 'policy_slug_perm_example' # String |
2529
+
2530
+ opts = {
2531
+ data: CloudsmithApi::PackageVulnerabilityPolicyEvaluationRequestRequest.new # PackageVulnerabilityPolicyEvaluationRequestRequest |
2532
+ }
2533
+
2534
+ begin
2535
+ #Create an evaluation request for this policy.
2536
+ result = api_instance.orgs_vulnerability_policy_evaluation_create(org, policy_slug_perm, opts)
2537
+ p result
2538
+ rescue CloudsmithApi::ApiError => e
2539
+ puts "Exception when calling OrgsApi->orgs_vulnerability_policy_evaluation_create: #{e}"
2540
+ end
2541
+ ```
2542
+
2543
+ ### Parameters
2544
+
2545
+ Name | Type | Description | Notes
2546
+ ------------- | ------------- | ------------- | -------------
2547
+ **org** | **String**| |
2548
+ **policy_slug_perm** | **String**| |
2549
+ **data** | [**PackageVulnerabilityPolicyEvaluationRequestRequest**](PackageVulnerabilityPolicyEvaluationRequestRequest.md)| | [optional]
2550
+
2551
+ ### Return type
2552
+
2553
+ [**PackageVulnerabilityPolicyEvaluationRequest**](PackageVulnerabilityPolicyEvaluationRequest.md)
2554
+
2555
+ ### Authorization
2556
+
2557
+ [apikey](../README.md#apikey)
2558
+
2559
+ ### HTTP request headers
2560
+
2561
+ - **Content-Type**: application/json
2562
+ - **Accept**: application/json
2563
+
2564
+
2565
+
2566
+ # **orgs_vulnerability_policy_evaluation_list**
2567
+ > Array<PackageVulnerabilityPolicyEvaluationRequest> orgs_vulnerability_policy_evaluation_list(org, policy_slug_perm, opts)
2568
+
2569
+ List evaluation requests for this policy.
2570
+
2571
+ List evaluation requests for this policy.
2572
+
2573
+ ### Example
2574
+ ```ruby
2575
+ # load the gem
2576
+ require 'cloudsmith-api'
2577
+ # setup authorization
2578
+ CloudsmithApi.configure do |config|
2579
+ # Configure API key authorization: apikey
2580
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
2581
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2582
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
2583
+ end
2584
+
2585
+ api_instance = CloudsmithApi::OrgsApi.new
2586
+
2587
+ org = 'org_example' # String |
2588
+
2589
+ policy_slug_perm = 'policy_slug_perm_example' # String |
2590
+
2591
+ opts = {
2592
+ page: 56, # Integer | A page number within the paginated result set.
2593
+ page_size: 56 # Integer | Number of results to return per page.
2594
+ }
2595
+
2596
+ begin
2597
+ #List evaluation requests for this policy.
2598
+ result = api_instance.orgs_vulnerability_policy_evaluation_list(org, policy_slug_perm, opts)
2599
+ p result
2600
+ rescue CloudsmithApi::ApiError => e
2601
+ puts "Exception when calling OrgsApi->orgs_vulnerability_policy_evaluation_list: #{e}"
2602
+ end
2603
+ ```
2604
+
2605
+ ### Parameters
2606
+
2607
+ Name | Type | Description | Notes
2608
+ ------------- | ------------- | ------------- | -------------
2609
+ **org** | **String**| |
2610
+ **policy_slug_perm** | **String**| |
2611
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
2612
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
2613
+
2614
+ ### Return type
2615
+
2616
+ [**Array<PackageVulnerabilityPolicyEvaluationRequest>**](PackageVulnerabilityPolicyEvaluationRequest.md)
2617
+
2618
+ ### Authorization
2619
+
2620
+ [apikey](../README.md#apikey)
2621
+
2622
+ ### HTTP request headers
2623
+
2624
+ - **Content-Type**: application/json
2625
+ - **Accept**: application/json
2626
+
2627
+
2628
+
2629
+ # **orgs_vulnerability_policy_evaluation_read**
2630
+ > PackageVulnerabilityPolicyEvaluationRequest orgs_vulnerability_policy_evaluation_read(org, policy_slug_perm, slug_perm)
2631
+
2632
+ Retrieve an evaluation request for this policy.
2633
+
2634
+ Retrieve an evaluation request for this policy.
2635
+
2636
+ ### Example
2637
+ ```ruby
2638
+ # load the gem
2639
+ require 'cloudsmith-api'
2640
+ # setup authorization
2641
+ CloudsmithApi.configure do |config|
2642
+ # Configure API key authorization: apikey
2643
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
2644
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2645
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
2646
+ end
2647
+
2648
+ api_instance = CloudsmithApi::OrgsApi.new
2649
+
2650
+ org = 'org_example' # String |
2651
+
2652
+ policy_slug_perm = 'policy_slug_perm_example' # String |
2653
+
2654
+ slug_perm = 'slug_perm_example' # String |
2655
+
2656
+
2657
+ begin
2658
+ #Retrieve an evaluation request for this policy.
2659
+ result = api_instance.orgs_vulnerability_policy_evaluation_read(org, policy_slug_perm, slug_perm)
2660
+ p result
2661
+ rescue CloudsmithApi::ApiError => e
2662
+ puts "Exception when calling OrgsApi->orgs_vulnerability_policy_evaluation_read: #{e}"
2663
+ end
2664
+ ```
2665
+
2666
+ ### Parameters
2667
+
2668
+ Name | Type | Description | Notes
2669
+ ------------- | ------------- | ------------- | -------------
2670
+ **org** | **String**| |
2671
+ **policy_slug_perm** | **String**| |
2672
+ **slug_perm** | **String**| |
2673
+
2674
+ ### Return type
2675
+
2676
+ [**PackageVulnerabilityPolicyEvaluationRequest**](PackageVulnerabilityPolicyEvaluationRequest.md)
2677
+
2678
+ ### Authorization
2679
+
2680
+ [apikey](../README.md#apikey)
2681
+
2682
+ ### HTTP request headers
2683
+
2684
+ - **Content-Type**: application/json
2685
+ - **Accept**: application/json
2686
+
2687
+
2688
+
2315
2689
  # **orgs_vulnerability_policy_list**
2316
2690
  > Array<OrganizationPackageVulnerabilityPolicy> orgs_vulnerability_policy_list(org, opts)
2317
2691
 
@@ -0,0 +1,14 @@
1
+ # CloudsmithApi::PackageLicensePolicyEvaluationRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **created_at** | **DateTime** | | [optional]
7
+ **evaluation_count** | **Integer** | | [optional]
8
+ **policy** | [**NestedLicensePolicy**](NestedLicensePolicy.md) | | [optional]
9
+ **slug_perm** | **String** | | [optional]
10
+ **status** | **String** | | [optional] [default to 'Pending']
11
+ **updated_at** | **DateTime** | | [optional]
12
+ **violation_count** | **Integer** | | [optional]
13
+
14
+
@@ -0,0 +1,7 @@
1
+ # CloudsmithApi::PackageLicensePolicyEvaluationRequestRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,14 @@
1
+ # CloudsmithApi::PackageVulnerabilityPolicyEvaluationRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **created_at** | **DateTime** | | [optional]
7
+ **evaluation_count** | **Integer** | | [optional]
8
+ **policy** | [**NestedVulnerabilityPolicy**](NestedVulnerabilityPolicy.md) | | [optional]
9
+ **slug_perm** | **String** | | [optional]
10
+ **status** | **String** | | [optional] [default to 'Pending']
11
+ **updated_at** | **DateTime** | | [optional]
12
+ **violation_count** | **Integer** | | [optional]
13
+
14
+
@@ -0,0 +1,7 @@
1
+ # CloudsmithApi::PackageVulnerabilityPolicyEvaluationRequestRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -0,0 +1,23 @@
1
+ # CloudsmithApi::PythonUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **slug_perm** | **String** | | [optional]
19
+ **updated_at** | **DateTime** | | [optional]
20
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
21
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
22
+
23
+