harbor_swagger_client 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (622) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -7
  3. data/docs/ChartRepositoryApi.md +2 -2
  4. data/docs/Configurations.md +6 -0
  5. data/docs/ConfigurationsResponse.md +5 -0
  6. data/docs/DetailedTag.md +1 -1
  7. data/docs/ImmutableTagRule.md +11 -0
  8. data/docs/InlineResponse200.md +1 -1
  9. data/docs/InputSecret.md +8 -0
  10. data/docs/IsDefault.md +8 -0
  11. data/docs/NativeReportSummary.md +14 -0
  12. data/docs/ProductsApi.md +904 -90
  13. data/docs/Project.md +2 -1
  14. data/docs/ProjectMetadata.md +1 -1
  15. data/docs/ProjectScanner.md +8 -0
  16. data/docs/QuotaApi.md +0 -61
  17. data/docs/Report.md +11 -0
  18. data/docs/RetentionPolicy.md +2 -2
  19. data/docs/ScanApi.md +281 -0
  20. data/docs/ScanOverview.md +7 -0
  21. data/docs/Scanner.md +10 -0
  22. data/docs/ScannerAdapterMetadata.md +10 -0
  23. data/docs/ScannerCapability.md +9 -0
  24. data/docs/ScannerRegistration.md +21 -0
  25. data/docs/ScannerRegistrationReq.md +15 -0
  26. data/docs/ScannerRegistrationSettings.md +11 -0
  27. data/docs/ScannersApi.md +600 -0
  28. data/docs/Stats.md +11 -0
  29. data/docs/VulnerabilityItem.md +7 -6
  30. data/docs/VulnerabilitySummary.md +10 -0
  31. data/harbor_swagger_client.gemspec +1 -1
  32. data/lib/harbor_swagger_client.rb +18 -4
  33. data/lib/harbor_swagger_client/api/chart_repository_api.rb +4 -4
  34. data/lib/harbor_swagger_client/api/label_api.rb +1 -1
  35. data/lib/harbor_swagger_client/api/products_api.rb +888 -63
  36. data/lib/harbor_swagger_client/api/quota_api.rb +1 -61
  37. data/lib/harbor_swagger_client/api/retention_api.rb +1 -1
  38. data/lib/harbor_swagger_client/api/robot_account_api.rb +1 -1
  39. data/lib/harbor_swagger_client/api/scan_api.rb +307 -0
  40. data/lib/harbor_swagger_client/api/scanners_api.rb +624 -0
  41. data/lib/harbor_swagger_client/api/system_api.rb +1 -1
  42. data/lib/harbor_swagger_client/api_client.rb +1 -1
  43. data/lib/harbor_swagger_client/api_error.rb +1 -1
  44. data/lib/harbor_swagger_client/configuration.rb +1 -1
  45. data/lib/harbor_swagger_client/models/access_log.rb +1 -1
  46. data/lib/harbor_swagger_client/models/action.rb +1 -1
  47. data/lib/harbor_swagger_client/models/action_1.rb +1 -1
  48. data/lib/harbor_swagger_client/models/admin_job_schedule.rb +1 -1
  49. data/lib/harbor_swagger_client/models/admin_job_schedule_obj.rb +1 -1
  50. data/lib/harbor_swagger_client/models/bad_request_formated_error.rb +1 -1
  51. data/lib/harbor_swagger_client/models/bool_config_item.rb +1 -1
  52. data/lib/harbor_swagger_client/models/chart_api_error.rb +1 -1
  53. data/lib/harbor_swagger_client/models/chart_info_entry.rb +1 -1
  54. data/lib/harbor_swagger_client/models/chart_info_list.rb +1 -1
  55. data/lib/harbor_swagger_client/models/chart_metadata.rb +1 -1
  56. data/lib/harbor_swagger_client/models/chart_version.rb +1 -1
  57. data/lib/harbor_swagger_client/models/chart_version_details.rb +1 -1
  58. data/lib/harbor_swagger_client/models/chart_versions.rb +1 -1
  59. data/lib/harbor_swagger_client/models/component_health_status.rb +1 -1
  60. data/lib/harbor_swagger_client/models/component_overview_entry.rb +1 -1
  61. data/lib/harbor_swagger_client/models/configurations.rb +62 -2
  62. data/lib/harbor_swagger_client/models/configurations_response.rb +52 -2
  63. data/lib/harbor_swagger_client/models/configurations_scan_all_policy.rb +1 -1
  64. data/lib/harbor_swagger_client/models/configurations_scan_all_policy_parameter.rb +1 -1
  65. data/lib/harbor_swagger_client/models/conflict_formated_error.rb +1 -1
  66. data/lib/harbor_swagger_client/models/cve_whitelist.rb +1 -1
  67. data/lib/harbor_swagger_client/models/cve_whitelist_item.rb +1 -1
  68. data/lib/harbor_swagger_client/models/dependency.rb +1 -1
  69. data/lib/harbor_swagger_client/models/detailed_tag.rb +3 -2
  70. data/lib/harbor_swagger_client/models/digital_signature.rb +1 -1
  71. data/lib/harbor_swagger_client/models/email_server_setting.rb +1 -1
  72. data/lib/harbor_swagger_client/models/endpoint.rb +1 -1
  73. data/lib/harbor_swagger_client/models/filter_style.rb +1 -1
  74. data/lib/harbor_swagger_client/models/forbidden_chart_api_error.rb +1 -1
  75. data/lib/harbor_swagger_client/models/gc_result.rb +1 -1
  76. data/lib/harbor_swagger_client/models/general_info.rb +1 -1
  77. data/lib/harbor_swagger_client/models/general_info_clair_vulnerability_status.rb +1 -1
  78. data/lib/harbor_swagger_client/models/has_admin_role.rb +1 -1
  79. data/lib/harbor_swagger_client/models/immutable_tag_rule.rb +210 -0
  80. data/lib/harbor_swagger_client/models/inline_response_200.rb +8 -9
  81. data/lib/harbor_swagger_client/models/input_secret.rb +184 -0
  82. data/lib/harbor_swagger_client/models/insufficient_storage_chart_api_error.rb +1 -1
  83. data/lib/harbor_swagger_client/models/integer_config_item.rb +1 -1
  84. data/lib/harbor_swagger_client/models/internal_chart_api_error.rb +1 -1
  85. data/lib/harbor_swagger_client/models/is_default.rb +184 -0
  86. data/lib/harbor_swagger_client/models/job_status.rb +1 -1
  87. data/lib/harbor_swagger_client/models/label.rb +1 -1
  88. data/lib/harbor_swagger_client/models/labels.rb +1 -1
  89. data/lib/harbor_swagger_client/models/ldap_conf.rb +1 -1
  90. data/lib/harbor_swagger_client/models/ldap_failed_import_users.rb +1 -1
  91. data/lib/harbor_swagger_client/models/ldap_import_users.rb +1 -1
  92. data/lib/harbor_swagger_client/models/ldap_users.rb +1 -1
  93. data/lib/harbor_swagger_client/models/manifest.rb +1 -1
  94. data/lib/harbor_swagger_client/models/namespace.rb +1 -1
  95. data/lib/harbor_swagger_client/models/native_report_summary.rb +244 -0
  96. data/lib/harbor_swagger_client/models/not_found_chart_api_error.rb +1 -1
  97. data/lib/harbor_swagger_client/models/overall_health_status.rb +1 -1
  98. data/lib/harbor_swagger_client/models/password.rb +1 -1
  99. data/lib/harbor_swagger_client/models/permission.rb +1 -1
  100. data/lib/harbor_swagger_client/models/ping_registry.rb +1 -1
  101. data/lib/harbor_swagger_client/models/project.rb +15 -3
  102. data/lib/harbor_swagger_client/models/project_member.rb +1 -1
  103. data/lib/harbor_swagger_client/models/project_member_entity.rb +1 -1
  104. data/lib/harbor_swagger_client/models/project_metadata.rb +2 -2
  105. data/lib/harbor_swagger_client/models/project_req.rb +1 -1
  106. data/lib/harbor_swagger_client/models/project_scanner.rb +184 -0
  107. data/lib/harbor_swagger_client/models/project_summary.rb +1 -1
  108. data/lib/harbor_swagger_client/models/project_summary_quota.rb +1 -1
  109. data/lib/harbor_swagger_client/models/put_registry.rb +1 -1
  110. data/lib/harbor_swagger_client/models/quota.rb +1 -1
  111. data/lib/harbor_swagger_client/models/quota_ref_object.rb +1 -1
  112. data/lib/harbor_swagger_client/models/quota_switcher.rb +1 -1
  113. data/lib/harbor_swagger_client/models/quota_update_req.rb +1 -1
  114. data/lib/harbor_swagger_client/models/registry.rb +1 -1
  115. data/lib/harbor_swagger_client/models/registry_credential.rb +1 -1
  116. data/lib/harbor_swagger_client/models/registry_info.rb +1 -1
  117. data/lib/harbor_swagger_client/models/replication_execution.rb +1 -1
  118. data/lib/harbor_swagger_client/models/replication_filter.rb +1 -1
  119. data/lib/harbor_swagger_client/models/replication_policy.rb +1 -1
  120. data/lib/harbor_swagger_client/models/replication_task.rb +1 -1
  121. data/lib/harbor_swagger_client/models/replication_trigger.rb +1 -1
  122. data/lib/harbor_swagger_client/models/repo_signature.rb +1 -1
  123. data/lib/harbor_swagger_client/models/report.rb +215 -0
  124. data/lib/harbor_swagger_client/models/repository.rb +1 -1
  125. data/lib/harbor_swagger_client/models/repository_description.rb +1 -1
  126. data/lib/harbor_swagger_client/models/resource.rb +1 -1
  127. data/lib/harbor_swagger_client/models/resource_list.rb +1 -1
  128. data/lib/harbor_swagger_client/models/retag_req.rb +1 -1
  129. data/lib/harbor_swagger_client/models/retention_execution.rb +1 -1
  130. data/lib/harbor_swagger_client/models/retention_execution_task.rb +1 -1
  131. data/lib/harbor_swagger_client/models/retention_metadata.rb +1 -1
  132. data/lib/harbor_swagger_client/models/retention_policy.rb +3 -3
  133. data/lib/harbor_swagger_client/models/retention_policy_scope.rb +1 -1
  134. data/lib/harbor_swagger_client/models/retention_rule.rb +1 -1
  135. data/lib/harbor_swagger_client/models/retention_rule_metadata.rb +1 -1
  136. data/lib/harbor_swagger_client/models/retention_rule_param_metadata.rb +1 -1
  137. data/lib/harbor_swagger_client/models/retention_rule_trigger.rb +1 -1
  138. data/lib/harbor_swagger_client/models/retention_selector.rb +1 -1
  139. data/lib/harbor_swagger_client/models/retention_selector_metadata.rb +1 -1
  140. data/lib/harbor_swagger_client/models/robot_account.rb +1 -1
  141. data/lib/harbor_swagger_client/models/robot_account_access.rb +1 -1
  142. data/lib/harbor_swagger_client/models/robot_account_create.rb +1 -1
  143. data/lib/harbor_swagger_client/models/robot_account_post_rep.rb +1 -1
  144. data/lib/harbor_swagger_client/models/robot_account_update.rb +1 -1
  145. data/lib/harbor_swagger_client/models/role.rb +1 -1
  146. data/lib/harbor_swagger_client/models/role_param.rb +1 -1
  147. data/lib/harbor_swagger_client/models/role_request.rb +1 -1
  148. data/lib/harbor_swagger_client/models/scan_overview.rb +175 -0
  149. data/lib/harbor_swagger_client/models/scanner.rb +204 -0
  150. data/lib/harbor_swagger_client/models/scanner_adapter_metadata.rb +206 -0
  151. data/lib/harbor_swagger_client/models/scanner_capability.rb +196 -0
  152. data/lib/harbor_swagger_client/models/scanner_registration.rb +327 -0
  153. data/lib/harbor_swagger_client/models/scanner_registration_req.rb +262 -0
  154. data/lib/harbor_swagger_client/models/scanner_registration_settings.rb +216 -0
  155. data/lib/harbor_swagger_client/models/search.rb +1 -1
  156. data/lib/harbor_swagger_client/models/search_repository.rb +1 -1
  157. data/lib/harbor_swagger_client/models/search_result.rb +1 -1
  158. data/lib/harbor_swagger_client/models/security_report.rb +1 -1
  159. data/lib/harbor_swagger_client/models/statistic_map.rb +1 -1
  160. data/lib/harbor_swagger_client/models/stats.rb +217 -0
  161. data/lib/harbor_swagger_client/models/storage.rb +1 -1
  162. data/lib/harbor_swagger_client/models/string_config_item.rb +1 -1
  163. data/lib/harbor_swagger_client/models/system_info.rb +1 -1
  164. data/lib/harbor_swagger_client/models/tags.rb +1 -1
  165. data/lib/harbor_swagger_client/models/trigger_settings.rb +1 -1
  166. data/lib/harbor_swagger_client/models/unauthorized_chart_api_error.rb +1 -1
  167. data/lib/harbor_swagger_client/models/user.rb +1 -1
  168. data/lib/harbor_swagger_client/models/user_entity.rb +1 -1
  169. data/lib/harbor_swagger_client/models/user_group.rb +1 -1
  170. data/lib/harbor_swagger_client/models/user_profile.rb +1 -1
  171. data/lib/harbor_swagger_client/models/user_search.rb +1 -1
  172. data/lib/harbor_swagger_client/models/vuln_namespace_timestamp.rb +1 -1
  173. data/lib/harbor_swagger_client/models/vulnerability_item.rb +35 -23
  174. data/lib/harbor_swagger_client/models/vulnerability_summary.rb +207 -0
  175. data/lib/harbor_swagger_client/models/webhook_job.rb +1 -1
  176. data/lib/harbor_swagger_client/models/webhook_last_trigger.rb +1 -1
  177. data/lib/harbor_swagger_client/models/webhook_policy.rb +1 -1
  178. data/lib/harbor_swagger_client/models/webhook_target_object.rb +1 -1
  179. data/lib/harbor_swagger_client/version.rb +2 -2
  180. data/spec/Gemfile +7 -0
  181. data/spec/README.md +438 -0
  182. data/spec/Rakefile +8 -0
  183. data/spec/api/chart_repository_api_spec.rb +2 -2
  184. data/spec/api/label_api_spec.rb +1 -1
  185. data/spec/api/products_api_spec.rb +205 -19
  186. data/spec/api/quota_api_spec.rb +1 -16
  187. data/spec/api/retention_api_spec.rb +1 -1
  188. data/spec/api/robot_account_api_spec.rb +1 -1
  189. data/spec/api/scan_api_spec.rb +98 -0
  190. data/spec/api/scanners_api_spec.rb +169 -0
  191. data/spec/api/system_api_spec.rb +1 -1
  192. data/spec/api_client_spec.rb +1 -1
  193. data/spec/configuration_spec.rb +1 -1
  194. data/spec/docs/AccessLog.md +13 -0
  195. data/spec/docs/Action.md +8 -0
  196. data/spec/docs/Action1.md +8 -0
  197. data/spec/docs/AdminJobSchedule.md +8 -0
  198. data/spec/docs/AdminJobScheduleObj.md +9 -0
  199. data/spec/docs/BadRequestFormatedError.md +8 -0
  200. data/spec/docs/BoolConfigItem.md +9 -0
  201. data/spec/docs/CVEWhitelist.md +11 -0
  202. data/spec/docs/CVEWhitelistItem.md +8 -0
  203. data/spec/docs/ChartAPIError.md +8 -0
  204. data/spec/docs/ChartInfoEntry.md +15 -0
  205. data/spec/docs/ChartInfoList.md +7 -0
  206. data/spec/docs/ChartMetadata.md +18 -0
  207. data/spec/docs/ChartRepositoryApi.md +698 -0
  208. data/spec/docs/ChartVersion.md +22 -0
  209. data/spec/docs/ChartVersionDetails.md +13 -0
  210. data/spec/docs/ChartVersions.md +7 -0
  211. data/spec/docs/ComponentHealthStatus.md +10 -0
  212. data/spec/docs/ComponentOverviewEntry.md +9 -0
  213. data/spec/docs/Configurations.md +42 -0
  214. data/spec/docs/ConfigurationsResponse.md +41 -0
  215. data/spec/docs/ConfigurationsScanAllPolicy.md +9 -0
  216. data/spec/docs/ConfigurationsScanAllPolicyParameter.md +8 -0
  217. data/spec/docs/ConflictFormatedError.md +8 -0
  218. data/spec/docs/Dependency.md +10 -0
  219. data/spec/docs/DetailedTag.md +18 -0
  220. data/spec/docs/DigitalSignature.md +9 -0
  221. data/spec/docs/EmailServerSetting.md +13 -0
  222. data/spec/docs/Endpoint.md +9 -0
  223. data/spec/docs/FilterStyle.md +10 -0
  224. data/spec/docs/ForbiddenChartAPIError.md +8 -0
  225. data/spec/docs/GCResult.md +15 -0
  226. data/spec/docs/GeneralInfo.md +20 -0
  227. data/spec/docs/GeneralInfoClairVulnerabilityStatus.md +9 -0
  228. data/spec/docs/HasAdminRole.md +8 -0
  229. data/spec/docs/ImmutableTagRule.md +11 -0
  230. data/spec/docs/InlineResponse200.md +8 -0
  231. data/spec/docs/InputSecret.md +8 -0
  232. data/spec/docs/InsufficientStorageChartAPIError.md +8 -0
  233. data/spec/docs/IntegerConfigItem.md +9 -0
  234. data/spec/docs/InternalChartAPIError.md +8 -0
  235. data/spec/docs/IsDefault.md +8 -0
  236. data/spec/docs/JobStatus.md +15 -0
  237. data/spec/docs/Label.md +16 -0
  238. data/spec/docs/LabelApi.md +191 -0
  239. data/spec/docs/Labels.md +7 -0
  240. data/spec/docs/LdapConf.md +15 -0
  241. data/spec/docs/LdapFailedImportUsers.md +9 -0
  242. data/spec/docs/LdapImportUsers.md +8 -0
  243. data/spec/docs/LdapUsers.md +10 -0
  244. data/spec/docs/Manifest.md +9 -0
  245. data/spec/docs/Namespace.md +9 -0
  246. data/spec/docs/NativeReportSummary.md +14 -0
  247. data/spec/docs/NotFoundChartAPIError.md +8 -0
  248. data/spec/docs/OverallHealthStatus.md +9 -0
  249. data/spec/docs/Password.md +9 -0
  250. data/spec/docs/Permission.md +9 -0
  251. data/spec/docs/PingRegistry.md +14 -0
  252. data/spec/docs/ProductsApi.md +8594 -0
  253. data/spec/docs/Project.md +21 -0
  254. data/spec/docs/ProjectMember.md +10 -0
  255. data/spec/docs/ProjectMemberEntity.md +14 -0
  256. data/spec/docs/ProjectMetadata.md +13 -0
  257. data/spec/docs/ProjectReq.md +12 -0
  258. data/spec/docs/ProjectScanner.md +8 -0
  259. data/spec/docs/ProjectSummary.md +14 -0
  260. data/spec/docs/ProjectSummaryQuota.md +9 -0
  261. data/spec/docs/PutRegistry.md +14 -0
  262. data/spec/docs/Quota.md +13 -0
  263. data/spec/docs/QuotaApi.md +118 -0
  264. data/spec/docs/QuotaRefObject.md +7 -0
  265. data/spec/docs/QuotaSwitcher.md +8 -0
  266. data/spec/docs/QuotaUpdateReq.md +8 -0
  267. data/spec/docs/Registry.md +17 -0
  268. data/spec/docs/RegistryCredential.md +10 -0
  269. data/spec/docs/RegistryInfo.md +11 -0
  270. data/spec/docs/ReplicationExecution.md +19 -0
  271. data/spec/docs/ReplicationFilter.md +9 -0
  272. data/spec/docs/ReplicationPolicy.md +20 -0
  273. data/spec/docs/ReplicationTask.md +16 -0
  274. data/spec/docs/ReplicationTrigger.md +9 -0
  275. data/spec/docs/RepoSignature.md +9 -0
  276. data/spec/docs/Report.md +11 -0
  277. data/spec/docs/Repository.md +17 -0
  278. data/spec/docs/RepositoryDescription.md +8 -0
  279. data/spec/docs/Resource.md +8 -0
  280. data/spec/docs/ResourceList.md +7 -0
  281. data/spec/docs/RetagReq.md +10 -0
  282. data/spec/docs/RetentionApi.md +449 -0
  283. data/spec/docs/RetentionExecution.md +14 -0
  284. data/spec/docs/RetentionExecutionTask.md +18 -0
  285. data/spec/docs/RetentionMetadata.md +10 -0
  286. data/spec/docs/RetentionPolicy.md +12 -0
  287. data/spec/docs/RetentionPolicyScope.md +9 -0
  288. data/spec/docs/RetentionRule.md +15 -0
  289. data/spec/docs/RetentionRuleMetadata.md +11 -0
  290. data/spec/docs/RetentionRuleParamMetadata.md +10 -0
  291. data/spec/docs/RetentionRuleTrigger.md +10 -0
  292. data/spec/docs/RetentionSelector.md +10 -0
  293. data/spec/docs/RetentionSelectorMetadata.md +10 -0
  294. data/spec/docs/RobotAccount.md +15 -0
  295. data/spec/docs/RobotAccountAccess.md +9 -0
  296. data/spec/docs/RobotAccountApi.md +291 -0
  297. data/spec/docs/RobotAccountCreate.md +10 -0
  298. data/spec/docs/RobotAccountPostRep.md +9 -0
  299. data/spec/docs/RobotAccountUpdate.md +8 -0
  300. data/spec/docs/Role.md +11 -0
  301. data/spec/docs/RoleParam.md +9 -0
  302. data/spec/docs/RoleRequest.md +8 -0
  303. data/spec/docs/ScanApi.md +281 -0
  304. data/spec/docs/ScanOverview.md +7 -0
  305. data/spec/docs/Scanner.md +10 -0
  306. data/spec/docs/ScannerAdapterMetadata.md +10 -0
  307. data/spec/docs/ScannerCapability.md +9 -0
  308. data/spec/docs/ScannerRegistration.md +21 -0
  309. data/spec/docs/ScannerRegistrationReq.md +15 -0
  310. data/spec/docs/ScannerRegistrationSettings.md +11 -0
  311. data/spec/docs/ScannersApi.md +600 -0
  312. data/spec/docs/Search.md +10 -0
  313. data/spec/docs/SearchRepository.md +13 -0
  314. data/spec/docs/SearchResult.md +10 -0
  315. data/spec/docs/SecurityReport.md +8 -0
  316. data/spec/docs/StatisticMap.md +13 -0
  317. data/spec/docs/Stats.md +11 -0
  318. data/spec/docs/Storage.md +9 -0
  319. data/spec/docs/StringConfigItem.md +9 -0
  320. data/spec/docs/SystemApi.md +163 -0
  321. data/spec/docs/SystemInfo.md +8 -0
  322. data/spec/docs/Tags.md +8 -0
  323. data/spec/docs/TriggerSettings.md +8 -0
  324. data/spec/docs/UnauthorizedChartAPIError.md +8 -0
  325. data/spec/docs/User.md +21 -0
  326. data/spec/docs/UserEntity.md +9 -0
  327. data/spec/docs/UserGroup.md +11 -0
  328. data/spec/docs/UserProfile.md +10 -0
  329. data/spec/docs/UserSearch.md +9 -0
  330. data/spec/docs/VulnNamespaceTimestamp.md +9 -0
  331. data/spec/docs/VulnerabilityItem.md +14 -0
  332. data/spec/docs/VulnerabilitySummary.md +10 -0
  333. data/spec/docs/WebhookJob.md +15 -0
  334. data/spec/docs/WebhookLastTrigger.md +11 -0
  335. data/spec/docs/WebhookPolicy.md +17 -0
  336. data/spec/docs/WebhookTargetObject.md +11 -0
  337. data/spec/git_push.sh +55 -0
  338. data/spec/harbor_swagger_client.gemspec +45 -0
  339. data/spec/lib/harbor_swagger_client.rb +182 -0
  340. data/spec/lib/harbor_swagger_client/api/chart_repository_api.rb +762 -0
  341. data/spec/lib/harbor_swagger_client/api/label_api.rb +230 -0
  342. data/spec/lib/harbor_swagger_client/api/products_api.rb +8783 -0
  343. data/spec/lib/harbor_swagger_client/api/quota_api.rb +136 -0
  344. data/spec/lib/harbor_swagger_client/api/retention_api.rb +482 -0
  345. data/spec/lib/harbor_swagger_client/api/robot_account_api.rb +321 -0
  346. data/spec/lib/harbor_swagger_client/api/scan_api.rb +307 -0
  347. data/spec/lib/harbor_swagger_client/api/scanners_api.rb +624 -0
  348. data/spec/lib/harbor_swagger_client/api/system_api.rb +173 -0
  349. data/spec/lib/harbor_swagger_client/api_client.rb +389 -0
  350. data/spec/lib/harbor_swagger_client/api_error.rb +38 -0
  351. data/spec/lib/harbor_swagger_client/configuration.rb +209 -0
  352. data/spec/lib/harbor_swagger_client/models/access_log.rb +234 -0
  353. data/spec/lib/harbor_swagger_client/models/action.rb +183 -0
  354. data/spec/lib/harbor_swagger_client/models/action_1.rb +183 -0
  355. data/spec/lib/harbor_swagger_client/models/admin_job_schedule.rb +183 -0
  356. data/spec/lib/harbor_swagger_client/models/admin_job_schedule_obj.rb +194 -0
  357. data/spec/lib/harbor_swagger_client/models/bad_request_formated_error.rb +190 -0
  358. data/spec/lib/harbor_swagger_client/models/bool_config_item.rb +194 -0
  359. data/spec/lib/harbor_swagger_client/models/chart_api_error.rb +190 -0
  360. data/spec/lib/harbor_swagger_client/models/chart_info_entry.rb +270 -0
  361. data/spec/lib/harbor_swagger_client/models/chart_info_list.rb +175 -0
  362. data/spec/lib/harbor_swagger_client/models/chart_metadata.rb +319 -0
  363. data/spec/lib/harbor_swagger_client/models/chart_version.rb +361 -0
  364. data/spec/lib/harbor_swagger_client/models/chart_version_details.rb +235 -0
  365. data/spec/lib/harbor_swagger_client/models/chart_versions.rb +175 -0
  366. data/spec/lib/harbor_swagger_client/models/component_health_status.rb +205 -0
  367. data/spec/lib/harbor_swagger_client/models/component_overview_entry.rb +194 -0
  368. data/spec/lib/harbor_swagger_client/models/configurations.rb +523 -0
  369. data/spec/lib/harbor_swagger_client/models/configurations_response.rb +513 -0
  370. data/spec/lib/harbor_swagger_client/models/configurations_scan_all_policy.rb +193 -0
  371. data/spec/lib/harbor_swagger_client/models/configurations_scan_all_policy_parameter.rb +185 -0
  372. data/spec/lib/harbor_swagger_client/models/conflict_formated_error.rb +190 -0
  373. data/spec/lib/harbor_swagger_client/models/cve_whitelist.rb +216 -0
  374. data/spec/lib/harbor_swagger_client/models/cve_whitelist_item.rb +185 -0
  375. data/spec/lib/harbor_swagger_client/models/dependency.rb +215 -0
  376. data/spec/lib/harbor_swagger_client/models/detailed_tag.rb +286 -0
  377. data/spec/lib/harbor_swagger_client/models/digital_signature.rb +195 -0
  378. data/spec/lib/harbor_swagger_client/models/email_server_setting.rb +234 -0
  379. data/spec/lib/harbor_swagger_client/models/endpoint.rb +194 -0
  380. data/spec/lib/harbor_swagger_client/models/filter_style.rb +207 -0
  381. data/spec/lib/harbor_swagger_client/models/forbidden_chart_api_error.rb +190 -0
  382. data/spec/lib/harbor_swagger_client/models/gc_result.rb +253 -0
  383. data/spec/lib/harbor_swagger_client/models/general_info.rb +303 -0
  384. data/spec/lib/harbor_swagger_client/models/general_info_clair_vulnerability_status.rb +197 -0
  385. data/spec/lib/harbor_swagger_client/models/has_admin_role.rb +184 -0
  386. data/spec/lib/harbor_swagger_client/models/immutable_tag_rule.rb +210 -0
  387. data/spec/lib/harbor_swagger_client/models/inline_response_200.rb +183 -0
  388. data/spec/lib/harbor_swagger_client/models/input_secret.rb +184 -0
  389. data/spec/lib/harbor_swagger_client/models/insufficient_storage_chart_api_error.rb +190 -0
  390. data/spec/lib/harbor_swagger_client/models/integer_config_item.rb +194 -0
  391. data/spec/lib/harbor_swagger_client/models/internal_chart_api_error.rb +190 -0
  392. data/spec/lib/harbor_swagger_client/models/is_default.rb +184 -0
  393. data/spec/lib/harbor_swagger_client/models/job_status.rb +256 -0
  394. data/spec/lib/harbor_swagger_client/models/label.rb +264 -0
  395. data/spec/lib/harbor_swagger_client/models/labels.rb +175 -0
  396. data/spec/lib/harbor_swagger_client/models/ldap_conf.rb +254 -0
  397. data/spec/lib/harbor_swagger_client/models/ldap_failed_import_users.rb +194 -0
  398. data/spec/lib/harbor_swagger_client/models/ldap_import_users.rb +186 -0
  399. data/spec/lib/harbor_swagger_client/models/ldap_users.rb +204 -0
  400. data/spec/lib/harbor_swagger_client/models/manifest.rb +194 -0
  401. data/spec/lib/harbor_swagger_client/models/namespace.rb +195 -0
  402. data/spec/lib/harbor_swagger_client/models/native_report_summary.rb +244 -0
  403. data/spec/lib/harbor_swagger_client/models/not_found_chart_api_error.rb +190 -0
  404. data/spec/lib/harbor_swagger_client/models/overall_health_status.rb +196 -0
  405. data/spec/lib/harbor_swagger_client/models/password.rb +194 -0
  406. data/spec/lib/harbor_swagger_client/models/permission.rb +195 -0
  407. data/spec/lib/harbor_swagger_client/models/ping_registry.rb +244 -0
  408. data/spec/lib/harbor_swagger_client/models/project.rb +316 -0
  409. data/spec/lib/harbor_swagger_client/models/project_member.rb +202 -0
  410. data/spec/lib/harbor_swagger_client/models/project_member_entity.rb +244 -0
  411. data/spec/lib/harbor_swagger_client/models/project_metadata.rb +234 -0
  412. data/spec/lib/harbor_swagger_client/models/project_req.rb +224 -0
  413. data/spec/lib/harbor_swagger_client/models/project_scanner.rb +184 -0
  414. data/spec/lib/harbor_swagger_client/models/project_summary.rb +243 -0
  415. data/spec/lib/harbor_swagger_client/models/project_summary_quota.rb +194 -0
  416. data/spec/lib/harbor_swagger_client/models/put_registry.rb +244 -0
  417. data/spec/lib/harbor_swagger_client/models/quota.rb +235 -0
  418. data/spec/lib/harbor_swagger_client/models/quota_ref_object.rb +174 -0
  419. data/spec/lib/harbor_swagger_client/models/quota_switcher.rb +184 -0
  420. data/spec/lib/harbor_swagger_client/models/quota_update_req.rb +184 -0
  421. data/spec/lib/harbor_swagger_client/models/registry.rb +273 -0
  422. data/spec/lib/harbor_swagger_client/models/registry_credential.rb +204 -0
  423. data/spec/lib/harbor_swagger_client/models/registry_info.rb +219 -0
  424. data/spec/lib/harbor_swagger_client/models/replication_execution.rb +295 -0
  425. data/spec/lib/harbor_swagger_client/models/replication_filter.rb +194 -0
  426. data/spec/lib/harbor_swagger_client/models/replication_policy.rb +305 -0
  427. data/spec/lib/harbor_swagger_client/models/replication_task.rb +265 -0
  428. data/spec/lib/harbor_swagger_client/models/replication_trigger.rb +193 -0
  429. data/spec/lib/harbor_swagger_client/models/repo_signature.rb +194 -0
  430. data/spec/lib/harbor_swagger_client/models/report.rb +215 -0
  431. data/spec/lib/harbor_swagger_client/models/repository.rb +276 -0
  432. data/spec/lib/harbor_swagger_client/models/repository_description.rb +184 -0
  433. data/spec/lib/harbor_swagger_client/models/resource.rb +186 -0
  434. data/spec/lib/harbor_swagger_client/models/resource_list.rb +174 -0
  435. data/spec/lib/harbor_swagger_client/models/retag_req.rb +204 -0
  436. data/spec/lib/harbor_swagger_client/models/retention_execution.rb +237 -0
  437. data/spec/lib/harbor_swagger_client/models/retention_execution_task.rb +273 -0
  438. data/spec/lib/harbor_swagger_client/models/retention_metadata.rb +211 -0
  439. data/spec/lib/harbor_swagger_client/models/retention_policy.rb +222 -0
  440. data/spec/lib/harbor_swagger_client/models/retention_policy_scope.rb +192 -0
  441. data/spec/lib/harbor_swagger_client/models/retention_rule.rb +252 -0
  442. data/spec/lib/harbor_swagger_client/models/retention_rule_metadata.rb +217 -0
  443. data/spec/lib/harbor_swagger_client/models/retention_rule_param_metadata.rb +202 -0
  444. data/spec/lib/harbor_swagger_client/models/retention_rule_trigger.rb +201 -0
  445. data/spec/lib/harbor_swagger_client/models/retention_selector.rb +201 -0
  446. data/spec/lib/harbor_swagger_client/models/retention_selector_metadata.rb +204 -0
  447. data/spec/lib/harbor_swagger_client/models/robot_account.rb +255 -0
  448. data/spec/lib/harbor_swagger_client/models/robot_account_access.rb +194 -0
  449. data/spec/lib/harbor_swagger_client/models/robot_account_create.rb +206 -0
  450. data/spec/lib/harbor_swagger_client/models/robot_account_post_rep.rb +194 -0
  451. data/spec/lib/harbor_swagger_client/models/robot_account_update.rb +184 -0
  452. data/spec/lib/harbor_swagger_client/models/role.rb +213 -0
  453. data/spec/lib/harbor_swagger_client/models/role_param.rb +196 -0
  454. data/spec/lib/harbor_swagger_client/models/role_request.rb +184 -0
  455. data/spec/lib/harbor_swagger_client/models/scan_overview.rb +175 -0
  456. data/spec/lib/harbor_swagger_client/models/scanner.rb +204 -0
  457. data/spec/lib/harbor_swagger_client/models/scanner_adapter_metadata.rb +206 -0
  458. data/spec/lib/harbor_swagger_client/models/scanner_capability.rb +196 -0
  459. data/spec/lib/harbor_swagger_client/models/scanner_registration.rb +327 -0
  460. data/spec/lib/harbor_swagger_client/models/scanner_registration_req.rb +262 -0
  461. data/spec/lib/harbor_swagger_client/models/scanner_registration_settings.rb +216 -0
  462. data/spec/lib/harbor_swagger_client/models/search.rb +210 -0
  463. data/spec/lib/harbor_swagger_client/models/search_repository.rb +234 -0
  464. data/spec/lib/harbor_swagger_client/models/search_result.rb +204 -0
  465. data/spec/lib/harbor_swagger_client/models/security_report.rb +184 -0
  466. data/spec/lib/harbor_swagger_client/models/statistic_map.rb +234 -0
  467. data/spec/lib/harbor_swagger_client/models/stats.rb +217 -0
  468. data/spec/lib/harbor_swagger_client/models/storage.rb +194 -0
  469. data/spec/lib/harbor_swagger_client/models/string_config_item.rb +194 -0
  470. data/spec/lib/harbor_swagger_client/models/system_info.rb +186 -0
  471. data/spec/lib/harbor_swagger_client/models/tags.rb +184 -0
  472. data/spec/lib/harbor_swagger_client/models/trigger_settings.rb +184 -0
  473. data/spec/lib/harbor_swagger_client/models/unauthorized_chart_api_error.rb +190 -0
  474. data/spec/lib/harbor_swagger_client/models/user.rb +301 -0
  475. data/spec/lib/harbor_swagger_client/models/user_entity.rb +194 -0
  476. data/spec/lib/harbor_swagger_client/models/user_group.rb +214 -0
  477. data/spec/lib/harbor_swagger_client/models/user_profile.rb +204 -0
  478. data/spec/lib/harbor_swagger_client/models/user_search.rb +193 -0
  479. data/spec/lib/harbor_swagger_client/models/vuln_namespace_timestamp.rb +194 -0
  480. data/spec/lib/harbor_swagger_client/models/vulnerability_item.rb +246 -0
  481. data/spec/lib/harbor_swagger_client/models/vulnerability_summary.rb +207 -0
  482. data/spec/lib/harbor_swagger_client/models/webhook_job.rb +255 -0
  483. data/spec/lib/harbor_swagger_client/models/webhook_last_trigger.rb +215 -0
  484. data/spec/lib/harbor_swagger_client/models/webhook_policy.rb +277 -0
  485. data/spec/lib/harbor_swagger_client/models/webhook_target_object.rb +215 -0
  486. data/spec/lib/harbor_swagger_client/version.rb +15 -0
  487. data/spec/models/access_log_spec.rb +1 -1
  488. data/spec/models/action_1_spec.rb +1 -1
  489. data/spec/models/action_spec.rb +1 -1
  490. data/spec/models/admin_job_schedule_obj_spec.rb +1 -1
  491. data/spec/models/admin_job_schedule_spec.rb +1 -1
  492. data/spec/models/bad_request_formated_error_spec.rb +1 -1
  493. data/spec/models/bool_config_item_spec.rb +1 -1
  494. data/spec/models/chart_api_error_spec.rb +1 -1
  495. data/spec/models/chart_info_entry_spec.rb +1 -1
  496. data/spec/models/chart_info_list_spec.rb +1 -1
  497. data/spec/models/chart_metadata_spec.rb +1 -1
  498. data/spec/models/chart_version_details_spec.rb +1 -1
  499. data/spec/models/chart_version_spec.rb +1 -1
  500. data/spec/models/chart_versions_spec.rb +1 -1
  501. data/spec/models/component_health_status_spec.rb +1 -1
  502. data/spec/models/component_overview_entry_spec.rb +1 -1
  503. data/spec/models/configurations_response_spec.rb +31 -1
  504. data/spec/models/configurations_scan_all_policy_parameter_spec.rb +1 -1
  505. data/spec/models/configurations_scan_all_policy_spec.rb +1 -1
  506. data/spec/models/configurations_spec.rb +37 -1
  507. data/spec/models/conflict_formated_error_spec.rb +1 -1
  508. data/spec/models/cve_whitelist_item_spec.rb +1 -1
  509. data/spec/models/cve_whitelist_spec.rb +1 -1
  510. data/spec/models/dependency_spec.rb +1 -1
  511. data/spec/models/detailed_tag_spec.rb +1 -1
  512. data/spec/models/digital_signature_spec.rb +1 -1
  513. data/spec/models/email_server_setting_spec.rb +1 -1
  514. data/spec/models/endpoint_spec.rb +1 -1
  515. data/spec/models/filter_style_spec.rb +1 -1
  516. data/spec/models/forbidden_chart_api_error_spec.rb +1 -1
  517. data/spec/models/gc_result_spec.rb +1 -1
  518. data/spec/models/general_info_clair_vulnerability_status_spec.rb +1 -1
  519. data/spec/models/general_info_spec.rb +1 -1
  520. data/spec/models/has_admin_role_spec.rb +1 -1
  521. data/spec/models/immutable_tag_rule_spec.rb +59 -0
  522. data/spec/models/inline_response_200_spec.rb +2 -2
  523. data/spec/models/input_secret_spec.rb +41 -0
  524. data/spec/models/insufficient_storage_chart_api_error_spec.rb +1 -1
  525. data/spec/models/integer_config_item_spec.rb +1 -1
  526. data/spec/models/internal_chart_api_error_spec.rb +1 -1
  527. data/spec/models/is_default_spec.rb +41 -0
  528. data/spec/models/job_status_spec.rb +1 -1
  529. data/spec/models/label_spec.rb +1 -1
  530. data/spec/models/labels_spec.rb +1 -1
  531. data/spec/models/ldap_conf_spec.rb +1 -1
  532. data/spec/models/ldap_failed_import_users_spec.rb +1 -1
  533. data/spec/models/ldap_import_users_spec.rb +1 -1
  534. data/spec/models/ldap_users_spec.rb +1 -1
  535. data/spec/models/manifest_spec.rb +1 -1
  536. data/spec/models/namespace_spec.rb +1 -1
  537. data/spec/models/native_report_summary_spec.rb +77 -0
  538. data/spec/models/not_found_chart_api_error_spec.rb +1 -1
  539. data/spec/models/overall_health_status_spec.rb +1 -1
  540. data/spec/models/password_spec.rb +1 -1
  541. data/spec/models/permission_spec.rb +1 -1
  542. data/spec/models/ping_registry_spec.rb +1 -1
  543. data/spec/models/project_member_entity_spec.rb +1 -1
  544. data/spec/models/project_member_spec.rb +1 -1
  545. data/spec/models/project_metadata_spec.rb +1 -1
  546. data/spec/models/project_req_spec.rb +1 -1
  547. data/spec/models/project_scanner_spec.rb +41 -0
  548. data/spec/models/project_spec.rb +7 -1
  549. data/spec/models/project_summary_quota_spec.rb +1 -1
  550. data/spec/models/project_summary_spec.rb +1 -1
  551. data/spec/models/put_registry_spec.rb +1 -1
  552. data/spec/models/quota_ref_object_spec.rb +1 -1
  553. data/spec/models/quota_spec.rb +1 -1
  554. data/spec/models/quota_switcher_spec.rb +1 -1
  555. data/spec/models/quota_update_req_spec.rb +1 -1
  556. data/spec/models/registry_credential_spec.rb +1 -1
  557. data/spec/models/registry_info_spec.rb +1 -1
  558. data/spec/models/registry_spec.rb +1 -1
  559. data/spec/models/replication_execution_spec.rb +1 -1
  560. data/spec/models/replication_filter_spec.rb +1 -1
  561. data/spec/models/replication_policy_spec.rb +1 -1
  562. data/spec/models/replication_task_spec.rb +1 -1
  563. data/spec/models/replication_trigger_spec.rb +1 -1
  564. data/spec/models/repo_signature_spec.rb +1 -1
  565. data/spec/models/report_spec.rb +59 -0
  566. data/spec/models/repository_description_spec.rb +1 -1
  567. data/spec/models/repository_spec.rb +1 -1
  568. data/spec/models/resource_list_spec.rb +1 -1
  569. data/spec/models/resource_spec.rb +1 -1
  570. data/spec/models/retag_req_spec.rb +1 -1
  571. data/spec/models/retention_execution_spec.rb +1 -1
  572. data/spec/models/retention_execution_task_spec.rb +1 -1
  573. data/spec/models/retention_metadata_spec.rb +1 -1
  574. data/spec/models/retention_policy_scope_spec.rb +1 -1
  575. data/spec/models/retention_policy_spec.rb +1 -1
  576. data/spec/models/retention_rule_metadata_spec.rb +1 -1
  577. data/spec/models/retention_rule_param_metadata_spec.rb +1 -1
  578. data/spec/models/retention_rule_spec.rb +1 -1
  579. data/spec/models/retention_rule_trigger_spec.rb +1 -1
  580. data/spec/models/retention_selector_metadata_spec.rb +1 -1
  581. data/spec/models/retention_selector_spec.rb +1 -1
  582. data/spec/models/robot_account_access_spec.rb +1 -1
  583. data/spec/models/robot_account_create_spec.rb +1 -1
  584. data/spec/models/robot_account_post_rep_spec.rb +1 -1
  585. data/spec/models/robot_account_spec.rb +1 -1
  586. data/spec/models/robot_account_update_spec.rb +1 -1
  587. data/spec/models/role_param_spec.rb +1 -1
  588. data/spec/models/role_request_spec.rb +1 -1
  589. data/spec/models/role_spec.rb +1 -1
  590. data/spec/models/scan_overview_spec.rb +35 -0
  591. data/spec/models/scanner_adapter_metadata_spec.rb +53 -0
  592. data/spec/models/scanner_capability_spec.rb +47 -0
  593. data/spec/models/scanner_registration_req_spec.rb +83 -0
  594. data/spec/models/scanner_registration_settings_spec.rb +59 -0
  595. data/spec/models/scanner_registration_spec.rb +119 -0
  596. data/spec/models/scanner_spec.rb +53 -0
  597. data/spec/models/search_repository_spec.rb +1 -1
  598. data/spec/models/search_result_spec.rb +1 -1
  599. data/spec/models/search_spec.rb +1 -1
  600. data/spec/models/security_report_spec.rb +1 -1
  601. data/spec/models/statistic_map_spec.rb +1 -1
  602. data/spec/models/stats_spec.rb +59 -0
  603. data/spec/models/storage_spec.rb +1 -1
  604. data/spec/models/string_config_item_spec.rb +1 -1
  605. data/spec/models/system_info_spec.rb +1 -1
  606. data/spec/models/tags_spec.rb +1 -1
  607. data/spec/models/trigger_settings_spec.rb +1 -1
  608. data/spec/models/unauthorized_chart_api_error_spec.rb +1 -1
  609. data/spec/models/user_entity_spec.rb +1 -1
  610. data/spec/models/user_group_spec.rb +1 -1
  611. data/spec/models/user_profile_spec.rb +1 -1
  612. data/spec/models/user_search_spec.rb +1 -1
  613. data/spec/models/user_spec.rb +1 -1
  614. data/spec/models/vuln_namespace_timestamp_spec.rb +1 -1
  615. data/spec/models/vulnerability_item_spec.rb +11 -5
  616. data/spec/models/vulnerability_summary_spec.rb +53 -0
  617. data/spec/models/webhook_job_spec.rb +1 -1
  618. data/spec/models/webhook_last_trigger_spec.rb +1 -1
  619. data/spec/models/webhook_policy_spec.rb +1 -1
  620. data/spec/models/webhook_target_object_spec.rb +1 -1
  621. data/spec/spec_helper.rb +1 -1
  622. metadata +662 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77190875844e9c2534ff1c5aa42cf57912f1d487
4
- data.tar.gz: f80847f1c7cfe06fee507ef508041451d1da327d
3
+ metadata.gz: 8a3316bb0554daab53384a060e86138bbe7163cd
4
+ data.tar.gz: cb35b2ea6b6878ab16b3c2e431677a56f8857ca2
5
5
  SHA512:
6
- metadata.gz: 174d2858f38c335d7144f370629df2c44895fd52e0d8ccd6d56802e2d96183965bcb90432262a977c1cb5b8c6ea6947c2b24b4c93c90a298aa4062fe7b4feaef
7
- data.tar.gz: e5e16b9ae91a2d9984fb8294693e02dfb580648f719bd443a5b03cd85168051245208e3edb812afaa99a31200420b4064265fa673c6ddc57b80e6530fe8fc67d
6
+ metadata.gz: db2eaa44d742db55ea1e753a396515ef6692258a49742aed2815f5173d425b316222d195cc0afebe85434d42b3a066f9fb2efd7b5086c11d580ff4a1fedb9ba9
7
+ data.tar.gz: b89f4d6a6949a8f2dc3fa40f43f30bc28b2f1e342a14375b593e73c68b8e8ed33578f9d18b5f506f0bb0852c4d96508f57edd67c49536e5be5ede2a302b1c1f1
data/README.md CHANGED
@@ -6,7 +6,7 @@ These APIs provide services for manipulating Harbor project.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
- - API version: 1.9.0
9
+ - API version: 1.10.0
10
10
  - Package version: 1.0.0
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
@@ -134,6 +134,10 @@ Class | Method | HTTP request | Description
134
134
  *SwaggerClient::ProductsApi* | [**projects_post**](docs/ProductsApi.md#projects_post) | **POST** /projects | Create a new project.
135
135
  *SwaggerClient::ProductsApi* | [**projects_project_id_delete**](docs/ProductsApi.md#projects_project_id_delete) | **DELETE** /projects/{project_id} | Delete project by projectID
136
136
  *SwaggerClient::ProductsApi* | [**projects_project_id_get**](docs/ProductsApi.md#projects_project_id_get) | **GET** /projects/{project_id} | Return specific project detail information
137
+ *SwaggerClient::ProductsApi* | [**projects_project_id_immutabletagrules_get**](docs/ProductsApi.md#projects_project_id_immutabletagrules_get) | **GET** /projects/{project_id}/immutabletagrules | List all immutable tag rules of current project
138
+ *SwaggerClient::ProductsApi* | [**projects_project_id_immutabletagrules_id_delete**](docs/ProductsApi.md#projects_project_id_immutabletagrules_id_delete) | **DELETE** /projects/{project_id}/immutabletagrules/{id} | Delete the immutable tag rule.
139
+ *SwaggerClient::ProductsApi* | [**projects_project_id_immutabletagrules_id_put**](docs/ProductsApi.md#projects_project_id_immutabletagrules_id_put) | **PUT** /projects/{project_id}/immutabletagrules/{id} | Update the immutable tag rule or enable or disable the rule
140
+ *SwaggerClient::ProductsApi* | [**projects_project_id_immutabletagrules_post**](docs/ProductsApi.md#projects_project_id_immutabletagrules_post) | **POST** /projects/{project_id}/immutabletagrules | Add an immutable tag rule to current project
137
141
  *SwaggerClient::ProductsApi* | [**projects_project_id_logs_get**](docs/ProductsApi.md#projects_project_id_logs_get) | **GET** /projects/{project_id}/logs | Get access logs accompany with a relevant project.
138
142
  *SwaggerClient::ProductsApi* | [**projects_project_id_members_get**](docs/ProductsApi.md#projects_project_id_members_get) | **GET** /projects/{project_id}/members | Get all project member information
139
143
  *SwaggerClient::ProductsApi* | [**projects_project_id_members_mid_delete**](docs/ProductsApi.md#projects_project_id_members_mid_delete) | **DELETE** /projects/{project_id}/members/{mid} | Delete project member
@@ -151,6 +155,8 @@ Class | Method | HTTP request | Description
151
155
  *SwaggerClient::ProductsApi* | [**projects_project_id_robots_robot_id_delete**](docs/ProductsApi.md#projects_project_id_robots_robot_id_delete) | **DELETE** /projects/{project_id}/robots/{robot_id} | Delete the specified robot account
152
156
  *SwaggerClient::ProductsApi* | [**projects_project_id_robots_robot_id_get**](docs/ProductsApi.md#projects_project_id_robots_robot_id_get) | **GET** /projects/{project_id}/robots/{robot_id} | Return the infor of the specified robot account.
153
157
  *SwaggerClient::ProductsApi* | [**projects_project_id_robots_robot_id_put**](docs/ProductsApi.md#projects_project_id_robots_robot_id_put) | **PUT** /projects/{project_id}/robots/{robot_id} | Update status of robot account.
158
+ *SwaggerClient::ProductsApi* | [**projects_project_id_scanner_candidates_get**](docs/ProductsApi.md#projects_project_id_scanner_candidates_get) | **GET** /projects/{project_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
159
+ *SwaggerClient::ProductsApi* | [**projects_project_id_scanner_get**](docs/ProductsApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
154
160
  *SwaggerClient::ProductsApi* | [**projects_project_id_summary_get**](docs/ProductsApi.md#projects_project_id_summary_get) | **GET** /projects/{project_id}/summary | Get summary of the project.
155
161
  *SwaggerClient::ProductsApi* | [**projects_project_id_webhook_jobs_get**](docs/ProductsApi.md#projects_project_id_webhook_jobs_get) | **GET** /projects/{project_id}/webhook/jobs | List project webhook jobs
156
162
  *SwaggerClient::ProductsApi* | [**projects_project_id_webhook_lasttrigger_get**](docs/ProductsApi.md#projects_project_id_webhook_lasttrigger_get) | **GET** /projects/{project_id}/webhook/lasttrigger | Get project webhook policy last trigger info
@@ -160,6 +166,9 @@ Class | Method | HTTP request | Description
160
166
  *SwaggerClient::ProductsApi* | [**projects_project_id_webhook_policies_policy_id_put**](docs/ProductsApi.md#projects_project_id_webhook_policies_policy_id_put) | **PUT** /projects/{project_id}/webhook/policies/{policy_id} | Update webhook policy of a project.
161
167
  *SwaggerClient::ProductsApi* | [**projects_project_id_webhook_policies_post**](docs/ProductsApi.md#projects_project_id_webhook_policies_post) | **POST** /projects/{project_id}/webhook/policies | Create project webhook policy.
162
168
  *SwaggerClient::ProductsApi* | [**projects_project_id_webhook_policies_test_post**](docs/ProductsApi.md#projects_project_id_webhook_policies_test_post) | **POST** /projects/{project_id}/webhook/policies/test | Test project webhook connection
169
+ *SwaggerClient::ProductsApi* | [**quotas_get**](docs/ProductsApi.md#quotas_get) | **GET** /quotas | List quotas
170
+ *SwaggerClient::ProductsApi* | [**quotas_id_get**](docs/ProductsApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
171
+ *SwaggerClient::ProductsApi* | [**quotas_id_put**](docs/ProductsApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
163
172
  *SwaggerClient::ProductsApi* | [**registries_get**](docs/ProductsApi.md#registries_get) | **GET** /registries | List registries.
164
173
  *SwaggerClient::ProductsApi* | [**registries_id_delete**](docs/ProductsApi.md#registries_id_delete) | **DELETE** /registries/{id} | Delete specific registry.
165
174
  *SwaggerClient::ProductsApi* | [**registries_id_get**](docs/ProductsApi.md#registries_id_get) | **GET** /registries/{id} | Get registry.
@@ -196,7 +205,7 @@ Class | Method | HTTP request | Description
196
205
  *SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_tag_labels_post**](docs/ProductsApi.md#repositories_repo_name_tags_tag_labels_post) | **POST** /repositories/{repo_name}/tags/{tag}/labels | Add a label to image.
197
206
  *SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_tag_manifest_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_manifest_get) | **GET** /repositories/{repo_name}/tags/{tag}/manifest | Get manifests of a relevant repository.
198
207
  *SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_tag_scan_post**](docs/ProductsApi.md#repositories_repo_name_tags_tag_scan_post) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image.
199
- *SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_tag_vulnerability_details_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_vulnerability_details_get) | **GET** /repositories/{repo_name}/tags/{tag}/vulnerability/details | Get vulnerability details of the image.
208
+ *SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_tag_scan_uuid_log_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_scan_uuid_log_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan/{uuid}/log | Get scan log
200
209
  *SwaggerClient::ProductsApi* | [**repositories_top_get**](docs/ProductsApi.md#repositories_top_get) | **GET** /repositories/top | Get public repositories which are accessed most.
201
210
  *SwaggerClient::ProductsApi* | [**retentions_id_executions_eid_patch**](docs/ProductsApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
202
211
  *SwaggerClient::ProductsApi* | [**retentions_id_executions_eid_tasks_get**](docs/ProductsApi.md#retentions_id_executions_eid_tasks_get) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention job tasks
@@ -207,6 +216,12 @@ Class | Method | HTTP request | Description
207
216
  *SwaggerClient::ProductsApi* | [**retentions_id_put**](docs/ProductsApi.md#retentions_id_put) | **PUT** /retentions/{id} | Update Retention Policy
208
217
  *SwaggerClient::ProductsApi* | [**retentions_metadatas_get**](docs/ProductsApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
209
218
  *SwaggerClient::ProductsApi* | [**retentions_post**](docs/ProductsApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
219
+ *SwaggerClient::ProductsApi* | [**scanners_get**](docs/ProductsApi.md#scanners_get) | **GET** /scanners | List scanner registrations
220
+ *SwaggerClient::ProductsApi* | [**scanners_ping_post**](docs/ProductsApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
221
+ *SwaggerClient::ProductsApi* | [**scanners_registration_id_get**](docs/ProductsApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
222
+ *SwaggerClient::ProductsApi* | [**scanners_registration_id_metadata_get**](docs/ProductsApi.md#scanners_registration_id_metadata_get) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
223
+ *SwaggerClient::ProductsApi* | [**scans_all_metrics_get**](docs/ProductsApi.md#scans_all_metrics_get) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
224
+ *SwaggerClient::ProductsApi* | [**scans_schedule_metrics_get**](docs/ProductsApi.md#scans_schedule_metrics_get) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
210
225
  *SwaggerClient::ProductsApi* | [**search_get**](docs/ProductsApi.md#search_get) | **GET** /search | Search for projects, repositories and helm charts
211
226
  *SwaggerClient::ProductsApi* | [**statistics_get**](docs/ProductsApi.md#statistics_get) | **GET** /statistics | Get projects number and repositories number relevant to the user
212
227
  *SwaggerClient::ProductsApi* | [**system_cve_whitelist_get**](docs/ProductsApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
@@ -234,13 +249,12 @@ Class | Method | HTTP request | Description
234
249
  *SwaggerClient::ProductsApi* | [**users_get**](docs/ProductsApi.md#users_get) | **GET** /users | Get registered users of Harbor.
235
250
  *SwaggerClient::ProductsApi* | [**users_post**](docs/ProductsApi.md#users_post) | **POST** /users | Creates a new user account.
236
251
  *SwaggerClient::ProductsApi* | [**users_search_get**](docs/ProductsApi.md#users_search_get) | **GET** /users/search | Search users by username
252
+ *SwaggerClient::ProductsApi* | [**users_user_id_cli_secret_put**](docs/ProductsApi.md#users_user_id_cli_secret_put) | **PUT** /users/{user_id}/cli_secret | Set CLI secret for a user.
237
253
  *SwaggerClient::ProductsApi* | [**users_user_id_delete**](docs/ProductsApi.md#users_user_id_delete) | **DELETE** /users/{user_id} | Mark a registered user as be removed.
238
- *SwaggerClient::ProductsApi* | [**users_user_id_gen_cli_secret_post**](docs/ProductsApi.md#users_user_id_gen_cli_secret_post) | **POST** /users/{user_id}/gen_cli_secret | Generate new CLI secret for a user.
239
254
  *SwaggerClient::ProductsApi* | [**users_user_id_get**](docs/ProductsApi.md#users_user_id_get) | **GET** /users/{user_id} | Get a user's profile.
240
255
  *SwaggerClient::ProductsApi* | [**users_user_id_password_put**](docs/ProductsApi.md#users_user_id_password_put) | **PUT** /users/{user_id}/password | Change the password on a user that already exists.
241
256
  *SwaggerClient::ProductsApi* | [**users_user_id_put**](docs/ProductsApi.md#users_user_id_put) | **PUT** /users/{user_id} | Update a registered user to change his profile.
242
257
  *SwaggerClient::ProductsApi* | [**users_user_id_sysadmin_put**](docs/ProductsApi.md#users_user_id_sysadmin_put) | **PUT** /users/{user_id}/sysadmin | Update a registered user to change to be an administrator of Harbor.
243
- *SwaggerClient::QuotaApi* | [**quotas_get**](docs/QuotaApi.md#quotas_get) | **GET** /quotas | List quotas
244
258
  *SwaggerClient::QuotaApi* | [**quotas_id_get**](docs/QuotaApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
245
259
  *SwaggerClient::QuotaApi* | [**quotas_id_put**](docs/QuotaApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
246
260
  *SwaggerClient::RetentionApi* | [**retentions_id_executions_eid_patch**](docs/RetentionApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
@@ -256,6 +270,22 @@ Class | Method | HTTP request | Description
256
270
  *SwaggerClient::RobotAccountApi* | [**projects_project_id_robots_robot_id_delete**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_delete) | **DELETE** /projects/{project_id}/robots/{robot_id} | Delete the specified robot account
257
271
  *SwaggerClient::RobotAccountApi* | [**projects_project_id_robots_robot_id_get**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_get) | **GET** /projects/{project_id}/robots/{robot_id} | Return the infor of the specified robot account.
258
272
  *SwaggerClient::RobotAccountApi* | [**projects_project_id_robots_robot_id_put**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_put) | **PUT** /projects/{project_id}/robots/{robot_id} | Update status of robot account.
273
+ *SwaggerClient::ScanApi* | [**repositories_repo_name_tags_tag_scan_get**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan | Get the scan report
274
+ *SwaggerClient::ScanApi* | [**repositories_repo_name_tags_tag_scan_post**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_post) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image.
275
+ *SwaggerClient::ScanApi* | [**repositories_repo_name_tags_tag_scan_uuid_log_get**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_uuid_log_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan/{uuid}/log | Get scan log
276
+ *SwaggerClient::ScanApi* | [**scans_all_metrics_get**](docs/ScanApi.md#scans_all_metrics_get) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
277
+ *SwaggerClient::ScanApi* | [**scans_schedule_metrics_get**](docs/ScanApi.md#scans_schedule_metrics_get) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
278
+ *SwaggerClient::ScannersApi* | [**projects_project_id_scanner_candidates_get**](docs/ScannersApi.md#projects_project_id_scanner_candidates_get) | **GET** /projects/{project_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
279
+ *SwaggerClient::ScannersApi* | [**projects_project_id_scanner_get**](docs/ScannersApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
280
+ *SwaggerClient::ScannersApi* | [**projects_project_id_scanner_put**](docs/ScannersApi.md#projects_project_id_scanner_put) | **PUT** /projects/{project_id}/scanner | Configure scanner for the specified project
281
+ *SwaggerClient::ScannersApi* | [**scanners_get**](docs/ScannersApi.md#scanners_get) | **GET** /scanners | List scanner registrations
282
+ *SwaggerClient::ScannersApi* | [**scanners_ping_post**](docs/ScannersApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
283
+ *SwaggerClient::ScannersApi* | [**scanners_post**](docs/ScannersApi.md#scanners_post) | **POST** /scanners | Create a scanner registration
284
+ *SwaggerClient::ScannersApi* | [**scanners_registration_id_delete**](docs/ScannersApi.md#scanners_registration_id_delete) | **DELETE** /scanners/{registration_id} | Delete a scanner registration
285
+ *SwaggerClient::ScannersApi* | [**scanners_registration_id_get**](docs/ScannersApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
286
+ *SwaggerClient::ScannersApi* | [**scanners_registration_id_metadata_get**](docs/ScannersApi.md#scanners_registration_id_metadata_get) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
287
+ *SwaggerClient::ScannersApi* | [**scanners_registration_id_patch**](docs/ScannersApi.md#scanners_registration_id_patch) | **PATCH** /scanners/{registration_id} | Set system default scanner registration
288
+ *SwaggerClient::ScannersApi* | [**scanners_registration_id_put**](docs/ScannersApi.md#scanners_registration_id_put) | **PUT** /scanners/{registration_id} | Update a scanner registration
259
289
  *SwaggerClient::SystemApi* | [**system_cve_whitelist_get**](docs/SystemApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
260
290
  *SwaggerClient::SystemApi* | [**system_cve_whitelist_put**](docs/SystemApi.md#system_cve_whitelist_put) | **PUT** /system/CVEWhitelist | Update the system level whitelist of CVE.
261
291
  *SwaggerClient::SystemApi* | [**system_oidc_ping_post**](docs/SystemApi.md#system_oidc_ping_post) | **POST** /system/oidc/ping | Test the OIDC endpoint.
@@ -285,8 +315,6 @@ Class | Method | HTTP request | Description
285
315
  - [SwaggerClient::ConfigurationsScanAllPolicyParameter](docs/ConfigurationsScanAllPolicyParameter.md)
286
316
  - [SwaggerClient::Dependency](docs/Dependency.md)
287
317
  - [SwaggerClient::DetailedTag](docs/DetailedTag.md)
288
- - [SwaggerClient::DetailedTagScanOverview](docs/DetailedTagScanOverview.md)
289
- - [SwaggerClient::DetailedTagScanOverviewComponents](docs/DetailedTagScanOverviewComponents.md)
290
318
  - [SwaggerClient::DigitalSignature](docs/DigitalSignature.md)
291
319
  - [SwaggerClient::EmailServerSetting](docs/EmailServerSetting.md)
292
320
  - [SwaggerClient::Endpoint](docs/Endpoint.md)
@@ -295,9 +323,11 @@ Class | Method | HTTP request | Description
295
323
  - [SwaggerClient::GeneralInfo](docs/GeneralInfo.md)
296
324
  - [SwaggerClient::GeneralInfoClairVulnerabilityStatus](docs/GeneralInfoClairVulnerabilityStatus.md)
297
325
  - [SwaggerClient::HasAdminRole](docs/HasAdminRole.md)
326
+ - [SwaggerClient::ImmutableTagRule](docs/ImmutableTagRule.md)
298
327
  - [SwaggerClient::InlineResponse200](docs/InlineResponse200.md)
299
- - [SwaggerClient::InlineResponse2001](docs/InlineResponse2001.md)
328
+ - [SwaggerClient::InputSecret](docs/InputSecret.md)
300
329
  - [SwaggerClient::IntegerConfigItem](docs/IntegerConfigItem.md)
330
+ - [SwaggerClient::IsDefault](docs/IsDefault.md)
301
331
  - [SwaggerClient::JobStatus](docs/JobStatus.md)
302
332
  - [SwaggerClient::Label](docs/Label.md)
303
333
  - [SwaggerClient::Labels](docs/Labels.md)
@@ -307,6 +337,7 @@ Class | Method | HTTP request | Description
307
337
  - [SwaggerClient::LdapUsers](docs/LdapUsers.md)
308
338
  - [SwaggerClient::Manifest](docs/Manifest.md)
309
339
  - [SwaggerClient::Namespace](docs/Namespace.md)
340
+ - [SwaggerClient::NativeReportSummary](docs/NativeReportSummary.md)
310
341
  - [SwaggerClient::OverallHealthStatus](docs/OverallHealthStatus.md)
311
342
  - [SwaggerClient::Password](docs/Password.md)
312
343
  - [SwaggerClient::Permission](docs/Permission.md)
@@ -316,6 +347,7 @@ Class | Method | HTTP request | Description
316
347
  - [SwaggerClient::ProjectMemberEntity](docs/ProjectMemberEntity.md)
317
348
  - [SwaggerClient::ProjectMetadata](docs/ProjectMetadata.md)
318
349
  - [SwaggerClient::ProjectReq](docs/ProjectReq.md)
350
+ - [SwaggerClient::ProjectScanner](docs/ProjectScanner.md)
319
351
  - [SwaggerClient::ProjectSummary](docs/ProjectSummary.md)
320
352
  - [SwaggerClient::ProjectSummaryQuota](docs/ProjectSummaryQuota.md)
321
353
  - [SwaggerClient::PutRegistry](docs/PutRegistry.md)
@@ -332,6 +364,7 @@ Class | Method | HTTP request | Description
332
364
  - [SwaggerClient::ReplicationTask](docs/ReplicationTask.md)
333
365
  - [SwaggerClient::ReplicationTrigger](docs/ReplicationTrigger.md)
334
366
  - [SwaggerClient::RepoSignature](docs/RepoSignature.md)
367
+ - [SwaggerClient::Report](docs/Report.md)
335
368
  - [SwaggerClient::Repository](docs/Repository.md)
336
369
  - [SwaggerClient::RepositoryDescription](docs/RepositoryDescription.md)
337
370
  - [SwaggerClient::Resource](docs/Resource.md)
@@ -356,11 +389,19 @@ Class | Method | HTTP request | Description
356
389
  - [SwaggerClient::Role](docs/Role.md)
357
390
  - [SwaggerClient::RoleParam](docs/RoleParam.md)
358
391
  - [SwaggerClient::RoleRequest](docs/RoleRequest.md)
392
+ - [SwaggerClient::ScanOverview](docs/ScanOverview.md)
393
+ - [SwaggerClient::Scanner](docs/Scanner.md)
394
+ - [SwaggerClient::ScannerAdapterMetadata](docs/ScannerAdapterMetadata.md)
395
+ - [SwaggerClient::ScannerCapability](docs/ScannerCapability.md)
396
+ - [SwaggerClient::ScannerRegistration](docs/ScannerRegistration.md)
397
+ - [SwaggerClient::ScannerRegistrationReq](docs/ScannerRegistrationReq.md)
398
+ - [SwaggerClient::ScannerRegistrationSettings](docs/ScannerRegistrationSettings.md)
359
399
  - [SwaggerClient::Search](docs/Search.md)
360
400
  - [SwaggerClient::SearchRepository](docs/SearchRepository.md)
361
401
  - [SwaggerClient::SearchResult](docs/SearchResult.md)
362
402
  - [SwaggerClient::SecurityReport](docs/SecurityReport.md)
363
403
  - [SwaggerClient::StatisticMap](docs/StatisticMap.md)
404
+ - [SwaggerClient::Stats](docs/Stats.md)
364
405
  - [SwaggerClient::Storage](docs/Storage.md)
365
406
  - [SwaggerClient::StringConfigItem](docs/StringConfigItem.md)
366
407
  - [SwaggerClient::SystemInfo](docs/SystemInfo.md)
@@ -373,6 +414,7 @@ Class | Method | HTTP request | Description
373
414
  - [SwaggerClient::UserSearch](docs/UserSearch.md)
374
415
  - [SwaggerClient::VulnNamespaceTimestamp](docs/VulnNamespaceTimestamp.md)
375
416
  - [SwaggerClient::VulnerabilityItem](docs/VulnerabilityItem.md)
417
+ - [SwaggerClient::VulnerabilitySummary](docs/VulnerabilitySummary.md)
376
418
  - [SwaggerClient::WebhookJob](docs/WebhookJob.md)
377
419
  - [SwaggerClient::WebhookLastTrigger](docs/WebhookLastTrigger.md)
378
420
  - [SwaggerClient::WebhookPolicy](docs/WebhookPolicy.md)
@@ -75,7 +75,7 @@ nil (empty response body)
75
75
 
76
76
 
77
77
  # **chartrepo_health_get**
78
- > InlineResponse2001 chartrepo_health_get
78
+ > InlineResponse200 chartrepo_health_get
79
79
 
80
80
  Check the health of chart repository service.
81
81
 
@@ -108,7 +108,7 @@ This endpoint does not need any parameter.
108
108
 
109
109
  ### Return type
110
110
 
111
- [**InlineResponse2001**](InlineResponse2001.md)
111
+ [**InlineResponse200**](InlineResponse200.md)
112
112
 
113
113
  ### Authorization
114
114
 
@@ -24,6 +24,12 @@ Name | Type | Description | Notes
24
24
  **ldap_group_search_filter** | **String** | The filter to search the ldap group. | [optional]
25
25
  **ldap_group_search_scope** | **Integer** | The scope to search ldap. '0-LDAP_SCOPE_BASE, 1-LDAP_SCOPE_ONELEVEL, 2-LDAP_SCOPE_SUBTREE' | [optional]
26
26
  **ldap_group_admin_dn** | **String** | Specify the ldap group which have the same privilege with Harbor admin. | [optional]
27
+ **oidc_client_id** | **String** | The client id of the OIDC. | [optional]
28
+ **oidc_client_secret** | **String** | The client secret of the OIDC. | [optional]
29
+ **oidc_endpoint** | **String** | The URL of an OIDC-complaint server, must start with 'https://'. | [optional]
30
+ **oidc_name** | **String** | The name of the OIDC provider. | [optional]
31
+ **oidc_scope** | **String** | The scope sent to OIDC server during authentication, should be separated by comma. It has to contain “openid”, and “offline_access”. If you are using google, please remove “offline_access” from this field. | [optional]
32
+ **oidc_verify_cert** | **BOOLEAN** | Whether verify your OIDC server certificate, disable it if your OIDC server is hosted via self-hosted certificate. | [optional]
27
33
  **project_creation_restriction** | **String** | This attribute restricts what users have the permission to create project. It can be \"everyone\" or \"adminonly\". | [optional]
28
34
  **quota_per_project_enable** | **BOOLEAN** | This attribute indicates whether quota per project enabled in harbor | [optional]
29
35
  **read_only** | **BOOLEAN** | 'docker push' is prohibited by Harbor if you set it to true. | [optional]
@@ -24,6 +24,11 @@ Name | Type | Description | Notes
24
24
  **ldap_group_search_filter** | [**StringConfigItem**](StringConfigItem.md) | The filter to search the ldap group. | [optional]
25
25
  **ldap_group_search_scope** | [**IntegerConfigItem**](IntegerConfigItem.md) | The scope to search ldap. '0-LDAP_SCOPE_BASE, 1-LDAP_SCOPE_ONELEVEL, 2-LDAP_SCOPE_SUBTREE' | [optional]
26
26
  **ldap_group_admin_dn** | [**StringConfigItem**](StringConfigItem.md) | Specify the ldap group which have the same privilege with Harbor admin. | [optional]
27
+ **oidc_client_id** | [**StringConfigItem**](StringConfigItem.md) | The client id of the OIDC. | [optional]
28
+ **oidc_endpoint** | [**StringConfigItem**](StringConfigItem.md) | The URL of an OIDC-complaint server, must start with 'https://'. | [optional]
29
+ **oidc_name** | [**StringConfigItem**](StringConfigItem.md) | The name of the OIDC provider. | [optional]
30
+ **oidc_scope** | [**StringConfigItem**](StringConfigItem.md) | The scope sent to OIDC server during authentication, should be separated by comma. It has to contain “openid”, and “offline_access”. If you are using google, please remove “offline_access” from this field. | [optional]
31
+ **oidc_verify_cert** | [**BoolConfigItem**](BoolConfigItem.md) | Whether verify your OIDC server certificate, disable it if your OIDC server is hosted via self-hosted certificate. | [optional]
27
32
  **project_creation_restriction** | [**StringConfigItem**](StringConfigItem.md) | This attribute restricts what users have the permission to create project. It can be \"everyone\" or \"adminonly\". | [optional]
28
33
  **quota_per_project_enable** | [**BoolConfigItem**](BoolConfigItem.md) | This attribute indicates whether quota per project enabled in harbor | [optional]
29
34
  **read_only** | [**BoolConfigItem**](BoolConfigItem.md) | 'docker push' is prohibited by Harbor if you set it to true. | [optional]
data/docs/DetailedTag.md CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **author** | **String** | The author of the image. | [optional]
13
13
  **created** | **String** | The build time of the image. | [optional]
14
14
  **signature** | **Object** | The signature of image, defined by RepoSignature. If it is null, the image is unsigned. | [optional]
15
- **scan_overview** | [**DetailedTagScanOverview**](DetailedTagScanOverview.md) | | [optional]
15
+ **scan_overview** | [**ScanOverview**](ScanOverview.md) | The overview of the scan result. | [optional]
16
16
  **labels** | [**Array<Label>**](Label.md) | The label list. | [optional]
17
17
 
18
18
 
@@ -0,0 +1,11 @@
1
+ # SwaggerClient::ImmutableTagRule
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | | [optional]
7
+ **project_id** | **Integer** | | [optional]
8
+ **tag_filter** | **String** | | [optional]
9
+ **enabled** | **BOOLEAN** | | [optional]
10
+
11
+
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **secret** | **String** | The new secret | [optional]
6
+ **healthy** | **BOOLEAN** | | [optional]
7
7
 
8
8
 
@@ -0,0 +1,8 @@
1
+ # SwaggerClient::InputSecret
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **secret** | **String** | The new secret | [optional]
7
+
8
+
data/docs/IsDefault.md ADDED
@@ -0,0 +1,8 @@
1
+ # SwaggerClient::IsDefault
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **is_default** | **BOOLEAN** | A flag indicating whether a scanner registration is default. | [optional]
7
+
8
+
@@ -0,0 +1,14 @@
1
+ # SwaggerClient::NativeReportSummary
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **report_id** | **String** | id of the native scan report | [optional]
7
+ **scan_status** | **String** | The status of the report generating process | [optional]
8
+ **severity** | **String** | The overall severity | [optional]
9
+ **duration** | **Integer** | The seconds spent for generating the report | [optional]
10
+ **summary** | [**VulnerabilitySummary**](VulnerabilitySummary.md) | | [optional]
11
+ **start_time** | **DateTime** | The start time of the scan process that generating report | [optional]
12
+ **end_time** | **DateTime** | The end time of the scan process that generating report | [optional]
13
+
14
+
data/docs/ProductsApi.md CHANGED
@@ -39,6 +39,10 @@ Method | HTTP request | Description
39
39
  [**projects_post**](ProductsApi.md#projects_post) | **POST** /projects | Create a new project.
40
40
  [**projects_project_id_delete**](ProductsApi.md#projects_project_id_delete) | **DELETE** /projects/{project_id} | Delete project by projectID
41
41
  [**projects_project_id_get**](ProductsApi.md#projects_project_id_get) | **GET** /projects/{project_id} | Return specific project detail information
42
+ [**projects_project_id_immutabletagrules_get**](ProductsApi.md#projects_project_id_immutabletagrules_get) | **GET** /projects/{project_id}/immutabletagrules | List all immutable tag rules of current project
43
+ [**projects_project_id_immutabletagrules_id_delete**](ProductsApi.md#projects_project_id_immutabletagrules_id_delete) | **DELETE** /projects/{project_id}/immutabletagrules/{id} | Delete the immutable tag rule.
44
+ [**projects_project_id_immutabletagrules_id_put**](ProductsApi.md#projects_project_id_immutabletagrules_id_put) | **PUT** /projects/{project_id}/immutabletagrules/{id} | Update the immutable tag rule or enable or disable the rule
45
+ [**projects_project_id_immutabletagrules_post**](ProductsApi.md#projects_project_id_immutabletagrules_post) | **POST** /projects/{project_id}/immutabletagrules | Add an immutable tag rule to current project
42
46
  [**projects_project_id_logs_get**](ProductsApi.md#projects_project_id_logs_get) | **GET** /projects/{project_id}/logs | Get access logs accompany with a relevant project.
43
47
  [**projects_project_id_members_get**](ProductsApi.md#projects_project_id_members_get) | **GET** /projects/{project_id}/members | Get all project member information
44
48
  [**projects_project_id_members_mid_delete**](ProductsApi.md#projects_project_id_members_mid_delete) | **DELETE** /projects/{project_id}/members/{mid} | Delete project member
@@ -56,6 +60,8 @@ Method | HTTP request | Description
56
60
  [**projects_project_id_robots_robot_id_delete**](ProductsApi.md#projects_project_id_robots_robot_id_delete) | **DELETE** /projects/{project_id}/robots/{robot_id} | Delete the specified robot account
57
61
  [**projects_project_id_robots_robot_id_get**](ProductsApi.md#projects_project_id_robots_robot_id_get) | **GET** /projects/{project_id}/robots/{robot_id} | Return the infor of the specified robot account.
58
62
  [**projects_project_id_robots_robot_id_put**](ProductsApi.md#projects_project_id_robots_robot_id_put) | **PUT** /projects/{project_id}/robots/{robot_id} | Update status of robot account.
63
+ [**projects_project_id_scanner_candidates_get**](ProductsApi.md#projects_project_id_scanner_candidates_get) | **GET** /projects/{project_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
64
+ [**projects_project_id_scanner_get**](ProductsApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
59
65
  [**projects_project_id_summary_get**](ProductsApi.md#projects_project_id_summary_get) | **GET** /projects/{project_id}/summary | Get summary of the project.
60
66
  [**projects_project_id_webhook_jobs_get**](ProductsApi.md#projects_project_id_webhook_jobs_get) | **GET** /projects/{project_id}/webhook/jobs | List project webhook jobs
61
67
  [**projects_project_id_webhook_lasttrigger_get**](ProductsApi.md#projects_project_id_webhook_lasttrigger_get) | **GET** /projects/{project_id}/webhook/lasttrigger | Get project webhook policy last trigger info
@@ -65,6 +71,9 @@ Method | HTTP request | Description
65
71
  [**projects_project_id_webhook_policies_policy_id_put**](ProductsApi.md#projects_project_id_webhook_policies_policy_id_put) | **PUT** /projects/{project_id}/webhook/policies/{policy_id} | Update webhook policy of a project.
66
72
  [**projects_project_id_webhook_policies_post**](ProductsApi.md#projects_project_id_webhook_policies_post) | **POST** /projects/{project_id}/webhook/policies | Create project webhook policy.
67
73
  [**projects_project_id_webhook_policies_test_post**](ProductsApi.md#projects_project_id_webhook_policies_test_post) | **POST** /projects/{project_id}/webhook/policies/test | Test project webhook connection
74
+ [**quotas_get**](ProductsApi.md#quotas_get) | **GET** /quotas | List quotas
75
+ [**quotas_id_get**](ProductsApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
76
+ [**quotas_id_put**](ProductsApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
68
77
  [**registries_get**](ProductsApi.md#registries_get) | **GET** /registries | List registries.
69
78
  [**registries_id_delete**](ProductsApi.md#registries_id_delete) | **DELETE** /registries/{id} | Delete specific registry.
70
79
  [**registries_id_get**](ProductsApi.md#registries_id_get) | **GET** /registries/{id} | Get registry.
@@ -101,7 +110,7 @@ Method | HTTP request | Description
101
110
  [**repositories_repo_name_tags_tag_labels_post**](ProductsApi.md#repositories_repo_name_tags_tag_labels_post) | **POST** /repositories/{repo_name}/tags/{tag}/labels | Add a label to image.
102
111
  [**repositories_repo_name_tags_tag_manifest_get**](ProductsApi.md#repositories_repo_name_tags_tag_manifest_get) | **GET** /repositories/{repo_name}/tags/{tag}/manifest | Get manifests of a relevant repository.
103
112
  [**repositories_repo_name_tags_tag_scan_post**](ProductsApi.md#repositories_repo_name_tags_tag_scan_post) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image.
104
- [**repositories_repo_name_tags_tag_vulnerability_details_get**](ProductsApi.md#repositories_repo_name_tags_tag_vulnerability_details_get) | **GET** /repositories/{repo_name}/tags/{tag}/vulnerability/details | Get vulnerability details of the image.
113
+ [**repositories_repo_name_tags_tag_scan_uuid_log_get**](ProductsApi.md#repositories_repo_name_tags_tag_scan_uuid_log_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan/{uuid}/log | Get scan log
105
114
  [**repositories_top_get**](ProductsApi.md#repositories_top_get) | **GET** /repositories/top | Get public repositories which are accessed most.
106
115
  [**retentions_id_executions_eid_patch**](ProductsApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
107
116
  [**retentions_id_executions_eid_tasks_get**](ProductsApi.md#retentions_id_executions_eid_tasks_get) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention job tasks
@@ -112,6 +121,12 @@ Method | HTTP request | Description
112
121
  [**retentions_id_put**](ProductsApi.md#retentions_id_put) | **PUT** /retentions/{id} | Update Retention Policy
113
122
  [**retentions_metadatas_get**](ProductsApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
114
123
  [**retentions_post**](ProductsApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
124
+ [**scanners_get**](ProductsApi.md#scanners_get) | **GET** /scanners | List scanner registrations
125
+ [**scanners_ping_post**](ProductsApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
126
+ [**scanners_registration_id_get**](ProductsApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
127
+ [**scanners_registration_id_metadata_get**](ProductsApi.md#scanners_registration_id_metadata_get) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
128
+ [**scans_all_metrics_get**](ProductsApi.md#scans_all_metrics_get) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
129
+ [**scans_schedule_metrics_get**](ProductsApi.md#scans_schedule_metrics_get) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
115
130
  [**search_get**](ProductsApi.md#search_get) | **GET** /search | Search for projects, repositories and helm charts
116
131
  [**statistics_get**](ProductsApi.md#statistics_get) | **GET** /statistics | Get projects number and repositories number relevant to the user
117
132
  [**system_cve_whitelist_get**](ProductsApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
@@ -139,8 +154,8 @@ Method | HTTP request | Description
139
154
  [**users_get**](ProductsApi.md#users_get) | **GET** /users | Get registered users of Harbor.
140
155
  [**users_post**](ProductsApi.md#users_post) | **POST** /users | Creates a new user account.
141
156
  [**users_search_get**](ProductsApi.md#users_search_get) | **GET** /users/search | Search users by username
157
+ [**users_user_id_cli_secret_put**](ProductsApi.md#users_user_id_cli_secret_put) | **PUT** /users/{user_id}/cli_secret | Set CLI secret for a user.
142
158
  [**users_user_id_delete**](ProductsApi.md#users_user_id_delete) | **DELETE** /users/{user_id} | Mark a registered user as be removed.
143
- [**users_user_id_gen_cli_secret_post**](ProductsApi.md#users_user_id_gen_cli_secret_post) | **POST** /users/{user_id}/gen_cli_secret | Generate new CLI secret for a user.
144
159
  [**users_user_id_get**](ProductsApi.md#users_user_id_get) | **GET** /users/{user_id} | Get a user's profile.
145
160
  [**users_user_id_password_put**](ProductsApi.md#users_user_id_password_put) | **PUT** /users/{user_id}/password | Change the password on a user that already exists.
146
161
  [**users_user_id_put**](ProductsApi.md#users_user_id_put) | **PUT** /users/{user_id} | Update a registered user to change his profile.
@@ -204,7 +219,7 @@ nil (empty response body)
204
219
 
205
220
 
206
221
  # **chartrepo_health_get**
207
- > InlineResponse2001 chartrepo_health_get
222
+ > InlineResponse200 chartrepo_health_get
208
223
 
209
224
  Check the health of chart repository service.
210
225
 
@@ -237,7 +252,7 @@ This endpoint does not need any parameter.
237
252
 
238
253
  ### Return type
239
254
 
240
- [**InlineResponse2001**](InlineResponse2001.md)
255
+ [**InlineResponse200**](InlineResponse200.md)
241
256
 
242
257
  ### Authorization
243
258
 
@@ -2050,6 +2065,225 @@ Name | Type | Description | Notes
2050
2065
 
2051
2066
 
2052
2067
 
2068
+ # **projects_project_id_immutabletagrules_get**
2069
+ > Array<ImmutableTagRule> projects_project_id_immutabletagrules_get(project_id)
2070
+
2071
+ List all immutable tag rules of current project
2072
+
2073
+ This endpoint returns the immutable tag rules of a project
2074
+
2075
+ ### Example
2076
+ ```ruby
2077
+ # load the gem
2078
+ require 'harbor_swagger_client'
2079
+ # setup authorization
2080
+ SwaggerClient.configure do |config|
2081
+ # Configure HTTP basic authorization: basicAuth
2082
+ config.username = 'YOUR USERNAME'
2083
+ config.password = 'YOUR PASSWORD'
2084
+ end
2085
+
2086
+ api_instance = SwaggerClient::ProductsApi.new
2087
+
2088
+ project_id = 789 # Integer | Relevant project ID.
2089
+
2090
+
2091
+ begin
2092
+ #List all immutable tag rules of current project
2093
+ result = api_instance.projects_project_id_immutabletagrules_get(project_id)
2094
+ p result
2095
+ rescue SwaggerClient::ApiError => e
2096
+ puts "Exception when calling ProductsApi->projects_project_id_immutabletagrules_get: #{e}"
2097
+ end
2098
+ ```
2099
+
2100
+ ### Parameters
2101
+
2102
+ Name | Type | Description | Notes
2103
+ ------------- | ------------- | ------------- | -------------
2104
+ **project_id** | **Integer**| Relevant project ID. |
2105
+
2106
+ ### Return type
2107
+
2108
+ [**Array<ImmutableTagRule>**](ImmutableTagRule.md)
2109
+
2110
+ ### Authorization
2111
+
2112
+ [basicAuth](../README.md#basicAuth)
2113
+
2114
+ ### HTTP request headers
2115
+
2116
+ - **Content-Type**: application/json
2117
+ - **Accept**: application/json, text/plain
2118
+
2119
+
2120
+
2121
+ # **projects_project_id_immutabletagrules_id_delete**
2122
+ > projects_project_id_immutabletagrules_id_delete(project_id, id)
2123
+
2124
+ Delete the immutable tag rule.
2125
+
2126
+ ### Example
2127
+ ```ruby
2128
+ # load the gem
2129
+ require 'harbor_swagger_client'
2130
+ # setup authorization
2131
+ SwaggerClient.configure do |config|
2132
+ # Configure HTTP basic authorization: basicAuth
2133
+ config.username = 'YOUR USERNAME'
2134
+ config.password = 'YOUR PASSWORD'
2135
+ end
2136
+
2137
+ api_instance = SwaggerClient::ProductsApi.new
2138
+
2139
+ project_id = 789 # Integer | Relevant project ID.
2140
+
2141
+ id = 789 # Integer | Immutable tag rule ID.
2142
+
2143
+
2144
+ begin
2145
+ #Delete the immutable tag rule.
2146
+ api_instance.projects_project_id_immutabletagrules_id_delete(project_id, id)
2147
+ rescue SwaggerClient::ApiError => e
2148
+ puts "Exception when calling ProductsApi->projects_project_id_immutabletagrules_id_delete: #{e}"
2149
+ end
2150
+ ```
2151
+
2152
+ ### Parameters
2153
+
2154
+ Name | Type | Description | Notes
2155
+ ------------- | ------------- | ------------- | -------------
2156
+ **project_id** | **Integer**| Relevant project ID. |
2157
+ **id** | **Integer**| Immutable tag rule ID. |
2158
+
2159
+ ### Return type
2160
+
2161
+ nil (empty response body)
2162
+
2163
+ ### Authorization
2164
+
2165
+ [basicAuth](../README.md#basicAuth)
2166
+
2167
+ ### HTTP request headers
2168
+
2169
+ - **Content-Type**: application/json
2170
+ - **Accept**: application/json, text/plain
2171
+
2172
+
2173
+
2174
+ # **projects_project_id_immutabletagrules_id_put**
2175
+ > projects_project_id_immutabletagrules_id_put(project_id, id, opts)
2176
+
2177
+ Update the immutable tag rule or enable or disable the rule
2178
+
2179
+ ### Example
2180
+ ```ruby
2181
+ # load the gem
2182
+ require 'harbor_swagger_client'
2183
+ # setup authorization
2184
+ SwaggerClient.configure do |config|
2185
+ # Configure HTTP basic authorization: basicAuth
2186
+ config.username = 'YOUR USERNAME'
2187
+ config.password = 'YOUR PASSWORD'
2188
+ end
2189
+
2190
+ api_instance = SwaggerClient::ProductsApi.new
2191
+
2192
+ project_id = 789 # Integer | Relevant project ID.
2193
+
2194
+ id = 789 # Integer | Immutable tag rule ID.
2195
+
2196
+ opts = {
2197
+ immutabletagrule: SwaggerClient::ImmutableTagRule.new # ImmutableTagRule |
2198
+ }
2199
+
2200
+ begin
2201
+ #Update the immutable tag rule or enable or disable the rule
2202
+ api_instance.projects_project_id_immutabletagrules_id_put(project_id, id, opts)
2203
+ rescue SwaggerClient::ApiError => e
2204
+ puts "Exception when calling ProductsApi->projects_project_id_immutabletagrules_id_put: #{e}"
2205
+ end
2206
+ ```
2207
+
2208
+ ### Parameters
2209
+
2210
+ Name | Type | Description | Notes
2211
+ ------------- | ------------- | ------------- | -------------
2212
+ **project_id** | **Integer**| Relevant project ID. |
2213
+ **id** | **Integer**| Immutable tag rule ID. |
2214
+ **immutabletagrule** | [**ImmutableTagRule**](ImmutableTagRule.md)| | [optional]
2215
+
2216
+ ### Return type
2217
+
2218
+ nil (empty response body)
2219
+
2220
+ ### Authorization
2221
+
2222
+ [basicAuth](../README.md#basicAuth)
2223
+
2224
+ ### HTTP request headers
2225
+
2226
+ - **Content-Type**: application/json
2227
+ - **Accept**: application/json, text/plain
2228
+
2229
+
2230
+
2231
+ # **projects_project_id_immutabletagrules_post**
2232
+ > projects_project_id_immutabletagrules_post(project_id, opts)
2233
+
2234
+ Add an immutable tag rule to current project
2235
+
2236
+ This endpoint add an immutable tag rule to the project
2237
+
2238
+ ### Example
2239
+ ```ruby
2240
+ # load the gem
2241
+ require 'harbor_swagger_client'
2242
+ # setup authorization
2243
+ SwaggerClient.configure do |config|
2244
+ # Configure HTTP basic authorization: basicAuth
2245
+ config.username = 'YOUR USERNAME'
2246
+ config.password = 'YOUR PASSWORD'
2247
+ end
2248
+
2249
+ api_instance = SwaggerClient::ProductsApi.new
2250
+
2251
+ project_id = 789 # Integer | Relevant project ID.
2252
+
2253
+ opts = {
2254
+ immutabletagrule: SwaggerClient::ImmutableTagRule.new # ImmutableTagRule |
2255
+ }
2256
+
2257
+ begin
2258
+ #Add an immutable tag rule to current project
2259
+ api_instance.projects_project_id_immutabletagrules_post(project_id, opts)
2260
+ rescue SwaggerClient::ApiError => e
2261
+ puts "Exception when calling ProductsApi->projects_project_id_immutabletagrules_post: #{e}"
2262
+ end
2263
+ ```
2264
+
2265
+ ### Parameters
2266
+
2267
+ Name | Type | Description | Notes
2268
+ ------------- | ------------- | ------------- | -------------
2269
+ **project_id** | **Integer**| Relevant project ID. |
2270
+ **immutabletagrule** | [**ImmutableTagRule**](ImmutableTagRule.md)| | [optional]
2271
+
2272
+ ### Return type
2273
+
2274
+ nil (empty response body)
2275
+
2276
+ ### Authorization
2277
+
2278
+ [basicAuth](../README.md#basicAuth)
2279
+
2280
+ ### HTTP request headers
2281
+
2282
+ - **Content-Type**: application/json
2283
+ - **Accept**: application/json, text/plain
2284
+
2285
+
2286
+
2053
2287
  # **projects_project_id_logs_get**
2054
2288
  > Array<AccessLog> projects_project_id_logs_get(project_id, opts)
2055
2289
 
@@ -3009,12 +3243,12 @@ nil (empty response body)
3009
3243
 
3010
3244
 
3011
3245
 
3012
- # **projects_project_id_summary_get**
3013
- > ProjectSummary projects_project_id_summary_get(project_id)
3246
+ # **projects_project_id_scanner_candidates_get**
3247
+ > Array<ScannerRegistration> projects_project_id_scanner_candidates_get(project_id)
3014
3248
 
3015
- Get summary of the project.
3249
+ Get scanner registration candidates for configurating project level scanner
3016
3250
 
3017
- Get summary of the project.
3251
+ Retrieve the system configured scanner registrations as candidates of setting project level scanner.
3018
3252
 
3019
3253
  ### Example
3020
3254
  ```ruby
@@ -3029,15 +3263,15 @@ end
3029
3263
 
3030
3264
  api_instance = SwaggerClient::ProductsApi.new
3031
3265
 
3032
- project_id = 789 # Integer | Relevant project ID
3266
+ project_id = 789 # Integer | The project identifier.
3033
3267
 
3034
3268
 
3035
3269
  begin
3036
- #Get summary of the project.
3037
- result = api_instance.projects_project_id_summary_get(project_id)
3270
+ #Get scanner registration candidates for configurating project level scanner
3271
+ result = api_instance.projects_project_id_scanner_candidates_get(project_id)
3038
3272
  p result
3039
3273
  rescue SwaggerClient::ApiError => e
3040
- puts "Exception when calling ProductsApi->projects_project_id_summary_get: #{e}"
3274
+ puts "Exception when calling ProductsApi->projects_project_id_scanner_candidates_get: #{e}"
3041
3275
  end
3042
3276
  ```
3043
3277
 
@@ -3045,11 +3279,11 @@ end
3045
3279
 
3046
3280
  Name | Type | Description | Notes
3047
3281
  ------------- | ------------- | ------------- | -------------
3048
- **project_id** | **Integer**| Relevant project ID |
3282
+ **project_id** | **Integer**| The project identifier. |
3049
3283
 
3050
3284
  ### Return type
3051
3285
 
3052
- [**ProjectSummary**](ProjectSummary.md)
3286
+ [**Array<ScannerRegistration>**](ScannerRegistration.md)
3053
3287
 
3054
3288
  ### Authorization
3055
3289
 
@@ -3062,12 +3296,12 @@ Name | Type | Description | Notes
3062
3296
 
3063
3297
 
3064
3298
 
3065
- # **projects_project_id_webhook_jobs_get**
3066
- > Array<WebhookJob> projects_project_id_webhook_jobs_get(project_id, policy_id)
3299
+ # **projects_project_id_scanner_get**
3300
+ > ScannerRegistration projects_project_id_scanner_get(project_id)
3067
3301
 
3068
- List project webhook jobs
3302
+ Get project level scanner
3069
3303
 
3070
- This endpoint returns webhook jobs of a project.
3304
+ Get the scanner registration of the specified project. If no scanner registration is configured for the specified project, the system default scanner registration will be returned.
3071
3305
 
3072
3306
  ### Example
3073
3307
  ```ruby
@@ -3082,17 +3316,15 @@ end
3082
3316
 
3083
3317
  api_instance = SwaggerClient::ProductsApi.new
3084
3318
 
3085
- project_id = 789 # Integer | Relevant project ID.
3086
-
3087
- policy_id = 789 # Integer | The policy ID.
3319
+ project_id = 789 # Integer | The project identifier.
3088
3320
 
3089
3321
 
3090
3322
  begin
3091
- #List project webhook jobs
3092
- result = api_instance.projects_project_id_webhook_jobs_get(project_id, policy_id)
3323
+ #Get project level scanner
3324
+ result = api_instance.projects_project_id_scanner_get(project_id)
3093
3325
  p result
3094
3326
  rescue SwaggerClient::ApiError => e
3095
- puts "Exception when calling ProductsApi->projects_project_id_webhook_jobs_get: #{e}"
3327
+ puts "Exception when calling ProductsApi->projects_project_id_scanner_get: #{e}"
3096
3328
  end
3097
3329
  ```
3098
3330
 
@@ -3100,12 +3332,11 @@ end
3100
3332
 
3101
3333
  Name | Type | Description | Notes
3102
3334
  ------------- | ------------- | ------------- | -------------
3103
- **project_id** | **Integer**| Relevant project ID. |
3104
- **policy_id** | **Integer**| The policy ID. |
3335
+ **project_id** | **Integer**| The project identifier. |
3105
3336
 
3106
3337
  ### Return type
3107
3338
 
3108
- [**Array<WebhookJob>**](WebhookJob.md)
3339
+ [**ScannerRegistration**](ScannerRegistration.md)
3109
3340
 
3110
3341
  ### Authorization
3111
3342
 
@@ -3118,12 +3349,12 @@ Name | Type | Description | Notes
3118
3349
 
3119
3350
 
3120
3351
 
3121
- # **projects_project_id_webhook_lasttrigger_get**
3122
- > Array<WebhookLastTrigger> projects_project_id_webhook_lasttrigger_get(project_id)
3352
+ # **projects_project_id_summary_get**
3353
+ > ProjectSummary projects_project_id_summary_get(project_id)
3123
3354
 
3124
- Get project webhook policy last trigger info
3355
+ Get summary of the project.
3125
3356
 
3126
- This endpoint returns last trigger information of project webhook policy.
3357
+ Get summary of the project.
3127
3358
 
3128
3359
  ### Example
3129
3360
  ```ruby
@@ -3138,15 +3369,15 @@ end
3138
3369
 
3139
3370
  api_instance = SwaggerClient::ProductsApi.new
3140
3371
 
3141
- project_id = 789 # Integer | Relevant project ID.
3372
+ project_id = 789 # Integer | Relevant project ID
3142
3373
 
3143
3374
 
3144
3375
  begin
3145
- #Get project webhook policy last trigger info
3146
- result = api_instance.projects_project_id_webhook_lasttrigger_get(project_id)
3376
+ #Get summary of the project.
3377
+ result = api_instance.projects_project_id_summary_get(project_id)
3147
3378
  p result
3148
3379
  rescue SwaggerClient::ApiError => e
3149
- puts "Exception when calling ProductsApi->projects_project_id_webhook_lasttrigger_get: #{e}"
3380
+ puts "Exception when calling ProductsApi->projects_project_id_summary_get: #{e}"
3150
3381
  end
3151
3382
  ```
3152
3383
 
@@ -3154,11 +3385,11 @@ end
3154
3385
 
3155
3386
  Name | Type | Description | Notes
3156
3387
  ------------- | ------------- | ------------- | -------------
3157
- **project_id** | **Integer**| Relevant project ID. |
3388
+ **project_id** | **Integer**| Relevant project ID |
3158
3389
 
3159
3390
  ### Return type
3160
3391
 
3161
- [**Array<WebhookLastTrigger>**](WebhookLastTrigger.md)
3392
+ [**ProjectSummary**](ProjectSummary.md)
3162
3393
 
3163
3394
  ### Authorization
3164
3395
 
@@ -3171,12 +3402,12 @@ Name | Type | Description | Notes
3171
3402
 
3172
3403
 
3173
3404
 
3174
- # **projects_project_id_webhook_policies_get**
3175
- > Array<WebhookPolicy> projects_project_id_webhook_policies_get(project_id)
3405
+ # **projects_project_id_webhook_jobs_get**
3406
+ > Array<WebhookJob> projects_project_id_webhook_jobs_get(project_id, policy_id)
3176
3407
 
3177
- List project webhook policies.
3408
+ List project webhook jobs
3178
3409
 
3179
- This endpoint returns webhook policies of a project.
3410
+ This endpoint returns webhook jobs of a project.
3180
3411
 
3181
3412
  ### Example
3182
3413
  ```ruby
@@ -3193,13 +3424,15 @@ api_instance = SwaggerClient::ProductsApi.new
3193
3424
 
3194
3425
  project_id = 789 # Integer | Relevant project ID.
3195
3426
 
3427
+ policy_id = 789 # Integer | The policy ID.
3428
+
3196
3429
 
3197
3430
  begin
3198
- #List project webhook policies.
3199
- result = api_instance.projects_project_id_webhook_policies_get(project_id)
3431
+ #List project webhook jobs
3432
+ result = api_instance.projects_project_id_webhook_jobs_get(project_id, policy_id)
3200
3433
  p result
3201
3434
  rescue SwaggerClient::ApiError => e
3202
- puts "Exception when calling ProductsApi->projects_project_id_webhook_policies_get: #{e}"
3435
+ puts "Exception when calling ProductsApi->projects_project_id_webhook_jobs_get: #{e}"
3203
3436
  end
3204
3437
  ```
3205
3438
 
@@ -3208,10 +3441,11 @@ end
3208
3441
  Name | Type | Description | Notes
3209
3442
  ------------- | ------------- | ------------- | -------------
3210
3443
  **project_id** | **Integer**| Relevant project ID. |
3444
+ **policy_id** | **Integer**| The policy ID. |
3211
3445
 
3212
3446
  ### Return type
3213
3447
 
3214
- [**Array<WebhookPolicy>**](WebhookPolicy.md)
3448
+ [**Array<WebhookJob>**](WebhookJob.md)
3215
3449
 
3216
3450
  ### Authorization
3217
3451
 
@@ -3224,12 +3458,12 @@ Name | Type | Description | Notes
3224
3458
 
3225
3459
 
3226
3460
 
3227
- # **projects_project_id_webhook_policies_policy_id_delete**
3228
- > projects_project_id_webhook_policies_policy_id_delete(project_id, policy_id)
3461
+ # **projects_project_id_webhook_lasttrigger_get**
3462
+ > Array<WebhookLastTrigger> projects_project_id_webhook_lasttrigger_get(project_id)
3229
3463
 
3230
- Delete webhook policy of a project
3464
+ Get project webhook policy last trigger info
3231
3465
 
3232
- This endpoint is aimed to delete webhookpolicy of a project.
3466
+ This endpoint returns last trigger information of project webhook policy.
3233
3467
 
3234
3468
  ### Example
3235
3469
  ```ruby
@@ -3246,7 +3480,113 @@ api_instance = SwaggerClient::ProductsApi.new
3246
3480
 
3247
3481
  project_id = 789 # Integer | Relevant project ID.
3248
3482
 
3249
- policy_id = 789 # Integer | The id of webhook policy.
3483
+
3484
+ begin
3485
+ #Get project webhook policy last trigger info
3486
+ result = api_instance.projects_project_id_webhook_lasttrigger_get(project_id)
3487
+ p result
3488
+ rescue SwaggerClient::ApiError => e
3489
+ puts "Exception when calling ProductsApi->projects_project_id_webhook_lasttrigger_get: #{e}"
3490
+ end
3491
+ ```
3492
+
3493
+ ### Parameters
3494
+
3495
+ Name | Type | Description | Notes
3496
+ ------------- | ------------- | ------------- | -------------
3497
+ **project_id** | **Integer**| Relevant project ID. |
3498
+
3499
+ ### Return type
3500
+
3501
+ [**Array<WebhookLastTrigger>**](WebhookLastTrigger.md)
3502
+
3503
+ ### Authorization
3504
+
3505
+ [basicAuth](../README.md#basicAuth)
3506
+
3507
+ ### HTTP request headers
3508
+
3509
+ - **Content-Type**: application/json
3510
+ - **Accept**: application/json, text/plain
3511
+
3512
+
3513
+
3514
+ # **projects_project_id_webhook_policies_get**
3515
+ > Array<WebhookPolicy> projects_project_id_webhook_policies_get(project_id)
3516
+
3517
+ List project webhook policies.
3518
+
3519
+ This endpoint returns webhook policies of a project.
3520
+
3521
+ ### Example
3522
+ ```ruby
3523
+ # load the gem
3524
+ require 'harbor_swagger_client'
3525
+ # setup authorization
3526
+ SwaggerClient.configure do |config|
3527
+ # Configure HTTP basic authorization: basicAuth
3528
+ config.username = 'YOUR USERNAME'
3529
+ config.password = 'YOUR PASSWORD'
3530
+ end
3531
+
3532
+ api_instance = SwaggerClient::ProductsApi.new
3533
+
3534
+ project_id = 789 # Integer | Relevant project ID.
3535
+
3536
+
3537
+ begin
3538
+ #List project webhook policies.
3539
+ result = api_instance.projects_project_id_webhook_policies_get(project_id)
3540
+ p result
3541
+ rescue SwaggerClient::ApiError => e
3542
+ puts "Exception when calling ProductsApi->projects_project_id_webhook_policies_get: #{e}"
3543
+ end
3544
+ ```
3545
+
3546
+ ### Parameters
3547
+
3548
+ Name | Type | Description | Notes
3549
+ ------------- | ------------- | ------------- | -------------
3550
+ **project_id** | **Integer**| Relevant project ID. |
3551
+
3552
+ ### Return type
3553
+
3554
+ [**Array<WebhookPolicy>**](WebhookPolicy.md)
3555
+
3556
+ ### Authorization
3557
+
3558
+ [basicAuth](../README.md#basicAuth)
3559
+
3560
+ ### HTTP request headers
3561
+
3562
+ - **Content-Type**: application/json
3563
+ - **Accept**: application/json, text/plain
3564
+
3565
+
3566
+
3567
+ # **projects_project_id_webhook_policies_policy_id_delete**
3568
+ > projects_project_id_webhook_policies_policy_id_delete(project_id, policy_id)
3569
+
3570
+ Delete webhook policy of a project
3571
+
3572
+ This endpoint is aimed to delete webhookpolicy of a project.
3573
+
3574
+ ### Example
3575
+ ```ruby
3576
+ # load the gem
3577
+ require 'harbor_swagger_client'
3578
+ # setup authorization
3579
+ SwaggerClient.configure do |config|
3580
+ # Configure HTTP basic authorization: basicAuth
3581
+ config.username = 'YOUR USERNAME'
3582
+ config.password = 'YOUR PASSWORD'
3583
+ end
3584
+
3585
+ api_instance = SwaggerClient::ProductsApi.new
3586
+
3587
+ project_id = 789 # Integer | Relevant project ID.
3588
+
3589
+ policy_id = 789 # Integer | The id of webhook policy.
3250
3590
 
3251
3591
 
3252
3592
  begin
@@ -3503,6 +3843,176 @@ nil (empty response body)
3503
3843
 
3504
3844
 
3505
3845
 
3846
+ # **quotas_get**
3847
+ > Array<Quota> quotas_get(opts)
3848
+
3849
+ List quotas
3850
+
3851
+ List quotas
3852
+
3853
+ ### Example
3854
+ ```ruby
3855
+ # load the gem
3856
+ require 'harbor_swagger_client'
3857
+ # setup authorization
3858
+ SwaggerClient.configure do |config|
3859
+ # Configure HTTP basic authorization: basicAuth
3860
+ config.username = 'YOUR USERNAME'
3861
+ config.password = 'YOUR PASSWORD'
3862
+ end
3863
+
3864
+ api_instance = SwaggerClient::ProductsApi.new
3865
+
3866
+ opts = {
3867
+ reference: 'reference_example', # String | The reference type of quota.
3868
+ reference_id: 'reference_id_example', # String | The reference id of quota.
3869
+ sort: 'sort_example', # String | Sort method, valid values include: 'hard.resource_name', '-hard.resource_name', 'used.resource_name', '-used.resource_name'. Here '-' stands for descending order, resource_name should be the real resource name of the quota.
3870
+ page: 56, # Integer | The page number, default is 1.
3871
+ page_size: 56 # Integer | The size of per page, default is 10, maximum is 100.
3872
+ }
3873
+
3874
+ begin
3875
+ #List quotas
3876
+ result = api_instance.quotas_get(opts)
3877
+ p result
3878
+ rescue SwaggerClient::ApiError => e
3879
+ puts "Exception when calling ProductsApi->quotas_get: #{e}"
3880
+ end
3881
+ ```
3882
+
3883
+ ### Parameters
3884
+
3885
+ Name | Type | Description | Notes
3886
+ ------------- | ------------- | ------------- | -------------
3887
+ **reference** | **String**| The reference type of quota. | [optional]
3888
+ **reference_id** | **String**| The reference id of quota. | [optional]
3889
+ **sort** | **String**| Sort method, valid values include: 'hard.resource_name', '-hard.resource_name', 'used.resource_name', '-used.resource_name'. Here '-' stands for descending order, resource_name should be the real resource name of the quota. | [optional]
3890
+ **page** | **Integer**| The page number, default is 1. | [optional]
3891
+ **page_size** | **Integer**| The size of per page, default is 10, maximum is 100. | [optional]
3892
+
3893
+ ### Return type
3894
+
3895
+ [**Array<Quota>**](Quota.md)
3896
+
3897
+ ### Authorization
3898
+
3899
+ [basicAuth](../README.md#basicAuth)
3900
+
3901
+ ### HTTP request headers
3902
+
3903
+ - **Content-Type**: application/json
3904
+ - **Accept**: application/json, text/plain
3905
+
3906
+
3907
+
3908
+ # **quotas_id_get**
3909
+ > Quota quotas_id_get(id)
3910
+
3911
+ Get the specified quota
3912
+
3913
+ Get the specified quota
3914
+
3915
+ ### Example
3916
+ ```ruby
3917
+ # load the gem
3918
+ require 'harbor_swagger_client'
3919
+ # setup authorization
3920
+ SwaggerClient.configure do |config|
3921
+ # Configure HTTP basic authorization: basicAuth
3922
+ config.username = 'YOUR USERNAME'
3923
+ config.password = 'YOUR PASSWORD'
3924
+ end
3925
+
3926
+ api_instance = SwaggerClient::ProductsApi.new
3927
+
3928
+ id = 56 # Integer | Quota ID
3929
+
3930
+
3931
+ begin
3932
+ #Get the specified quota
3933
+ result = api_instance.quotas_id_get(id)
3934
+ p result
3935
+ rescue SwaggerClient::ApiError => e
3936
+ puts "Exception when calling ProductsApi->quotas_id_get: #{e}"
3937
+ end
3938
+ ```
3939
+
3940
+ ### Parameters
3941
+
3942
+ Name | Type | Description | Notes
3943
+ ------------- | ------------- | ------------- | -------------
3944
+ **id** | **Integer**| Quota ID |
3945
+
3946
+ ### Return type
3947
+
3948
+ [**Quota**](Quota.md)
3949
+
3950
+ ### Authorization
3951
+
3952
+ [basicAuth](../README.md#basicAuth)
3953
+
3954
+ ### HTTP request headers
3955
+
3956
+ - **Content-Type**: application/json
3957
+ - **Accept**: application/json, text/plain
3958
+
3959
+
3960
+
3961
+ # **quotas_id_put**
3962
+ > quotas_id_put(id, hard)
3963
+
3964
+ Update the specified quota
3965
+
3966
+ Update hard limits of the specified quota
3967
+
3968
+ ### Example
3969
+ ```ruby
3970
+ # load the gem
3971
+ require 'harbor_swagger_client'
3972
+ # setup authorization
3973
+ SwaggerClient.configure do |config|
3974
+ # Configure HTTP basic authorization: basicAuth
3975
+ config.username = 'YOUR USERNAME'
3976
+ config.password = 'YOUR PASSWORD'
3977
+ end
3978
+
3979
+ api_instance = SwaggerClient::ProductsApi.new
3980
+
3981
+ id = 56 # Integer | Quota ID
3982
+
3983
+ hard = SwaggerClient::QuotaUpdateReq.new # QuotaUpdateReq | The new hard limits for the quota
3984
+
3985
+
3986
+ begin
3987
+ #Update the specified quota
3988
+ api_instance.quotas_id_put(id, hard)
3989
+ rescue SwaggerClient::ApiError => e
3990
+ puts "Exception when calling ProductsApi->quotas_id_put: #{e}"
3991
+ end
3992
+ ```
3993
+
3994
+ ### Parameters
3995
+
3996
+ Name | Type | Description | Notes
3997
+ ------------- | ------------- | ------------- | -------------
3998
+ **id** | **Integer**| Quota ID |
3999
+ **hard** | [**QuotaUpdateReq**](QuotaUpdateReq.md)| The new hard limits for the quota |
4000
+
4001
+ ### Return type
4002
+
4003
+ nil (empty response body)
4004
+
4005
+ ### Authorization
4006
+
4007
+ [basicAuth](../README.md#basicAuth)
4008
+
4009
+ ### HTTP request headers
4010
+
4011
+ - **Content-Type**: application/json
4012
+ - **Accept**: application/json, text/plain
4013
+
4014
+
4015
+
3506
4016
  # **registries_get**
3507
4017
  > Array<Registry> registries_get(opts)
3508
4018
 
@@ -5425,7 +5935,7 @@ Name | Type | Description | Notes
5425
5935
 
5426
5936
  Scan the image.
5427
5937
 
5428
- Trigger jobservice to call Clair API to scan the image identified by the repo_name and tag. Only project admins have permission to scan images under the project.
5938
+ Trigger a scan targeting the artifact identified by the repo_name and tag.
5429
5939
 
5430
5940
  ### Example
5431
5941
  ```ruby
@@ -5475,12 +5985,12 @@ nil (empty response body)
5475
5985
 
5476
5986
 
5477
5987
 
5478
- # **repositories_repo_name_tags_tag_vulnerability_details_get**
5479
- > Array<VulnerabilityItem> repositories_repo_name_tags_tag_vulnerability_details_get(repo_name, tag)
5988
+ # **repositories_repo_name_tags_tag_scan_uuid_log_get**
5989
+ > String repositories_repo_name_tags_tag_scan_uuid_log_get(repo_name, tag, uuid)
5480
5990
 
5481
- Get vulnerability details of the image.
5991
+ Get scan log
5482
5992
 
5483
- Call Clair API to get the vulnerability based on the previous successful scan.
5993
+ Get the log text stream for the given artifact and scan action.
5484
5994
 
5485
5995
  ### Example
5486
5996
  ```ruby
@@ -5499,13 +6009,15 @@ repo_name = 'repo_name_example' # String | Repository name
5499
6009
 
5500
6010
  tag = 'tag_example' # String | Tag name
5501
6011
 
6012
+ uuid = 'uuid_example' # String | the scan unique identifier
6013
+
5502
6014
 
5503
6015
  begin
5504
- #Get vulnerability details of the image.
5505
- result = api_instance.repositories_repo_name_tags_tag_vulnerability_details_get(repo_name, tag)
6016
+ #Get scan log
6017
+ result = api_instance.repositories_repo_name_tags_tag_scan_uuid_log_get(repo_name, tag, uuid)
5506
6018
  p result
5507
6019
  rescue SwaggerClient::ApiError => e
5508
- puts "Exception when calling ProductsApi->repositories_repo_name_tags_tag_vulnerability_details_get: #{e}"
6020
+ puts "Exception when calling ProductsApi->repositories_repo_name_tags_tag_scan_uuid_log_get: #{e}"
5509
6021
  end
5510
6022
  ```
5511
6023
 
@@ -5515,10 +6027,11 @@ Name | Type | Description | Notes
5515
6027
  ------------- | ------------- | ------------- | -------------
5516
6028
  **repo_name** | **String**| Repository name |
5517
6029
  **tag** | **String**| Tag name |
6030
+ **uuid** | **String**| the scan unique identifier |
5518
6031
 
5519
6032
  ### Return type
5520
6033
 
5521
- [**Array<VulnerabilityItem>**](VulnerabilityItem.md)
6034
+ **String**
5522
6035
 
5523
6036
  ### Authorization
5524
6037
 
@@ -5527,7 +6040,7 @@ Name | Type | Description | Notes
5527
6040
  ### HTTP request headers
5528
6041
 
5529
6042
  - **Content-Type**: application/json
5530
- - **Accept**: application/json, text/plain
6043
+ - **Accept**: text/plain
5531
6044
 
5532
6045
 
5533
6046
 
@@ -6073,12 +6586,12 @@ nil (empty response body)
6073
6586
 
6074
6587
 
6075
6588
 
6076
- # **search_get**
6077
- > Array<Search> search_get(q)
6589
+ # **scanners_get**
6590
+ > Array<ScannerRegistration> scanners_get
6078
6591
 
6079
- Search for projects, repositories and helm charts
6592
+ List scanner registrations
6080
6593
 
6081
- The Search endpoint returns information about the projects ,repositories and helm charts offered at public status or related to the current logged in user. The response includes the project, repository list and charts in a proper display order.
6594
+ Returns a list of currently configured scanner registrations.
6082
6595
 
6083
6596
  ### Example
6084
6597
  ```ruby
@@ -6093,15 +6606,314 @@ end
6093
6606
 
6094
6607
  api_instance = SwaggerClient::ProductsApi.new
6095
6608
 
6096
- q = 'q_example' # String | Search parameter for project and repository name.
6097
-
6098
-
6099
6609
  begin
6100
- #Search for projects, repositories and helm charts
6101
- result = api_instance.search_get(q)
6610
+ #List scanner registrations
6611
+ result = api_instance.scanners_get
6102
6612
  p result
6103
6613
  rescue SwaggerClient::ApiError => e
6104
- puts "Exception when calling ProductsApi->search_get: #{e}"
6614
+ puts "Exception when calling ProductsApi->scanners_get: #{e}"
6615
+ end
6616
+ ```
6617
+
6618
+ ### Parameters
6619
+ This endpoint does not need any parameter.
6620
+
6621
+ ### Return type
6622
+
6623
+ [**Array<ScannerRegistration>**](ScannerRegistration.md)
6624
+
6625
+ ### Authorization
6626
+
6627
+ [basicAuth](../README.md#basicAuth)
6628
+
6629
+ ### HTTP request headers
6630
+
6631
+ - **Content-Type**: application/json
6632
+ - **Accept**: application/json, text/plain
6633
+
6634
+
6635
+
6636
+ # **scanners_ping_post**
6637
+ > scanners_ping_post(settings)
6638
+
6639
+ Tests scanner registration settings
6640
+
6641
+ Pings scanner adapter to test endpoint URL and authorization settings.
6642
+
6643
+ ### Example
6644
+ ```ruby
6645
+ # load the gem
6646
+ require 'harbor_swagger_client'
6647
+ # setup authorization
6648
+ SwaggerClient.configure do |config|
6649
+ # Configure HTTP basic authorization: basicAuth
6650
+ config.username = 'YOUR USERNAME'
6651
+ config.password = 'YOUR PASSWORD'
6652
+ end
6653
+
6654
+ api_instance = SwaggerClient::ProductsApi.new
6655
+
6656
+ settings = SwaggerClient::ScannerRegistrationSettings.new # ScannerRegistrationSettings | A scanner registration settings to be tested.
6657
+
6658
+
6659
+ begin
6660
+ #Tests scanner registration settings
6661
+ api_instance.scanners_ping_post(settings)
6662
+ rescue SwaggerClient::ApiError => e
6663
+ puts "Exception when calling ProductsApi->scanners_ping_post: #{e}"
6664
+ end
6665
+ ```
6666
+
6667
+ ### Parameters
6668
+
6669
+ Name | Type | Description | Notes
6670
+ ------------- | ------------- | ------------- | -------------
6671
+ **settings** | [**ScannerRegistrationSettings**](ScannerRegistrationSettings.md)| A scanner registration settings to be tested. |
6672
+
6673
+ ### Return type
6674
+
6675
+ nil (empty response body)
6676
+
6677
+ ### Authorization
6678
+
6679
+ [basicAuth](../README.md#basicAuth)
6680
+
6681
+ ### HTTP request headers
6682
+
6683
+ - **Content-Type**: application/json
6684
+ - **Accept**: application/json, text/plain
6685
+
6686
+
6687
+
6688
+ # **scanners_registration_id_get**
6689
+ > ScannerRegistration scanners_registration_id_get(registration_id)
6690
+
6691
+ Get a scanner registration details
6692
+
6693
+ Retruns the details of the specified scanner registration.
6694
+
6695
+ ### Example
6696
+ ```ruby
6697
+ # load the gem
6698
+ require 'harbor_swagger_client'
6699
+ # setup authorization
6700
+ SwaggerClient.configure do |config|
6701
+ # Configure HTTP basic authorization: basicAuth
6702
+ config.username = 'YOUR USERNAME'
6703
+ config.password = 'YOUR PASSWORD'
6704
+ end
6705
+
6706
+ api_instance = SwaggerClient::ProductsApi.new
6707
+
6708
+ registration_id = 'registration_id_example' # String | The scanner registration identifer.
6709
+
6710
+
6711
+ begin
6712
+ #Get a scanner registration details
6713
+ result = api_instance.scanners_registration_id_get(registration_id)
6714
+ p result
6715
+ rescue SwaggerClient::ApiError => e
6716
+ puts "Exception when calling ProductsApi->scanners_registration_id_get: #{e}"
6717
+ end
6718
+ ```
6719
+
6720
+ ### Parameters
6721
+
6722
+ Name | Type | Description | Notes
6723
+ ------------- | ------------- | ------------- | -------------
6724
+ **registration_id** | **String**| The scanner registration identifer. |
6725
+
6726
+ ### Return type
6727
+
6728
+ [**ScannerRegistration**](ScannerRegistration.md)
6729
+
6730
+ ### Authorization
6731
+
6732
+ [basicAuth](../README.md#basicAuth)
6733
+
6734
+ ### HTTP request headers
6735
+
6736
+ - **Content-Type**: application/json
6737
+ - **Accept**: application/json, text/plain
6738
+
6739
+
6740
+
6741
+ # **scanners_registration_id_metadata_get**
6742
+ > ScannerAdapterMetadata scanners_registration_id_metadata_get(registration_id)
6743
+
6744
+ Get the metadata of the specified scanner registration
6745
+
6746
+ Get the metadata of the specified scanner registration, including the capabilities and customzied properties.
6747
+
6748
+ ### Example
6749
+ ```ruby
6750
+ # load the gem
6751
+ require 'harbor_swagger_client'
6752
+ # setup authorization
6753
+ SwaggerClient.configure do |config|
6754
+ # Configure HTTP basic authorization: basicAuth
6755
+ config.username = 'YOUR USERNAME'
6756
+ config.password = 'YOUR PASSWORD'
6757
+ end
6758
+
6759
+ api_instance = SwaggerClient::ProductsApi.new
6760
+
6761
+ registration_id = 'registration_id_example' # String | The scanner registration identifier.
6762
+
6763
+
6764
+ begin
6765
+ #Get the metadata of the specified scanner registration
6766
+ result = api_instance.scanners_registration_id_metadata_get(registration_id)
6767
+ p result
6768
+ rescue SwaggerClient::ApiError => e
6769
+ puts "Exception when calling ProductsApi->scanners_registration_id_metadata_get: #{e}"
6770
+ end
6771
+ ```
6772
+
6773
+ ### Parameters
6774
+
6775
+ Name | Type | Description | Notes
6776
+ ------------- | ------------- | ------------- | -------------
6777
+ **registration_id** | **String**| The scanner registration identifier. |
6778
+
6779
+ ### Return type
6780
+
6781
+ [**ScannerAdapterMetadata**](ScannerAdapterMetadata.md)
6782
+
6783
+ ### Authorization
6784
+
6785
+ [basicAuth](../README.md#basicAuth)
6786
+
6787
+ ### HTTP request headers
6788
+
6789
+ - **Content-Type**: application/json
6790
+ - **Accept**: application/json, text/plain
6791
+
6792
+
6793
+
6794
+ # **scans_all_metrics_get**
6795
+ > Stats scans_all_metrics_get
6796
+
6797
+ Get the metrics of the latest scan all process
6798
+
6799
+ Get the metrics of the latest scan all process
6800
+
6801
+ ### Example
6802
+ ```ruby
6803
+ # load the gem
6804
+ require 'harbor_swagger_client'
6805
+ # setup authorization
6806
+ SwaggerClient.configure do |config|
6807
+ # Configure HTTP basic authorization: basicAuth
6808
+ config.username = 'YOUR USERNAME'
6809
+ config.password = 'YOUR PASSWORD'
6810
+ end
6811
+
6812
+ api_instance = SwaggerClient::ProductsApi.new
6813
+
6814
+ begin
6815
+ #Get the metrics of the latest scan all process
6816
+ result = api_instance.scans_all_metrics_get
6817
+ p result
6818
+ rescue SwaggerClient::ApiError => e
6819
+ puts "Exception when calling ProductsApi->scans_all_metrics_get: #{e}"
6820
+ end
6821
+ ```
6822
+
6823
+ ### Parameters
6824
+ This endpoint does not need any parameter.
6825
+
6826
+ ### Return type
6827
+
6828
+ [**Stats**](Stats.md)
6829
+
6830
+ ### Authorization
6831
+
6832
+ [basicAuth](../README.md#basicAuth)
6833
+
6834
+ ### HTTP request headers
6835
+
6836
+ - **Content-Type**: application/json
6837
+ - **Accept**: application/json, text/plain
6838
+
6839
+
6840
+
6841
+ # **scans_schedule_metrics_get**
6842
+ > Stats scans_schedule_metrics_get
6843
+
6844
+ Get the metrics of the latest scheduled scan all process
6845
+
6846
+ Get the metrics of the latest scheduled scan all process
6847
+
6848
+ ### Example
6849
+ ```ruby
6850
+ # load the gem
6851
+ require 'harbor_swagger_client'
6852
+ # setup authorization
6853
+ SwaggerClient.configure do |config|
6854
+ # Configure HTTP basic authorization: basicAuth
6855
+ config.username = 'YOUR USERNAME'
6856
+ config.password = 'YOUR PASSWORD'
6857
+ end
6858
+
6859
+ api_instance = SwaggerClient::ProductsApi.new
6860
+
6861
+ begin
6862
+ #Get the metrics of the latest scheduled scan all process
6863
+ result = api_instance.scans_schedule_metrics_get
6864
+ p result
6865
+ rescue SwaggerClient::ApiError => e
6866
+ puts "Exception when calling ProductsApi->scans_schedule_metrics_get: #{e}"
6867
+ end
6868
+ ```
6869
+
6870
+ ### Parameters
6871
+ This endpoint does not need any parameter.
6872
+
6873
+ ### Return type
6874
+
6875
+ [**Stats**](Stats.md)
6876
+
6877
+ ### Authorization
6878
+
6879
+ [basicAuth](../README.md#basicAuth)
6880
+
6881
+ ### HTTP request headers
6882
+
6883
+ - **Content-Type**: application/json
6884
+ - **Accept**: application/json, text/plain
6885
+
6886
+
6887
+
6888
+ # **search_get**
6889
+ > Array<Search> search_get(q)
6890
+
6891
+ Search for projects, repositories and helm charts
6892
+
6893
+ The Search endpoint returns information about the projects ,repositories and helm charts offered at public status or related to the current logged in user. The response includes the project, repository list and charts in a proper display order.
6894
+
6895
+ ### Example
6896
+ ```ruby
6897
+ # load the gem
6898
+ require 'harbor_swagger_client'
6899
+ # setup authorization
6900
+ SwaggerClient.configure do |config|
6901
+ # Configure HTTP basic authorization: basicAuth
6902
+ config.username = 'YOUR USERNAME'
6903
+ config.password = 'YOUR PASSWORD'
6904
+ end
6905
+
6906
+ api_instance = SwaggerClient::ProductsApi.new
6907
+
6908
+ q = 'q_example' # String | Search parameter for project and repository name.
6909
+
6910
+
6911
+ begin
6912
+ #Search for projects, repositories and helm charts
6913
+ result = api_instance.search_get(q)
6914
+ p result
6915
+ rescue SwaggerClient::ApiError => e
6916
+ puts "Exception when calling ProductsApi->search_get: #{e}"
6105
6917
  end
6106
6918
  ```
6107
6919
 
@@ -7455,12 +8267,12 @@ Name | Type | Description | Notes
7455
8267
 
7456
8268
 
7457
8269
 
7458
- # **users_user_id_delete**
7459
- > users_user_id_delete(user_id)
8270
+ # **users_user_id_cli_secret_put**
8271
+ > users_user_id_cli_secret_put(user_id, input_secret)
7460
8272
 
7461
- Mark a registered user as be removed.
8273
+ Set CLI secret for a user.
7462
8274
 
7463
- This endpoint let administrator of Harbor mark a registered user as be removed.It actually won't be deleted from DB.
8275
+ This endpoint let user generate a new CLI secret for himself. This API only works when auth mode is set to 'OIDC'. Once this API returns with successful status, the old secret will be invalid, as there will be only one CLI secret for a user.
7464
8276
 
7465
8277
  ### Example
7466
8278
  ```ruby
@@ -7475,14 +8287,16 @@ end
7475
8287
 
7476
8288
  api_instance = SwaggerClient::ProductsApi.new
7477
8289
 
7478
- user_id = 56 # Integer | User ID for marking as to be removed.
8290
+ user_id = 56 # Integer | User ID
8291
+
8292
+ input_secret = SwaggerClient::InputSecret.new # InputSecret | JSON object that includes the new secret
7479
8293
 
7480
8294
 
7481
8295
  begin
7482
- #Mark a registered user as be removed.
7483
- api_instance.users_user_id_delete(user_id)
8296
+ #Set CLI secret for a user.
8297
+ api_instance.users_user_id_cli_secret_put(user_id, input_secret)
7484
8298
  rescue SwaggerClient::ApiError => e
7485
- puts "Exception when calling ProductsApi->users_user_id_delete: #{e}"
8299
+ puts "Exception when calling ProductsApi->users_user_id_cli_secret_put: #{e}"
7486
8300
  end
7487
8301
  ```
7488
8302
 
@@ -7490,7 +8304,8 @@ end
7490
8304
 
7491
8305
  Name | Type | Description | Notes
7492
8306
  ------------- | ------------- | ------------- | -------------
7493
- **user_id** | **Integer**| User ID for marking as to be removed. |
8307
+ **user_id** | **Integer**| User ID |
8308
+ **input_secret** | [**InputSecret**](InputSecret.md)| JSON object that includes the new secret |
7494
8309
 
7495
8310
  ### Return type
7496
8311
 
@@ -7507,12 +8322,12 @@ nil (empty response body)
7507
8322
 
7508
8323
 
7509
8324
 
7510
- # **users_user_id_gen_cli_secret_post**
7511
- > InlineResponse200 users_user_id_gen_cli_secret_post(user_id)
8325
+ # **users_user_id_delete**
8326
+ > users_user_id_delete(user_id)
7512
8327
 
7513
- Generate new CLI secret for a user.
8328
+ Mark a registered user as be removed.
7514
8329
 
7515
- This endpoint let user generate a new CLI secret for himself. This API only works when auth mode is set to 'OIDC'. Once this API returns with successful status, the old secret will be invalid, as there will be only one CLI secret for a user. The new secret will be returned in the response.
8330
+ This endpoint let administrator of Harbor mark a registered user as be removed.It actually won't be deleted from DB.
7516
8331
 
7517
8332
  ### Example
7518
8333
  ```ruby
@@ -7527,15 +8342,14 @@ end
7527
8342
 
7528
8343
  api_instance = SwaggerClient::ProductsApi.new
7529
8344
 
7530
- user_id = 56 # Integer | User ID
8345
+ user_id = 56 # Integer | User ID for marking as to be removed.
7531
8346
 
7532
8347
 
7533
8348
  begin
7534
- #Generate new CLI secret for a user.
7535
- result = api_instance.users_user_id_gen_cli_secret_post(user_id)
7536
- p result
8349
+ #Mark a registered user as be removed.
8350
+ api_instance.users_user_id_delete(user_id)
7537
8351
  rescue SwaggerClient::ApiError => e
7538
- puts "Exception when calling ProductsApi->users_user_id_gen_cli_secret_post: #{e}"
8352
+ puts "Exception when calling ProductsApi->users_user_id_delete: #{e}"
7539
8353
  end
7540
8354
  ```
7541
8355
 
@@ -7543,11 +8357,11 @@ end
7543
8357
 
7544
8358
  Name | Type | Description | Notes
7545
8359
  ------------- | ------------- | ------------- | -------------
7546
- **user_id** | **Integer**| User ID |
8360
+ **user_id** | **Integer**| User ID for marking as to be removed. |
7547
8361
 
7548
8362
  ### Return type
7549
8363
 
7550
- [**InlineResponse200**](InlineResponse200.md)
8364
+ nil (empty response body)
7551
8365
 
7552
8366
  ### Authorization
7553
8367