From adfcc7a604ac926539235117b663984e6143bdaf Mon Sep 17 00:00:00 2001 From: akeyless Date: Mon, 4 Dec 2023 08:47:18 +0000 Subject: [PATCH] Release v3.5.1 --- .openapi-generator/FILES | 19 +- README.md | 4 + api/openapi.yaml | 1026 ++++++++++++++++- build.gradle | 2 +- build.sbt | 2 +- docs/APIKeyAccessRules.md | 1 + docs/AccountGeneralSettings.md | 2 + docs/ActiveDirectoryPayload.md | 1 + docs/CreateEventForwarder.md | 5 + docs/CreateSSHCertIssuer.md | 3 + docs/DeleteItems.md | 1 + docs/DeleteItemsOutput.md | 2 + docs/DescribeItem.md | 2 + docs/GatewayCreateMigration.md | 1 + docs/GatewayUpdateMigration.md | 1 + docs/GetCertificateValue.md | 2 - docs/GwClusterIdentity.md | 1 + docs/Item.md | 1 + docs/MigrationItems.md | 1 + docs/NotiForwarder.md | 5 +- docs/RotateSecret.md | 2 + docs/RotatedSecretDetailsInfo.md | 1 + docs/SecureRemoteAccess.md | 2 + docs/TargetItemAssociation.md | 2 +- docs/TargetNameWithHosts.md | 14 + docs/UpdateAccountSettings.md | 3 + docs/UpdateEventForwarder.md | 3 + docs/UpdateSSHCertIssuer.md | 2 + docs/UsageEventSetting.md | 15 + docs/V2Api.md | 16 +- docs/WindowsService.md | 15 + docs/WindowsServiceAttributes.md | 15 + pom.xml | 2 +- .../java/io/akeyless/client/ApiClient.java | 2 +- .../java/io/akeyless/client/api/V2Api.java | 42 +- .../client/model/APIKeyAccessRules.java | 34 +- .../client/model/AccountGeneralSettings.java | 61 +- .../client/model/ActiveDirectoryPayload.java | 31 +- .../client/model/CreateEventForwarder.java | 149 ++- .../io/akeyless/client/model/CreateKey.java | 2 +- .../client/model/CreateSSHCertIssuer.java | 99 +- .../io/akeyless/client/model/DeleteItems.java | 45 +- .../client/model/DeleteItemsOutput.java | 82 +- .../akeyless/client/model/DescribeItem.java | 62 +- .../client/model/GatewayCreateMigration.java | 31 +- .../client/model/GatewayUpdateMigration.java | 31 +- .../client/model/GetCertificateValue.java | 60 +- .../client/model/GwClusterIdentity.java | 33 +- .../java/io/akeyless/client/model/Item.java | 31 +- .../akeyless/client/model/MigrationItems.java | 33 +- .../akeyless/client/model/NotiForwarder.java | 95 +- .../akeyless/client/model/RotateSecret.java | 62 +- .../model/RotatedSecretDetailsInfo.java | 44 +- .../client/model/SecureRemoteAccess.java | 69 +- .../client/model/TargetItemAssociation.java | 4 +- .../client/model/TargetNameWithHosts.java | 139 +++ .../client/model/UpdateAccountSettings.java | 89 +- .../client/model/UpdateEventForwarder.java | 91 +- .../client/model/UpdateSSHCertIssuer.java | 62 +- .../akeyless/client/model/UploadPKCS12.java | 2 +- .../io/akeyless/client/model/UploadRSA.java | 2 +- .../client/model/UsageEventSetting.java | 159 +++ .../akeyless/client/model/WindowsService.java | 159 +++ .../model/WindowsServiceAttributes.java | 158 +++ .../client/model/TargetNameWithHostsTest.java | 61 + .../client/model/UsageEventSettingTest.java | 68 ++ .../model/WindowsServiceAttributesTest.java | 67 ++ .../client/model/WindowsServiceTest.java | 68 ++ 68 files changed, 3242 insertions(+), 159 deletions(-) create mode 100644 docs/TargetNameWithHosts.md create mode 100644 docs/UsageEventSetting.md create mode 100644 docs/WindowsService.md create mode 100644 docs/WindowsServiceAttributes.md create mode 100644 src/main/java/io/akeyless/client/model/TargetNameWithHosts.java create mode 100644 src/main/java/io/akeyless/client/model/UsageEventSetting.java create mode 100644 src/main/java/io/akeyless/client/model/WindowsService.java create mode 100644 src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java create mode 100644 src/test/java/io/akeyless/client/model/TargetNameWithHostsTest.java create mode 100644 src/test/java/io/akeyless/client/model/UsageEventSettingTest.java create mode 100644 src/test/java/io/akeyless/client/model/WindowsServiceAttributesTest.java create mode 100644 src/test/java/io/akeyless/client/model/WindowsServiceTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index ae1bbf4b..a7b5a67f 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -602,6 +602,7 @@ docs/SystemAccessCredsSettings.md docs/Target.md docs/TargetItemAssociation.md docs/TargetItemVersion.md +docs/TargetNameWithHosts.md docs/TargetTypeDetailsInput.md docs/TmpUserData.md docs/Tokenize.md @@ -709,6 +710,7 @@ docs/UpdateZeroSSLTarget.md docs/UpdateZeroSSLTargetOutput.md docs/UploadPKCS12.md docs/UploadRSA.md +docs/UsageEventSetting.md docs/V2Api.md docs/ValidateToken.md docs/ValidateTokenOutput.md @@ -724,6 +726,8 @@ docs/VerifyPKICertOutput.md docs/VerifyPKICertWithClassicKey.md docs/VerifyRsaSsaPss.md docs/WebTargetDetails.md +docs/WindowsService.md +docs/WindowsServiceAttributes.md docs/WindowsTargetDetails.md docs/ZeroSSLTargetDetails.md git_push.sh @@ -1351,6 +1355,7 @@ src/main/java/io/akeyless/client/model/SystemAccessCredsSettings.java src/main/java/io/akeyless/client/model/Target.java src/main/java/io/akeyless/client/model/TargetItemAssociation.java src/main/java/io/akeyless/client/model/TargetItemVersion.java +src/main/java/io/akeyless/client/model/TargetNameWithHosts.java src/main/java/io/akeyless/client/model/TargetTypeDetailsInput.java src/main/java/io/akeyless/client/model/TmpUserData.java src/main/java/io/akeyless/client/model/Tokenize.java @@ -1458,6 +1463,7 @@ src/main/java/io/akeyless/client/model/UpdateZeroSSLTarget.java src/main/java/io/akeyless/client/model/UpdateZeroSSLTargetOutput.java src/main/java/io/akeyless/client/model/UploadPKCS12.java src/main/java/io/akeyless/client/model/UploadRSA.java +src/main/java/io/akeyless/client/model/UsageEventSetting.java src/main/java/io/akeyless/client/model/ValidateToken.java src/main/java/io/akeyless/client/model/ValidateTokenOutput.java src/main/java/io/akeyless/client/model/VaultlessTokenizerInfo.java @@ -1472,12 +1478,11 @@ src/main/java/io/akeyless/client/model/VerifyPKICertOutput.java src/main/java/io/akeyless/client/model/VerifyPKICertWithClassicKey.java src/main/java/io/akeyless/client/model/VerifyRsaSsaPss.java src/main/java/io/akeyless/client/model/WebTargetDetails.java +src/main/java/io/akeyless/client/model/WindowsService.java +src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java src/main/java/io/akeyless/client/model/WindowsTargetDetails.java src/main/java/io/akeyless/client/model/ZeroSSLTargetDetails.java -src/test/java/io/akeyless/client/model/CfInfoTest.java -src/test/java/io/akeyless/client/model/SignEcDsaOutputTest.java -src/test/java/io/akeyless/client/model/SignEcDsaTest.java -src/test/java/io/akeyless/client/model/SignRsaSsaPssOutputTest.java -src/test/java/io/akeyless/client/model/SignRsaSsaPssTest.java -src/test/java/io/akeyless/client/model/VerifyEcDsaTest.java -src/test/java/io/akeyless/client/model/VerifyRsaSsaPssTest.java +src/test/java/io/akeyless/client/model/TargetNameWithHostsTest.java +src/test/java/io/akeyless/client/model/UsageEventSettingTest.java +src/test/java/io/akeyless/client/model/WindowsServiceAttributesTest.java +src/test/java/io/akeyless/client/model/WindowsServiceTest.java diff --git a/README.md b/README.md index dafb5a15..6f9b37ab 100644 --- a/README.md +++ b/README.md @@ -1010,6 +1010,7 @@ Class | Method | HTTP request | Description - [Target](docs/Target.md) - [TargetItemAssociation](docs/TargetItemAssociation.md) - [TargetItemVersion](docs/TargetItemVersion.md) + - [TargetNameWithHosts](docs/TargetNameWithHosts.md) - [TargetTypeDetailsInput](docs/TargetTypeDetailsInput.md) - [TmpUserData](docs/TmpUserData.md) - [Tokenize](docs/Tokenize.md) @@ -1117,6 +1118,7 @@ Class | Method | HTTP request | Description - [UpdateZeroSSLTargetOutput](docs/UpdateZeroSSLTargetOutput.md) - [UploadPKCS12](docs/UploadPKCS12.md) - [UploadRSA](docs/UploadRSA.md) + - [UsageEventSetting](docs/UsageEventSetting.md) - [ValidateToken](docs/ValidateToken.md) - [ValidateTokenOutput](docs/ValidateTokenOutput.md) - [VaultlessTokenizerInfo](docs/VaultlessTokenizerInfo.md) @@ -1131,6 +1133,8 @@ Class | Method | HTTP request | Description - [VerifyPKICertWithClassicKey](docs/VerifyPKICertWithClassicKey.md) - [VerifyRsaSsaPss](docs/VerifyRsaSsaPss.md) - [WebTargetDetails](docs/WebTargetDetails.md) + - [WindowsService](docs/WindowsService.md) + - [WindowsServiceAttributes](docs/WindowsServiceAttributes.md) - [WindowsTargetDetails](docs/WindowsTargetDetails.md) - [ZeroSSLTargetDetails](docs/ZeroSSLTargetDetails.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index d6beaf9e..bf6988e2 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -2411,7 +2411,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/esmUpdate' + $ref: '#/components/schemas/esmCreate' required: true responses: "200": @@ -2523,6 +2523,12 @@ paths: /esm-update: post: operationId: esmUpdate + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/esmUpdate' + required: true responses: "200": content: @@ -2540,6 +2546,8 @@ paths: field. tags: - v2 + x-codegen-request-body-name: body + x-contentType: application/json x-accepts: application/json /event-action: post: @@ -10636,6 +10644,7 @@ components: schemas: APIKeyAccessRules: example: + modification_date: 2000-01-23T04:56:07.000+00:00 alg: alg key: key properties: @@ -10647,6 +10656,10 @@ components: description: The public key value of the API-key. type: string x-go-name: PubKeyValue + modification_date: + format: date-time + type: string + x-go-name: ModificationDate title: APIKeyAccessRules is a set of rules for API Key access type. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types @@ -10866,6 +10879,10 @@ components: AccountGeneralSettings: description: AccountGeneralSettings describes general settings for an account example: + auth_usage_event: + enable: true + enable_time: 2000-01-23T04:56:07.000+00:00 + interval_by_days: 6 password_policy: use_numbers: true use_capital_letters: true @@ -10873,13 +10890,17 @@ components: use_lower_letters: true password_length: 4 sharing_policy: - default_share_link_ttl: 6 + default_share_link_ttl: 1 data_protection_section: enable_classic_key_protection: true lock_default_key: true account_default_key_name: account_default_key_name enable_request_for_access: true protect_items_by_default: true + item_usage_event: + enable: true + enable_time: 2000-01-23T04:56:07.000+00:00 + interval_by_days: 6 account_default_key_item_id: 0 invalid_characters: invalid_characters properties: @@ -10897,6 +10918,8 @@ components: It will not be saved to the DB, only the AccountDefaultKeyItemID will. type: string x-go-name: AccountDefaultKeyName + auth_usage_event: + $ref: '#/components/schemas/UsageEventSetting' data_protection_section: $ref: '#/components/schemas/DataProtectionSection' enable_request_for_access: @@ -10907,6 +10930,8 @@ components: naming convention type: string x-go-name: InvalidCharacters + item_usage_event: + $ref: '#/components/schemas/UsageEventSetting' lock_default_key: description: |- LockDefaultKey determines whether the configured default key can be updated by end-users on a per-request basis @@ -10962,6 +10987,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -10992,6 +11018,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -11029,6 +11056,9 @@ components: discover_local_users: type: boolean x-go-name: DiscoverLocalUsers + discover_services: + type: boolean + x-go-name: DiscoverServices domain_name: type: string x-go-name: DomainName @@ -11470,6 +11500,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -11501,6 +11532,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -12136,6 +12168,7 @@ components: name: name idp_metadata_xml: idp_metadata_xml api_key_access_rules: + modification_date: 2000-01-23T04:56:07.000+00:00 alg: alg key: key cidr_whitelist: cidr_whitelist @@ -12407,6 +12440,7 @@ components: name: name idp_metadata_xml: idp_metadata_xml api_key_access_rules: + modification_date: 2000-01-23T04:56:07.000+00:00 alg: alg key: key cidr_whitelist: cidr_whitelist @@ -14882,9 +14916,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -16857,7 +16901,8 @@ components: description: GatewaysListResponse Gateway cluster identity list example: clusters: - - cluster_name: cluster_name + - action_allowed: true + cluster_name: cluster_name current_gw: true status_description: status_description customer_fragment_ids: @@ -16882,7 +16927,8 @@ components: hash: hash default_secret_location: default_secret_location status: status - - cluster_name: cluster_name + - action_allowed: true + cluster_name: cluster_name current_gw: true status_description: status_description customer_fragment_ids: @@ -17019,6 +17065,10 @@ components: - item-type: item-type max-versions: max-versions general_settings: + auth_usage_event: + enable: true + enable_time: 2000-01-23T04:56:07.000+00:00 + interval_by_days: 6 password_policy: use_numbers: true use_capital_letters: true @@ -17026,13 +17076,17 @@ components: use_lower_letters: true password_length: 4 sharing_policy: - default_share_link_ttl: 6 + default_share_link_ttl: 1 data_protection_section: enable_classic_key_protection: true lock_default_key: true account_default_key_name: account_default_key_name enable_request_for_access: true protect_items_by_default: true + item_usage_event: + enable: true + enable_time: 2000-01-23T04:56:07.000+00:00 + interval_by_days: 6 account_default_key_item_id: 0 invalid_characters: invalid_characters secret_management: @@ -17040,8 +17094,8 @@ components: sla: sla system_access_creds_settings: jwt_ttl_maximum: 5 - jwt_ttl_minimum: 5 - jwt_ttl_default: 1 + jwt_ttl_minimum: 2 + jwt_ttl_default: 5 email: email properties: account_id: @@ -17742,6 +17796,7 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types GwClusterIdentity: example: + action_allowed: true cluster_name: cluster_name current_gw: true status_description: status_description @@ -17768,6 +17823,9 @@ components: default_secret_location: default_secret_location status: status properties: + action_allowed: + type: boolean + x-go-name: ActionAllowed allowed: type: boolean x-go-name: Allowed @@ -17876,6 +17934,9 @@ components: x-go-name: Url type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator + HostProviderType: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types HuaweiAccessRules: example: domain_id: @@ -18134,6 +18195,7 @@ components: target_id: 1 item_name: item_name creation_date: 2000-01-23T04:56:07.000+00:00 + last_rotation_date: 2000-01-23T04:56:07.000+00:00 gateway_details: - cluster_url: cluster_url cluster_name: cluster_name @@ -18205,11 +18267,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -18751,6 +18836,10 @@ components: $ref: '#/components/schemas/ItemVersion' type: array x-go-name: ItemVersions + last_rotation_date: + format: date-time + type: string + x-go-name: LastRotationDate last_version: format: int32 type: integer @@ -18858,11 +18947,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -20555,6 +20667,7 @@ components: name: name idp_metadata_xml: idp_metadata_xml api_key_access_rules: + modification_date: 2000-01-23T04:56:07.000+00:00 alg: alg key: key cidr_whitelist: cidr_whitelist @@ -20873,6 +20986,7 @@ components: name: name idp_metadata_xml: idp_metadata_xml api_key_access_rules: + modification_date: 2000-01-23T04:56:07.000+00:00 alg: alg key: key cidr_whitelist: cidr_whitelist @@ -21213,6 +21327,7 @@ components: target_id: 1 item_name: item_name creation_date: 2000-01-23T04:56:07.000+00:00 + last_rotation_date: 2000-01-23T04:56:07.000+00:00 gateway_details: - cluster_url: cluster_url cluster_name: cluster_name @@ -21284,11 +21399,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -21882,6 +22020,7 @@ components: target_id: 1 item_name: item_name creation_date: 2000-01-23T04:56:07.000+00:00 + last_rotation_date: 2000-01-23T04:56:07.000+00:00 gateway_details: - cluster_url: cluster_url cluster_name: cluster_name @@ -21953,11 +22092,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -22573,6 +22735,7 @@ components: target_id: 1 item_name: item_name creation_date: 2000-01-23T04:56:07.000+00:00 + last_rotation_date: 2000-01-23T04:56:07.000+00:00 gateway_details: - cluster_url: cluster_url cluster_name: cluster_name @@ -22644,11 +22807,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -23242,6 +23428,7 @@ components: target_id: 1 item_name: item_name creation_date: 2000-01-23T04:56:07.000+00:00 + last_rotation_date: 2000-01-23T04:56:07.000+00:00 gateway_details: - cluster_url: cluster_url cluster_name: cluster_name @@ -23313,11 +23500,34 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -24213,6 +24423,7 @@ components: total: 5 failed: 0 migrated: 6 + updated: 5 skipped: 1 properties: failed: @@ -24231,6 +24442,10 @@ components: format: int64 type: integer x-go-name: Total + updated: + format: int64 + type: integer + x-go-name: Updated type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/importer/report MigrationStatus: @@ -24268,17 +24483,20 @@ components: total: 5 failed: 0 migrated: 6 + updated: 5 skipped: 1 migration_items: total: 5 failed: 0 migrated: 6 + updated: 5 skipped: 1 migration_state: migration_state rotated_secrets: total: 5 failed: 0 migrated: 6 + updated: 5 skipped: 1 start_time: start_time migration_type_name: migration_type_name @@ -24620,6 +24838,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -24651,6 +24870,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -24943,6 +25163,8 @@ components: to_name: to_name - to_email: to_email to_name: to_name + auth_type: auth_type + user_email: user_email gateway_cluster_id: 0 noti_forwarder_id: 1 runner_type: runner_type @@ -24970,6 +25192,7 @@ components: version: 2 customer_fragment_id: customer_fragment_id protection_key: protection_key + client_id: client_id is_enabled: true last_version: 6 endpoint: endpoint @@ -24989,6 +25212,13 @@ components: comment: comment username: username properties: + auth_type: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + client_id: + description: Auth - JWT + type: string + x-go-name: ClientID client_permissions: items: type: string @@ -25059,7 +25289,11 @@ components: $ref: '#/components/schemas/EmailEntry' type: array x-go-name: ToEmails + user_email: + type: string + x-go-name: UserEmail username: + description: Auth - User Password type: string x-go-name: Username with_customer_fragment: @@ -26257,6 +26491,19 @@ components: delete_previous_version_in_days: 5 last_rotation_error: last_rotation_error number_of_versions_to_save: 9 + services_details: + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + - host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port properties: delete_previous_version_in_days: format: int32 @@ -26299,6 +26546,11 @@ components: same_password: type: boolean x-go-name: SamePassword + services_details: + items: + $ref: '#/components/schemas/WindowsService' + type: array + x-go-name: ServicesDetails type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types RotatedSecretOutput: @@ -26711,9 +26963,19 @@ components: SecureRemoteAccess: example: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -26787,6 +27049,9 @@ components: type: string type: array x-go-name: Host + host_provider_type: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types is_cli: type: boolean x-go-name: AccessCliCategory @@ -26823,6 +27088,11 @@ components: ssh_user: type: string x-go-name: SSHUser + target_hosts: + items: + $ref: '#/components/schemas/TargetNameWithHosts' + type: array + x-go-name: TargetNameWithHosts url: type: string x-go-name: URL @@ -26908,9 +27178,12 @@ components: x-go-name: UsersRotatedSecretsPathTemplate type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/akeyless-api/gator + ServiceNowAuthType: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types SharingPolicyInfo: example: - default_share_link_ttl: 6 + default_share_link_ttl: 1 properties: default_share_link_ttl: format: int64 @@ -27122,8 +27395,8 @@ components: for account by minutes example: jwt_ttl_maximum: 5 - jwt_ttl_minimum: 5 - jwt_ttl_default: 1 + jwt_ttl_minimum: 2 + jwt_ttl_default: 5 properties: jwt_ttl_default: format: int64 @@ -27283,7 +27556,7 @@ components: TargetItemAssociation: description: |- TargetItemAssociation includes details of an association between a target - and an item. + and an item. Also, between targets in case of CredentialsLess target or Linked target. example: cluster_id: 1 assoc_id: assoc_id @@ -27377,6 +27650,23 @@ components: title: TargetItemVersion describes an item version in AKEYLESS. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + TargetNameWithHosts: + example: + target_name: target_name + hosts: + - hosts + - hosts + properties: + hosts: + items: + type: string + type: array + x-go-name: TargetHosts + target_name: + type: string + x-go-name: TargetName + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types TargetSubType: title: TargetSubType .. type: string @@ -28043,6 +28333,25 @@ components: x-go-name: Name type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands + UsageEventSetting: + example: + enable: true + enable_time: 2000-01-23T04:56:07.000+00:00 + interval_by_days: 6 + properties: + enable: + type: boolean + x-go-name: Enable + enable_time: + format: date-time + type: string + x-go-name: EnableTime + interval_by_days: + format: int64 + type: integer + x-go-name: IntervalByDays + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types VaultlessTokenizerInfo: example: key_name: key_name @@ -28139,6 +28448,43 @@ components: title: WebTargetDetails ... type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + WindowsService: + example: + host: host + name: name + attributes: + use_tls: true + connection_type: connection_type + port: port + properties: + attributes: + $ref: '#/components/schemas/WindowsServiceAttributes' + host: + type: string + x-go-name: Host + name: + type: string + x-go-name: Name + title: WindowsService defines types supported by AKEYLESS. + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types + WindowsServiceAttributes: + example: + use_tls: true + connection_type: connection_type + port: port + properties: + connection_type: + type: string + x-go-name: ConnectionType + port: + type: string + x-go-name: Port + use_tls: + type: boolean + x-go-name: UseTLS + type: object + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types WindowsTargetDetails: description: WindowsTargetDetails example: @@ -30745,6 +31091,27 @@ components: description: Workstation Admin password type: string x-go-name: AdminPwd + app-private-key-base64: + description: The RSA Private Key PEM formatted in base64 to use when connecting + to ServiceNow with jwt authentication + type: string + x-go-name: AppPrivateKeyBase64 + auth-type: + default: user-pass + description: The authentication type to use when connecting to ServiceNow + (user-pass / jwt) + type: string + x-go-name: AuthType + client-id: + description: The client ID to use when connecting to ServiceNow with jwt + authentication + type: string + x-go-name: ClientID + client-secret: + description: The client secret to use when connecting to ServiceNow with + jwt authentication + type: string + x-go-name: ClientSecret comment: description: Deprecated - use description type: string @@ -30815,6 +31182,11 @@ components: authentication type: string x-go-name: UIDToken + user-email: + description: The user email to use when connecting to ServiceNow with jwt + authentication + type: string + x-go-name: UserEmail required: - event-source-locations - forwarder-type @@ -31309,7 +31681,7 @@ components: type: string x-go-name: KeyName split-level: - default: 2 + default: 3 description: |- The number of fragments that the item will be split into (not includes customer fragment) @@ -32074,6 +32446,9 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands createSSHCertIssuer: properties: + SshCertIssuerHostProvider: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types allowed-users: description: Users allowed to fetch the certificate, e.g root,ubuntu type: string @@ -32092,6 +32467,11 @@ components: description: Signed certificates with extensions, e.g permit-port-forwarding=\"\" type: object x-go-name: Extensions + host-provider: + default: explicit + description: Host provider type [explicit/target] + type: string + x-go-name: HostProviderType json: default: false description: Set output format to JSON @@ -32147,6 +32527,14 @@ components: type: string type: array x-go-name: Tags + target: + description: A list of existing targets to be associated, Relevant only + for Secure Remote Access, To specify multiple targets use argument multiple + times + items: + type: string + type: array + x-go-name: TargetNames token: description: Authentication token (see `/auth` and `/configure`) type: string @@ -33386,12 +33774,20 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands deleteItems: properties: + item: + description: A list of items to delete, To specify multiple items use argument + multiple times + items: + type: string + type: array + x-go-name: Items json: default: false description: Set output format to JSON type: boolean x-go-name: Json path: + default: dummy_path description: Path to delete the items from type: string x-go-name: Path @@ -33412,7 +33808,22 @@ components: deleteItemsOutput: example: path: path + deleted_items: + - deleted_items + - deleted_items + failed_deleted_items: + key: failed_deleted_items properties: + deleted_items: + items: + type: string + type: array + x-go-name: DeletedItems + failed_deleted_items: + additionalProperties: + type: string + type: object + x-go-name: FailedDeletedItems path: type: string x-go-name: Path @@ -33690,6 +34101,11 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands describeItem: properties: + accessibility: + default: regular + description: for personal password manager + type: string + x-go-name: ItemAccessibilityString bastion-details: default: false description: Indicate if the item should return with ztb cluster details @@ -33720,6 +34136,11 @@ components: description: Item name type: string x-go-name: ItemName + services-details: + default: false + description: Include all associated services details + type: boolean + x-go-name: WithServicesDetails show-versions: default: false description: Include all item versions in reply @@ -34553,6 +34974,13 @@ components: type: string type: array x-go-name: Vaults + ad-discover-services: + default: "false" + description: Enable/Disable discovery of Windows services from each domain + server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant + only for Active Directory migration) + type: string + x-go-name: AdDiscoverServices ad-ssh-port: default: "22" description: Set the SSH Port for further connection to the domain servers. @@ -35073,9 +35501,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -35494,9 +35932,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -35901,9 +36349,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -36263,9 +36721,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -36682,9 +37150,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -37134,9 +37612,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -37490,9 +37978,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -37880,9 +38378,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -38250,9 +38758,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -38610,9 +39128,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -38991,9 +39519,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -39385,9 +39923,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -39762,9 +40310,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -40156,9 +40714,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -40567,9 +41135,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -40974,9 +41552,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -41397,9 +41985,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -41793,9 +42391,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -42232,9 +42840,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -42632,9 +43250,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -43028,9 +43656,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -43432,9 +44070,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -43806,9 +44454,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -44189,9 +44847,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -44558,9 +45226,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -45391,6 +46069,7 @@ components: total: 5 failed: 0 migrated: 6 + updated: 5 skipped: 1 properties: migration_items: @@ -45658,6 +46337,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -45689,6 +46369,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -45993,6 +46674,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -46024,6 +46706,7 @@ components: winrm_port: winrm_port auto_rotate_interval_in_days: 1 active_directory_target_id: 1 + discover_services: true winrm_over_http: true local_users_rotated_secrets_path_template: local_users_rotated_secrets_path_template targets_type: targets_type @@ -46631,6 +47314,13 @@ components: type: string type: array x-go-name: Vaults + ad-discover-services: + default: "false" + description: Enable/Disable discovery of Windows services from each domain + server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant + only for Active Directory migration) + type: string + x-go-name: AdDiscoverServices ad-ssh-port: default: "22" description: Set the SSH Port for further connection to the domain servers. @@ -47159,9 +47849,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -47584,9 +48284,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -47995,9 +48705,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -48361,9 +49081,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -48784,9 +49514,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -49244,9 +49984,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -49604,9 +50354,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -49998,9 +50758,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -50372,9 +51142,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -50736,9 +51516,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -51121,9 +51911,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -51519,9 +52319,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -51900,9 +52710,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -52298,9 +53118,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -52713,9 +53543,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -53124,9 +53964,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -53551,9 +54401,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -53951,9 +54811,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -54394,9 +55264,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -54798,9 +55678,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -55198,9 +56088,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -55606,9 +56506,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -55984,9 +56894,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -56371,9 +57291,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -56744,9 +57674,19 @@ components: sf_account: sf_account secure_remote_access_details: schema: schema + host_provider_type: host_provider_type web_proxy: true bastion_ssh: bastion_ssh isolated: true + target_hosts: + - target_name: target_name + hosts: + - hosts + - hosts + - target_name: target_name + hosts: + - hosts + - hosts ssh_private_key: true allow_port_forwarding: true is_web: true @@ -57105,10 +58045,6 @@ components: required when used with display-id and token type: string x-go-name: CertIssuerName - certificate-file-output: - description: File to write the certificates to. - type: string - x-go-name: CertFileOutput display-id: description: Certificate display ID type: string @@ -57133,10 +58069,6 @@ components: description: Certificate name type: string x-go-name: CertificateName - private-key-file-output: - description: File to write the private key to. - type: string - x-go-name: PkFileOutput token: description: Authentication token (see `/auth` and `/configure`) type: string @@ -57238,6 +58170,8 @@ components: to_name: to_name - to_email: to_email to_name: to_name + auth_type: auth_type + user_email: user_email gateway_cluster_id: 0 noti_forwarder_id: 1 runner_type: runner_type @@ -57265,6 +58199,7 @@ components: version: 2 customer_fragment_id: customer_fragment_id protection_key: protection_key + client_id: client_id is_enabled: true last_version: 6 endpoint: endpoint @@ -58858,6 +59793,8 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands rotateSecret: properties: + RotateAllServicesBoolean: + type: boolean json: default: false description: Set output format to JSON @@ -58867,6 +59804,11 @@ components: description: Secret name (Rotated Secret or Custom Dynamic Secret) type: string x-go-name: SecretName + rotate-all-services: + default: "false" + description: Rotate all associated services + type: string + x-go-name: RotateAllServices token: description: Authentication token (see `/auth` and `/configure`) type: string @@ -60014,6 +60956,22 @@ components: authentication type: string x-go-name: UIDToken + usage-event-enable: + description: Enable event for objects that have not been used or changed + [true/false] + type: string + x-go-name: UsageEventEnable + usage-event-interval: + description: Interval by days for unused objects. Default and minimum interval + is 90 days + format: int64 + type: integer + x-go-name: UsageEventInterval + usage-event-object-type: + description: Usage event is supported for auth method or secrets-and-keys + [auth/item] + type: string + x-go-name: UsageEventObjectType use-lower-letters: description: Password must contain lower case letters [true/false] type: string @@ -61945,6 +62903,17 @@ components: description: Workstation Admin Name type: string x-go-name: AdminName + auth-type: + default: user-pass + description: The authentication type to use when connecting to ServiceNow + (user-pass / jwt) + type: string + x-go-name: AuthType + client-id: + description: The client ID to use when connecting to ServiceNow with jwt + authentication + type: string + x-go-name: ClientID description: default: default_comment description: Description of the object @@ -62003,6 +62972,11 @@ components: authentication type: string x-go-name: UIDToken + user-email: + description: The user email to use when connecting to ServiceNow with jwt + authentication + type: string + x-go-name: UserEmail required: - name title: updateEventForwarder is a command that updates an event forwarder. @@ -63643,6 +64617,9 @@ components: x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands updateSSHCertIssuer: properties: + SshCertIssuerHostProvider: + type: string + x-go-package: akeyless.io/akeyless-main-repo/go/src/infra/types add-tag: description: List of the new tags that will be attached to this item items: @@ -63667,6 +64644,11 @@ components: description: Signed certificates with extensions, e.g permit-port-forwarding=\"\" type: object x-go-name: Extensions + host-provider: + default: explicit + description: Host provider type [explicit/target] + type: string + x-go-name: HostProviderType json: default: false description: Set output format to JSON @@ -64493,7 +65475,7 @@ components: type: string x-go-name: Passphrase split-level: - default: 2 + default: 3 description: The number of fragments that the item will be split into format: int64 type: integer @@ -64571,7 +65553,7 @@ components: type: string x-go-name: RSAFileData split-level: - default: 2 + default: 3 description: The number of fragments that the item will be split into format: int64 type: integer diff --git a/build.gradle b/build.gradle index 42d36516..caede926 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'io.akeyless' -version = '3.5.0' +version = '3.5.1' buildscript { repositories { diff --git a/build.sbt b/build.sbt index 0c94a0f5..3e4aaad7 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "io.akeyless", name := "akeyless-java", - version := "3.5.0", + version := "3.5.1", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/APIKeyAccessRules.md b/docs/APIKeyAccessRules.md index faaffe2e..ab96ec7f 100644 --- a/docs/APIKeyAccessRules.md +++ b/docs/APIKeyAccessRules.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alg** | **String** | | [optional] **key** | **String** | The public key value of the API-key. | [optional] +**modificationDate** | **OffsetDateTime** | | [optional] diff --git a/docs/AccountGeneralSettings.md b/docs/AccountGeneralSettings.md index c03ad8e9..d24d845b 100644 --- a/docs/AccountGeneralSettings.md +++ b/docs/AccountGeneralSettings.md @@ -10,9 +10,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accountDefaultKeyItemId** | **Long** | AccountDefaultKeyItemID is the item ID of the DFC key item configured as the default protection key | [optional] **accountDefaultKeyName** | **String** | AccountDefaultKeyName is the name of the DFC key item configured as the default key This is here simply for the response to include the item name in addition to the display ID so the client can properly show this to the user. It will not be saved to the DB, only the AccountDefaultKeyItemID will. | [optional] +**authUsageEvent** | [**UsageEventSetting**](UsageEventSetting.md) | | [optional] **dataProtectionSection** | [**DataProtectionSection**](DataProtectionSection.md) | | [optional] **enableRequestForAccess** | **Boolean** | | [optional] **invalidCharacters** | **String** | InvalidCharacters is the invalid characters for items/targets/roles/auths/notifier_forwarder naming convention | [optional] +**itemUsageEvent** | [**UsageEventSetting**](UsageEventSetting.md) | | [optional] **lockDefaultKey** | **Boolean** | LockDefaultKey determines whether the configured default key can be updated by end-users on a per-request basis true - all requests use the configured default key false - every request can determine its protection key (default) nil - change nothing (every request can determine its protection key (default)) This parameter is only relevant if AccountDefaultKeyItemID is not empty | [optional] **passwordPolicy** | [**PasswordPolicyInfo**](PasswordPolicyInfo.md) | | [optional] **protectItemsByDefault** | **Boolean** | | [optional] diff --git a/docs/ActiveDirectoryPayload.md b/docs/ActiveDirectoryPayload.md index 4dd46181..4b8f4585 100644 --- a/docs/ActiveDirectoryPayload.md +++ b/docs/ActiveDirectoryPayload.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **autoRotateRotationHour** | **Integer** | | [optional] **computerBaseDn** | **String** | | [optional] **discoverLocalUsers** | **Boolean** | | [optional] +**discoverServices** | **Boolean** | | [optional] **domainName** | **String** | | [optional] **domainServerTargetsPathTemplate** | **String** | | [optional] **domainUsersRotatedSecretsPathTemplate** | **String** | | [optional] diff --git a/docs/CreateEventForwarder.md b/docs/CreateEventForwarder.md index 1865d9ec..904e19ae 100644 --- a/docs/CreateEventForwarder.md +++ b/docs/CreateEventForwarder.md @@ -9,6 +9,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **adminName** | **String** | Workstation Admin Name | [optional] **adminPwd** | **String** | Workstation Admin password | [optional] +**appPrivateKeyBase64** | **String** | The RSA Private Key PEM formatted in base64 to use when connecting to ServiceNow with jwt authentication | [optional] +**authType** | **String** | The authentication type to use when connecting to ServiceNow (user-pass / jwt) | [optional] +**clientId** | **String** | The client ID to use when connecting to ServiceNow with jwt authentication | [optional] +**clientSecret** | **String** | The client secret to use when connecting to ServiceNow with jwt authentication | [optional] **comment** | **String** | Deprecated - use description | [optional] **description** | **String** | Description of the object | [optional] **emailTo** | **String** | A comma seperated list of email addresses to send event to (relevant only for \"email\" Event Forwarder) | [optional] @@ -24,6 +28,7 @@ Name | Type | Description | Notes **runnerType** | **String** | | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**userEmail** | **String** | The user email to use when connecting to ServiceNow with jwt authentication | [optional] diff --git a/docs/CreateSSHCertIssuer.md b/docs/CreateSSHCertIssuer.md index b21d9e07..58acf9fb 100644 --- a/docs/CreateSSHCertIssuer.md +++ b/docs/CreateSSHCertIssuer.md @@ -7,10 +7,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**sshCertIssuerHostProvider** | **String** | | [optional] **allowedUsers** | **String** | Users allowed to fetch the certificate, e.g root,ubuntu | **deleteProtection** | **String** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **String** | Description of the object | [optional] **extensions** | **Map<String, String>** | Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\" | [optional] +**hostProvider** | **String** | Host provider type [explicit/target] | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **metadata** | **String** | Deprecated - use description | [optional] **name** | **String** | SSH certificate issuer name | @@ -23,6 +25,7 @@ Name | Type | Description | Notes **secureAccessUseInternalBastion** | **Boolean** | Use internal SSH Bastion | [optional] **signerKeyName** | **String** | A key to sign the certificate with | **tag** | **List<String>** | List of the tags attached to this key | [optional] +**target** | **List<String>** | A list of existing targets to be associated, Relevant only for Secure Remote Access, To specify multiple targets use argument multiple times | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **ttl** | **Long** | The requested Time To Live for the certificate, in seconds | **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/DeleteItems.md b/docs/DeleteItems.md index 6ad88d1e..0f93555d 100644 --- a/docs/DeleteItems.md +++ b/docs/DeleteItems.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**item** | **List<String>** | A list of items to delete, To specify multiple items use argument multiple times | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **path** | **String** | Path to delete the items from | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] diff --git a/docs/DeleteItemsOutput.md b/docs/DeleteItemsOutput.md index ed686cbf..d834cc1d 100644 --- a/docs/DeleteItemsOutput.md +++ b/docs/DeleteItemsOutput.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**deletedItems** | **List<String>** | | [optional] +**failedDeletedItems** | **Map<String, String>** | | [optional] **path** | **String** | | [optional] diff --git a/docs/DescribeItem.md b/docs/DescribeItem.md index 4240b15f..beec945d 100644 --- a/docs/DescribeItem.md +++ b/docs/DescribeItem.md @@ -7,12 +7,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**accessibility** | **String** | for personal password manager | [optional] **bastionDetails** | **Boolean** | Indicate if the item should return with ztb cluster details (url, etc) | [optional] **displayId** | **String** | The display id of the item | [optional] **gatewayDetails** | **Boolean** | Indicate if the item should return with clusters details (url, etc) | [optional] **itemId** | **Long** | Item id of the item | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **name** | **String** | Item name | +**servicesDetails** | **Boolean** | Include all associated services details | [optional] **showVersions** | **Boolean** | Include all item versions in reply | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/GatewayCreateMigration.md b/docs/GatewayCreateMigration.md index 9d6b7a5c..6f219076 100644 --- a/docs/GatewayCreateMigration.md +++ b/docs/GatewayCreateMigration.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **_1passwordSecretKey** | **String** | 1Password user secret key to connect to the API | [optional] **_1passwordUrl** | **String** | 1Password api container url | [optional] **_1passwordVaults** | **List<String>** | 1Password list of vault to get the items from | [optional] +**adDiscoverServices** | **String** | Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration) | [optional] **adSshPort** | **String** | Set the SSH Port for further connection to the domain servers. Default is port 22 (Relevant only for Active Directory migration) | [optional] **adTargetsType** | **String** | Set the target type of the domain servers [ssh/windows](Relevant only for Active Directory migration) | [optional] **adWinrmOverHttp** | **String** | Use WinRM over HTTP, by default runs over HTTPS | [optional] diff --git a/docs/GatewayUpdateMigration.md b/docs/GatewayUpdateMigration.md index 57667a87..46656287 100644 --- a/docs/GatewayUpdateMigration.md +++ b/docs/GatewayUpdateMigration.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **_1passwordSecretKey** | **String** | 1Password user secret key to connect to the API | [optional] **_1passwordUrl** | **String** | 1Password api container url | [optional] **_1passwordVaults** | **List<String>** | 1Password list of vault to get the items from | [optional] +**adDiscoverServices** | **String** | Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration) | [optional] **adSshPort** | **String** | Set the SSH Port for further connection to the domain servers. Default is port 22 (Relevant only for Active Directory migration) | [optional] **adTargetsType** | **String** | Set the target type of the domain servers [ssh/windows](Relevant only for Active Directory migration) | [optional] **adWinrmOverHttp** | **String** | Use WinRM over HTTP, by default runs over HTTPS | [optional] diff --git a/docs/GetCertificateValue.md b/docs/GetCertificateValue.md index a3975c61..c0a02a18 100644 --- a/docs/GetCertificateValue.md +++ b/docs/GetCertificateValue.md @@ -8,13 +8,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **certIssuerName** | **String** | The parent PKI Certificate Issuer's name of the certificate, required when used with display-id and token | [optional] -**certificateFileOutput** | **String** | File to write the certificates to. | [optional] **displayId** | **String** | Certificate display ID | [optional] **ignoreCache** | **String** | Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI | [optional] **issuanceToken** | **String** | Token for getting the issued certificate | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **name** | **String** | Certificate name | -**privateKeyFileOutput** | **String** | File to write the private key to. | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] **version** | **Integer** | Certificate version | [optional] diff --git a/docs/GwClusterIdentity.md b/docs/GwClusterIdentity.md index a3168ad5..b5012623 100644 --- a/docs/GwClusterIdentity.md +++ b/docs/GwClusterIdentity.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**actionAllowed** | **Boolean** | | [optional] **allowed** | **Boolean** | | [optional] **allowedAccessIds** | **List<String>** | | [optional] **clusterName** | **String** | | [optional] diff --git a/docs/Item.md b/docs/Item.md index 74d8d165..1f699b79 100644 --- a/docs/Item.md +++ b/docs/Item.md @@ -36,6 +36,7 @@ Name | Type | Description | Notes **itemTargetsAssoc** | [**List<ItemTargetAssociation>**](ItemTargetAssociation.md) | | [optional] **itemType** | **String** | | [optional] **itemVersions** | [**List<ItemVersion>**](ItemVersion.md) | | [optional] +**lastRotationDate** | **OffsetDateTime** | | [optional] **lastVersion** | **Integer** | | [optional] **linkedDetails** | [**LinkedDetails**](LinkedDetails.md) | | [optional] **modificationDate** | **OffsetDateTime** | | [optional] diff --git a/docs/MigrationItems.md b/docs/MigrationItems.md index 1724d8ef..fd8ad954 100644 --- a/docs/MigrationItems.md +++ b/docs/MigrationItems.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **migrated** | **Long** | | [optional] **skipped** | **Long** | | [optional] **total** | **Long** | | [optional] +**updated** | **Long** | | [optional] diff --git a/docs/NotiForwarder.md b/docs/NotiForwarder.md index c081665a..c1ab2a10 100644 --- a/docs/NotiForwarder.md +++ b/docs/NotiForwarder.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**authType** | **String** | | [optional] +**clientId** | **String** | Auth - JWT | [optional] **clientPermissions** | **List<String>** | | [optional] **comment** | **String** | | [optional] **creationDate** | **OffsetDateTime** | | [optional] @@ -25,7 +27,8 @@ Name | Type | Description | Notes **runnerType** | **String** | | [optional] **timespanInSeconds** | **Long** | | [optional] **toEmails** | [**List<EmailEntry>**](EmailEntry.md) | | [optional] -**username** | **String** | | [optional] +**userEmail** | **String** | | [optional] +**username** | **String** | Auth - User Password | [optional] **withCustomerFragment** | **Boolean** | | [optional] diff --git a/docs/RotateSecret.md b/docs/RotateSecret.md index ee3a8217..9ac1e97d 100644 --- a/docs/RotateSecret.md +++ b/docs/RotateSecret.md @@ -7,8 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**rotateAllServicesBoolean** | **Boolean** | | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **name** | **String** | Secret name (Rotated Secret or Custom Dynamic Secret) | +**rotateAllServices** | **String** | Rotate all associated services | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] diff --git a/docs/RotatedSecretDetailsInfo.md b/docs/RotatedSecretDetailsInfo.md index 9c42233e..f77a18ed 100644 --- a/docs/RotatedSecretDetailsInfo.md +++ b/docs/RotatedSecretDetailsInfo.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **rotatorStatus** | **String** | RotationStatus defines types of rotation Status | [optional] **rotatorType** | **String** | | [optional] **samePassword** | **Boolean** | | [optional] +**servicesDetails** | [**List<WindowsService>**](WindowsService.md) | | [optional] diff --git a/docs/SecureRemoteAccess.md b/docs/SecureRemoteAccess.md index 7b926a22..e6c69a7b 100644 --- a/docs/SecureRemoteAccess.md +++ b/docs/SecureRemoteAccess.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **enable** | **Boolean** | | [optional] **endpoint** | **String** | | [optional] **host** | **List<String>** | | [optional] +**hostProviderType** | **String** | | [optional] **isCli** | **Boolean** | | [optional] **isWeb** | **Boolean** | | [optional] **isolated** | **Boolean** | | [optional] @@ -33,6 +34,7 @@ Name | Type | Description | Notes **sshPassword** | **Boolean** | | [optional] **sshPrivateKey** | **Boolean** | | [optional] **sshUser** | **String** | | [optional] +**targetHosts** | [**List<TargetNameWithHosts>**](TargetNameWithHosts.md) | | [optional] **url** | **String** | | [optional] **useInternalBastion** | **Boolean** | | [optional] **webProxy** | **Boolean** | | [optional] diff --git a/docs/TargetItemAssociation.md b/docs/TargetItemAssociation.md index ae53497b..f8e4dbac 100644 --- a/docs/TargetItemAssociation.md +++ b/docs/TargetItemAssociation.md @@ -2,7 +2,7 @@ # TargetItemAssociation -TargetItemAssociation includes details of an association between a target and an item. +TargetItemAssociation includes details of an association between a target and an item. Also, between targets in case of CredentialsLess target or Linked target. ## Properties diff --git a/docs/TargetNameWithHosts.md b/docs/TargetNameWithHosts.md new file mode 100644 index 00000000..2e4846ec --- /dev/null +++ b/docs/TargetNameWithHosts.md @@ -0,0 +1,14 @@ + + +# TargetNameWithHosts + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hosts** | **List<String>** | | [optional] +**targetName** | **String** | | [optional] + + + diff --git a/docs/UpdateAccountSettings.md b/docs/UpdateAccountSettings.md index 01b57b5b..e39efa7d 100644 --- a/docs/UpdateAccountSettings.md +++ b/docs/UpdateAccountSettings.md @@ -29,6 +29,9 @@ Name | Type | Description | Notes **postalCode** | **String** | Postal code | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**usageEventEnable** | **String** | Enable event for objects that have not been used or changed [true/false] | [optional] +**usageEventInterval** | **Long** | Interval by days for unused objects. Default and minimum interval is 90 days | [optional] +**usageEventObjectType** | **String** | Usage event is supported for auth method or secrets-and-keys [auth/item] | [optional] **useLowerLetters** | **String** | Password must contain lower case letters [true/false] | [optional] **useNumbers** | **String** | Password must contain numbers [true/false] | [optional] **useSpecialCharacters** | **String** | Password must contain special characters [true/false] | [optional] diff --git a/docs/UpdateEventForwarder.md b/docs/UpdateEventForwarder.md index 2766b9cd..4a89eced 100644 --- a/docs/UpdateEventForwarder.md +++ b/docs/UpdateEventForwarder.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **adminName** | **String** | Workstation Admin Name | [optional] +**authType** | **String** | The authentication type to use when connecting to ServiceNow (user-pass / jwt) | [optional] +**clientId** | **String** | The client ID to use when connecting to ServiceNow with jwt authentication | [optional] **description** | **String** | Description of the object | [optional] **emailTo** | **String** | A comma seperated list of email addresses to send event to (relevant only for \"email\" Event Forwarder) | [optional] **enable** | **String** | Enable/Disable Event Forwarder [true/false] | [optional] @@ -20,6 +22,7 @@ Name | Type | Description | Notes **newName** | **String** | New EventForwarder name | [optional] **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] **uidToken** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] +**userEmail** | **String** | The user email to use when connecting to ServiceNow with jwt authentication | [optional] diff --git a/docs/UpdateSSHCertIssuer.md b/docs/UpdateSSHCertIssuer.md index 1d378d24..9c24dfd2 100644 --- a/docs/UpdateSSHCertIssuer.md +++ b/docs/UpdateSSHCertIssuer.md @@ -7,11 +7,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**sshCertIssuerHostProvider** | **String** | | [optional] **addTag** | **List<String>** | List of the new tags that will be attached to this item | [optional] **allowedUsers** | **String** | Users allowed to fetch the certificate, e.g root,ubuntu | **deleteProtection** | **String** | Protection from accidental deletion of this item [true/false] | [optional] **description** | **String** | Description of the object | [optional] **extensions** | **Map<String, String>** | Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\" | [optional] +**hostProvider** | **String** | Host provider type [explicit/target] | [optional] **json** | **Boolean** | Set output format to JSON | [optional] **metadata** | **String** | Deprecated - use description | [optional] **name** | **String** | SSH certificate issuer name | diff --git a/docs/UsageEventSetting.md b/docs/UsageEventSetting.md new file mode 100644 index 00000000..0d6463c2 --- /dev/null +++ b/docs/UsageEventSetting.md @@ -0,0 +1,15 @@ + + +# UsageEventSetting + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enable** | **Boolean** | | [optional] +**enableTime** | **OffsetDateTime** | | [optional] +**intervalByDays** | **Long** | | [optional] + + + diff --git a/docs/V2Api.md b/docs/V2Api.md index 93454920..697ae5aa 100644 --- a/docs/V2Api.md +++ b/docs/V2Api.md @@ -5395,7 +5395,7 @@ public class Example { defaultClient.setBasePath("https://api.akeyless.io"); V2Api apiInstance = new V2Api(defaultClient); - EsmUpdate body = new EsmUpdate(); // EsmUpdate | + EsmCreate body = new EsmCreate(); // EsmCreate | try { EsmCreateSecretOutput result = apiInstance.esmCreate(body); System.out.println(result); @@ -5414,7 +5414,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**EsmUpdate**](EsmUpdate.md)| | + **body** | [**EsmCreate**](EsmCreate.md)| | ### Return type @@ -5620,7 +5620,7 @@ No authorization required # **esmUpdate** -> EsmUpdateSecretOutput esmUpdate() +> EsmUpdateSecretOutput esmUpdate(body) @@ -5639,8 +5639,9 @@ public class Example { defaultClient.setBasePath("https://api.akeyless.io"); V2Api apiInstance = new V2Api(defaultClient); + EsmUpdate body = new EsmUpdate(); // EsmUpdate | try { - EsmUpdateSecretOutput result = apiInstance.esmUpdate(); + EsmUpdateSecretOutput result = apiInstance.esmUpdate(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling V2Api#esmUpdate"); @@ -5654,7 +5655,10 @@ public class Example { ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**EsmUpdate**](EsmUpdate.md)| | ### Return type @@ -5666,7 +5670,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details diff --git a/docs/WindowsService.md b/docs/WindowsService.md new file mode 100644 index 00000000..44af7047 --- /dev/null +++ b/docs/WindowsService.md @@ -0,0 +1,15 @@ + + +# WindowsService + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**WindowsServiceAttributes**](WindowsServiceAttributes.md) | | [optional] +**host** | **String** | | [optional] +**name** | **String** | | [optional] + + + diff --git a/docs/WindowsServiceAttributes.md b/docs/WindowsServiceAttributes.md new file mode 100644 index 00000000..67ee0dda --- /dev/null +++ b/docs/WindowsServiceAttributes.md @@ -0,0 +1,15 @@ + + +# WindowsServiceAttributes + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**connectionType** | **String** | | [optional] +**port** | **String** | | [optional] +**useTls** | **Boolean** | | [optional] + + + diff --git a/pom.xml b/pom.xml index f0f92130..a477e437 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ akeyless-java jar akeyless-java - 3.5.0 + 3.5.1 https://github.com/akeylesslabs/akeyless-java Akeyless Java SDK diff --git a/src/main/java/io/akeyless/client/ApiClient.java b/src/main/java/io/akeyless/client/ApiClient.java index 56c234a3..1986d5d4 100644 --- a/src/main/java/io/akeyless/client/ApiClient.java +++ b/src/main/java/io/akeyless/client/ApiClient.java @@ -129,7 +129,7 @@ private void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/3.5.0/java"); + setUserAgent("OpenAPI-Generator/3.5.1/java"); authentications = new HashMap(); } diff --git a/src/main/java/io/akeyless/client/api/V2Api.java b/src/main/java/io/akeyless/client/api/V2Api.java index 6a647337..3684023d 100644 --- a/src/main/java/io/akeyless/client/api/V2Api.java +++ b/src/main/java/io/akeyless/client/api/V2Api.java @@ -183,6 +183,7 @@ import io.akeyless.client.model.EncryptGPGOutput; import io.akeyless.client.model.EncryptOutput; import io.akeyless.client.model.EncryptWithClassicKey; +import io.akeyless.client.model.EsmCreate; import io.akeyless.client.model.EsmCreateSecretOutput; import io.akeyless.client.model.EsmDelete; import io.akeyless.client.model.EsmDeleteSecretOutput; @@ -11506,7 +11507,7 @@ public okhttp3.Call encryptWithClassicKeyAsync(EncryptWithClassicKey body, final 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public okhttp3.Call esmCreateCall(EsmUpdate body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call esmCreateCall(EsmCreate body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -11553,7 +11554,7 @@ public okhttp3.Call esmCreateCall(EsmUpdate body, final ApiCallback _callback) t } @SuppressWarnings("rawtypes") - private okhttp3.Call esmCreateValidateBeforeCall(EsmUpdate body, final ApiCallback _callback) throws ApiException { + private okhttp3.Call esmCreateValidateBeforeCall(EsmCreate body, final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { @@ -11579,7 +11580,7 @@ private okhttp3.Call esmCreateValidateBeforeCall(EsmUpdate body, final ApiCallba 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public EsmCreateSecretOutput esmCreate(EsmUpdate body) throws ApiException { + public EsmCreateSecretOutput esmCreate(EsmCreate body) throws ApiException { ApiResponse localVarResp = esmCreateWithHttpInfo(body); return localVarResp.getData(); } @@ -11597,7 +11598,7 @@ public EsmCreateSecretOutput esmCreate(EsmUpdate body) throws ApiException { 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public ApiResponse esmCreateWithHttpInfo(EsmUpdate body) throws ApiException { + public ApiResponse esmCreateWithHttpInfo(EsmCreate body) throws ApiException { okhttp3.Call localVarCall = esmCreateValidateBeforeCall(body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -11617,7 +11618,7 @@ public ApiResponse esmCreateWithHttpInfo(EsmUpdate body) 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public okhttp3.Call esmCreateAsync(EsmUpdate body, final ApiCallback _callback) throws ApiException { + public okhttp3.Call esmCreateAsync(EsmCreate body, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = esmCreateValidateBeforeCall(body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -12019,6 +12020,7 @@ public okhttp3.Call esmListAsync(EsmList body, final ApiCallback 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public okhttp3.Call esmUpdateCall(final ApiCallback _callback) throws ApiException { + public okhttp3.Call esmUpdateCall(EsmUpdate body, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -12044,7 +12046,7 @@ public okhttp3.Call esmUpdateCall(final ApiCallback _callback) throws ApiExcepti basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = body; // create path and map variables String localVarPath = "/esm-update"; @@ -12064,7 +12066,7 @@ public okhttp3.Call esmUpdateCall(final ApiCallback _callback) throws ApiExcepti } final String[] localVarContentTypes = { - + "application/json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -12076,10 +12078,15 @@ public okhttp3.Call esmUpdateCall(final ApiCallback _callback) throws ApiExcepti } @SuppressWarnings("rawtypes") - private okhttp3.Call esmUpdateValidateBeforeCall(final ApiCallback _callback) throws ApiException { + private okhttp3.Call esmUpdateValidateBeforeCall(EsmUpdate body, final ApiCallback _callback) throws ApiException { + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling esmUpdate(Async)"); + } - okhttp3.Call localVarCall = esmUpdateCall(_callback); + okhttp3.Call localVarCall = esmUpdateCall(body, _callback); return localVarCall; } @@ -12087,6 +12094,7 @@ private okhttp3.Call esmUpdateValidateBeforeCall(final ApiCallback _callback) th /** * * + * @param body (required) * @return EsmUpdateSecretOutput * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -12096,14 +12104,15 @@ private okhttp3.Call esmUpdateValidateBeforeCall(final ApiCallback _callback) th 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public EsmUpdateSecretOutput esmUpdate() throws ApiException { - ApiResponse localVarResp = esmUpdateWithHttpInfo(); + public EsmUpdateSecretOutput esmUpdate(EsmUpdate body) throws ApiException { + ApiResponse localVarResp = esmUpdateWithHttpInfo(body); return localVarResp.getData(); } /** * * + * @param body (required) * @return ApiResponse<EsmUpdateSecretOutput> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -12113,8 +12122,8 @@ public EsmUpdateSecretOutput esmUpdate() throws ApiException { 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public ApiResponse esmUpdateWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = esmUpdateValidateBeforeCall(null); + public ApiResponse esmUpdateWithHttpInfo(EsmUpdate body) throws ApiException { + okhttp3.Call localVarCall = esmUpdateValidateBeforeCall(body, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -12122,6 +12131,7 @@ public ApiResponse esmUpdateWithHttpInfo() throws ApiExce /** * (asynchronously) * + * @param body (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -12132,9 +12142,9 @@ public ApiResponse esmUpdateWithHttpInfo() throws ApiExce 0 errorResponse wraps any error to return it as a JSON object with one \"error\" field. - */ - public okhttp3.Call esmUpdateAsync(final ApiCallback _callback) throws ApiException { + public okhttp3.Call esmUpdateAsync(EsmUpdate body, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = esmUpdateValidateBeforeCall(_callback); + okhttp3.Call localVarCall = esmUpdateValidateBeforeCall(body, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/io/akeyless/client/model/APIKeyAccessRules.java b/src/main/java/io/akeyless/client/model/APIKeyAccessRules.java index 35ac27ce..e43f8565 100644 --- a/src/main/java/io/akeyless/client/model/APIKeyAccessRules.java +++ b/src/main/java/io/akeyless/client/model/APIKeyAccessRules.java @@ -23,6 +23,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import org.threeten.bp.OffsetDateTime; /** * APIKeyAccessRules @@ -37,6 +38,10 @@ public class APIKeyAccessRules { @SerializedName(SERIALIZED_NAME_KEY) private String key; + public static final String SERIALIZED_NAME_MODIFICATION_DATE = "modification_date"; + @SerializedName(SERIALIZED_NAME_MODIFICATION_DATE) + private OffsetDateTime modificationDate; + public APIKeyAccessRules() { } @@ -86,6 +91,29 @@ public void setKey(String key) { } + public APIKeyAccessRules modificationDate(OffsetDateTime modificationDate) { + + this.modificationDate = modificationDate; + return this; + } + + /** + * Get modificationDate + * @return modificationDate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getModificationDate() { + return modificationDate; + } + + + public void setModificationDate(OffsetDateTime modificationDate) { + this.modificationDate = modificationDate; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -96,12 +124,13 @@ public boolean equals(Object o) { } APIKeyAccessRules apIKeyAccessRules = (APIKeyAccessRules) o; return Objects.equals(this.alg, apIKeyAccessRules.alg) && - Objects.equals(this.key, apIKeyAccessRules.key); + Objects.equals(this.key, apIKeyAccessRules.key) && + Objects.equals(this.modificationDate, apIKeyAccessRules.modificationDate); } @Override public int hashCode() { - return Objects.hash(alg, key); + return Objects.hash(alg, key, modificationDate); } @Override @@ -110,6 +139,7 @@ public String toString() { sb.append("class APIKeyAccessRules {\n"); sb.append(" alg: ").append(toIndentedString(alg)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" modificationDate: ").append(toIndentedString(modificationDate)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/AccountGeneralSettings.java b/src/main/java/io/akeyless/client/model/AccountGeneralSettings.java index df7af4f5..6d0eb59a 100644 --- a/src/main/java/io/akeyless/client/model/AccountGeneralSettings.java +++ b/src/main/java/io/akeyless/client/model/AccountGeneralSettings.java @@ -23,6 +23,7 @@ import io.akeyless.client.model.DataProtectionSection; import io.akeyless.client.model.PasswordPolicyInfo; import io.akeyless.client.model.SharingPolicyInfo; +import io.akeyless.client.model.UsageEventSetting; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -41,6 +42,10 @@ public class AccountGeneralSettings { @SerializedName(SERIALIZED_NAME_ACCOUNT_DEFAULT_KEY_NAME) private String accountDefaultKeyName; + public static final String SERIALIZED_NAME_AUTH_USAGE_EVENT = "auth_usage_event"; + @SerializedName(SERIALIZED_NAME_AUTH_USAGE_EVENT) + private UsageEventSetting authUsageEvent; + public static final String SERIALIZED_NAME_DATA_PROTECTION_SECTION = "data_protection_section"; @SerializedName(SERIALIZED_NAME_DATA_PROTECTION_SECTION) private DataProtectionSection dataProtectionSection; @@ -53,6 +58,10 @@ public class AccountGeneralSettings { @SerializedName(SERIALIZED_NAME_INVALID_CHARACTERS) private String invalidCharacters; + public static final String SERIALIZED_NAME_ITEM_USAGE_EVENT = "item_usage_event"; + @SerializedName(SERIALIZED_NAME_ITEM_USAGE_EVENT) + private UsageEventSetting itemUsageEvent; + public static final String SERIALIZED_NAME_LOCK_DEFAULT_KEY = "lock_default_key"; @SerializedName(SERIALIZED_NAME_LOCK_DEFAULT_KEY) private Boolean lockDefaultKey; @@ -118,6 +127,29 @@ public void setAccountDefaultKeyName(String accountDefaultKeyName) { } + public AccountGeneralSettings authUsageEvent(UsageEventSetting authUsageEvent) { + + this.authUsageEvent = authUsageEvent; + return this; + } + + /** + * Get authUsageEvent + * @return authUsageEvent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UsageEventSetting getAuthUsageEvent() { + return authUsageEvent; + } + + + public void setAuthUsageEvent(UsageEventSetting authUsageEvent) { + this.authUsageEvent = authUsageEvent; + } + + public AccountGeneralSettings dataProtectionSection(DataProtectionSection dataProtectionSection) { this.dataProtectionSection = dataProtectionSection; @@ -187,6 +219,29 @@ public void setInvalidCharacters(String invalidCharacters) { } + public AccountGeneralSettings itemUsageEvent(UsageEventSetting itemUsageEvent) { + + this.itemUsageEvent = itemUsageEvent; + return this; + } + + /** + * Get itemUsageEvent + * @return itemUsageEvent + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public UsageEventSetting getItemUsageEvent() { + return itemUsageEvent; + } + + + public void setItemUsageEvent(UsageEventSetting itemUsageEvent) { + this.itemUsageEvent = itemUsageEvent; + } + + public AccountGeneralSettings lockDefaultKey(Boolean lockDefaultKey) { this.lockDefaultKey = lockDefaultKey; @@ -290,9 +345,11 @@ public boolean equals(Object o) { AccountGeneralSettings accountGeneralSettings = (AccountGeneralSettings) o; return Objects.equals(this.accountDefaultKeyItemId, accountGeneralSettings.accountDefaultKeyItemId) && Objects.equals(this.accountDefaultKeyName, accountGeneralSettings.accountDefaultKeyName) && + Objects.equals(this.authUsageEvent, accountGeneralSettings.authUsageEvent) && Objects.equals(this.dataProtectionSection, accountGeneralSettings.dataProtectionSection) && Objects.equals(this.enableRequestForAccess, accountGeneralSettings.enableRequestForAccess) && Objects.equals(this.invalidCharacters, accountGeneralSettings.invalidCharacters) && + Objects.equals(this.itemUsageEvent, accountGeneralSettings.itemUsageEvent) && Objects.equals(this.lockDefaultKey, accountGeneralSettings.lockDefaultKey) && Objects.equals(this.passwordPolicy, accountGeneralSettings.passwordPolicy) && Objects.equals(this.protectItemsByDefault, accountGeneralSettings.protectItemsByDefault) && @@ -301,7 +358,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountDefaultKeyItemId, accountDefaultKeyName, dataProtectionSection, enableRequestForAccess, invalidCharacters, lockDefaultKey, passwordPolicy, protectItemsByDefault, sharingPolicy); + return Objects.hash(accountDefaultKeyItemId, accountDefaultKeyName, authUsageEvent, dataProtectionSection, enableRequestForAccess, invalidCharacters, itemUsageEvent, lockDefaultKey, passwordPolicy, protectItemsByDefault, sharingPolicy); } @Override @@ -310,9 +367,11 @@ public String toString() { sb.append("class AccountGeneralSettings {\n"); sb.append(" accountDefaultKeyItemId: ").append(toIndentedString(accountDefaultKeyItemId)).append("\n"); sb.append(" accountDefaultKeyName: ").append(toIndentedString(accountDefaultKeyName)).append("\n"); + sb.append(" authUsageEvent: ").append(toIndentedString(authUsageEvent)).append("\n"); sb.append(" dataProtectionSection: ").append(toIndentedString(dataProtectionSection)).append("\n"); sb.append(" enableRequestForAccess: ").append(toIndentedString(enableRequestForAccess)).append("\n"); sb.append(" invalidCharacters: ").append(toIndentedString(invalidCharacters)).append("\n"); + sb.append(" itemUsageEvent: ").append(toIndentedString(itemUsageEvent)).append("\n"); sb.append(" lockDefaultKey: ").append(toIndentedString(lockDefaultKey)).append("\n"); sb.append(" passwordPolicy: ").append(toIndentedString(passwordPolicy)).append("\n"); sb.append(" protectItemsByDefault: ").append(toIndentedString(protectItemsByDefault)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/ActiveDirectoryPayload.java b/src/main/java/io/akeyless/client/model/ActiveDirectoryPayload.java index 166b223c..067d75c7 100644 --- a/src/main/java/io/akeyless/client/model/ActiveDirectoryPayload.java +++ b/src/main/java/io/akeyless/client/model/ActiveDirectoryPayload.java @@ -57,6 +57,10 @@ public class ActiveDirectoryPayload { @SerializedName(SERIALIZED_NAME_DISCOVER_LOCAL_USERS) private Boolean discoverLocalUsers; + public static final String SERIALIZED_NAME_DISCOVER_SERVICES = "discover_services"; + @SerializedName(SERIALIZED_NAME_DISCOVER_SERVICES) + private Boolean discoverServices; + public static final String SERIALIZED_NAME_DOMAIN_NAME = "domain_name"; @SerializedName(SERIALIZED_NAME_DOMAIN_NAME) private String domainName; @@ -246,6 +250,29 @@ public void setDiscoverLocalUsers(Boolean discoverLocalUsers) { } + public ActiveDirectoryPayload discoverServices(Boolean discoverServices) { + + this.discoverServices = discoverServices; + return this; + } + + /** + * Get discoverServices + * @return discoverServices + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getDiscoverServices() { + return discoverServices; + } + + + public void setDiscoverServices(Boolean discoverServices) { + this.discoverServices = discoverServices; + } + + public ActiveDirectoryPayload domainName(String domainName) { this.domainName = domainName; @@ -553,6 +580,7 @@ public boolean equals(Object o) { Objects.equals(this.autoRotateRotationHour, activeDirectoryPayload.autoRotateRotationHour) && Objects.equals(this.computerBaseDn, activeDirectoryPayload.computerBaseDn) && Objects.equals(this.discoverLocalUsers, activeDirectoryPayload.discoverLocalUsers) && + Objects.equals(this.discoverServices, activeDirectoryPayload.discoverServices) && Objects.equals(this.domainName, activeDirectoryPayload.domainName) && Objects.equals(this.domainServerTargetsPathTemplate, activeDirectoryPayload.domainServerTargetsPathTemplate) && Objects.equals(this.domainUsersRotatedSecretsPathTemplate, activeDirectoryPayload.domainUsersRotatedSecretsPathTemplate) && @@ -569,7 +597,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(activeDirectoryTargetId, autoRotate, autoRotateIntervalInDays, autoRotateRotationHour, computerBaseDn, discoverLocalUsers, domainName, domainServerTargetsPathTemplate, domainUsersRotatedSecretsPathTemplate, enableRdpSra, localUsersIgnoreList, localUsersRotatedSecretsPathTemplate, sshPort, targetsType, userBaseDn, userGroups, winrmOverHttp, winrmPort); + return Objects.hash(activeDirectoryTargetId, autoRotate, autoRotateIntervalInDays, autoRotateRotationHour, computerBaseDn, discoverLocalUsers, discoverServices, domainName, domainServerTargetsPathTemplate, domainUsersRotatedSecretsPathTemplate, enableRdpSra, localUsersIgnoreList, localUsersRotatedSecretsPathTemplate, sshPort, targetsType, userBaseDn, userGroups, winrmOverHttp, winrmPort); } @Override @@ -582,6 +610,7 @@ public String toString() { sb.append(" autoRotateRotationHour: ").append(toIndentedString(autoRotateRotationHour)).append("\n"); sb.append(" computerBaseDn: ").append(toIndentedString(computerBaseDn)).append("\n"); sb.append(" discoverLocalUsers: ").append(toIndentedString(discoverLocalUsers)).append("\n"); + sb.append(" discoverServices: ").append(toIndentedString(discoverServices)).append("\n"); sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n"); sb.append(" domainServerTargetsPathTemplate: ").append(toIndentedString(domainServerTargetsPathTemplate)).append("\n"); sb.append(" domainUsersRotatedSecretsPathTemplate: ").append(toIndentedString(domainUsersRotatedSecretsPathTemplate)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/CreateEventForwarder.java b/src/main/java/io/akeyless/client/model/CreateEventForwarder.java index 99e49f6e..6dfb1aed 100644 --- a/src/main/java/io/akeyless/client/model/CreateEventForwarder.java +++ b/src/main/java/io/akeyless/client/model/CreateEventForwarder.java @@ -39,6 +39,22 @@ public class CreateEventForwarder { @SerializedName(SERIALIZED_NAME_ADMIN_PWD) private String adminPwd; + public static final String SERIALIZED_NAME_APP_PRIVATE_KEY_BASE64 = "app-private-key-base64"; + @SerializedName(SERIALIZED_NAME_APP_PRIVATE_KEY_BASE64) + private String appPrivateKeyBase64; + + public static final String SERIALIZED_NAME_AUTH_TYPE = "auth-type"; + @SerializedName(SERIALIZED_NAME_AUTH_TYPE) + private String authType = "user-pass"; + + public static final String SERIALIZED_NAME_CLIENT_ID = "client-id"; + @SerializedName(SERIALIZED_NAME_CLIENT_ID) + private String clientId; + + public static final String SERIALIZED_NAME_CLIENT_SECRET = "client-secret"; + @SerializedName(SERIALIZED_NAME_CLIENT_SECRET) + private String clientSecret; + public static final String SERIALIZED_NAME_COMMENT = "comment"; @SerializedName(SERIALIZED_NAME_COMMENT) private String comment; @@ -99,6 +115,10 @@ public class CreateEventForwarder { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_USER_EMAIL = "user-email"; + @SerializedName(SERIALIZED_NAME_USER_EMAIL) + private String userEmail; + public CreateEventForwarder() { } @@ -148,6 +168,98 @@ public void setAdminPwd(String adminPwd) { } + public CreateEventForwarder appPrivateKeyBase64(String appPrivateKeyBase64) { + + this.appPrivateKeyBase64 = appPrivateKeyBase64; + return this; + } + + /** + * The RSA Private Key PEM formatted in base64 to use when connecting to ServiceNow with jwt authentication + * @return appPrivateKeyBase64 + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The RSA Private Key PEM formatted in base64 to use when connecting to ServiceNow with jwt authentication") + + public String getAppPrivateKeyBase64() { + return appPrivateKeyBase64; + } + + + public void setAppPrivateKeyBase64(String appPrivateKeyBase64) { + this.appPrivateKeyBase64 = appPrivateKeyBase64; + } + + + public CreateEventForwarder authType(String authType) { + + this.authType = authType; + return this; + } + + /** + * The authentication type to use when connecting to ServiceNow (user-pass / jwt) + * @return authType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The authentication type to use when connecting to ServiceNow (user-pass / jwt)") + + public String getAuthType() { + return authType; + } + + + public void setAuthType(String authType) { + this.authType = authType; + } + + + public CreateEventForwarder clientId(String clientId) { + + this.clientId = clientId; + return this; + } + + /** + * The client ID to use when connecting to ServiceNow with jwt authentication + * @return clientId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The client ID to use when connecting to ServiceNow with jwt authentication") + + public String getClientId() { + return clientId; + } + + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + + public CreateEventForwarder clientSecret(String clientSecret) { + + this.clientSecret = clientSecret; + return this; + } + + /** + * The client secret to use when connecting to ServiceNow with jwt authentication + * @return clientSecret + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The client secret to use when connecting to ServiceNow with jwt authentication") + + public String getClientSecret() { + return clientSecret; + } + + + public void setClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + } + + public CreateEventForwarder comment(String comment) { this.comment = comment; @@ -506,6 +618,29 @@ public void setUidToken(String uidToken) { } + public CreateEventForwarder userEmail(String userEmail) { + + this.userEmail = userEmail; + return this; + } + + /** + * The user email to use when connecting to ServiceNow with jwt authentication + * @return userEmail + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The user email to use when connecting to ServiceNow with jwt authentication") + + public String getUserEmail() { + return userEmail; + } + + + public void setUserEmail(String userEmail) { + this.userEmail = userEmail; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -517,6 +652,10 @@ public boolean equals(Object o) { CreateEventForwarder createEventForwarder = (CreateEventForwarder) o; return Objects.equals(this.adminName, createEventForwarder.adminName) && Objects.equals(this.adminPwd, createEventForwarder.adminPwd) && + Objects.equals(this.appPrivateKeyBase64, createEventForwarder.appPrivateKeyBase64) && + Objects.equals(this.authType, createEventForwarder.authType) && + Objects.equals(this.clientId, createEventForwarder.clientId) && + Objects.equals(this.clientSecret, createEventForwarder.clientSecret) && Objects.equals(this.comment, createEventForwarder.comment) && Objects.equals(this.description, createEventForwarder.description) && Objects.equals(this.emailTo, createEventForwarder.emailTo) && @@ -531,12 +670,13 @@ public boolean equals(Object o) { Objects.equals(this.name, createEventForwarder.name) && Objects.equals(this.runnerType, createEventForwarder.runnerType) && Objects.equals(this.token, createEventForwarder.token) && - Objects.equals(this.uidToken, createEventForwarder.uidToken); + Objects.equals(this.uidToken, createEventForwarder.uidToken) && + Objects.equals(this.userEmail, createEventForwarder.userEmail); } @Override public int hashCode() { - return Objects.hash(adminName, adminPwd, comment, description, emailTo, eventSourceLocations, eventSourceType, eventTypes, every, forwarderType, host, json, key, name, runnerType, token, uidToken); + return Objects.hash(adminName, adminPwd, appPrivateKeyBase64, authType, clientId, clientSecret, comment, description, emailTo, eventSourceLocations, eventSourceType, eventTypes, every, forwarderType, host, json, key, name, runnerType, token, uidToken, userEmail); } @Override @@ -545,6 +685,10 @@ public String toString() { sb.append("class CreateEventForwarder {\n"); sb.append(" adminName: ").append(toIndentedString(adminName)).append("\n"); sb.append(" adminPwd: ").append(toIndentedString(adminPwd)).append("\n"); + sb.append(" appPrivateKeyBase64: ").append(toIndentedString(appPrivateKeyBase64)).append("\n"); + sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); + sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).append("\n"); sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); @@ -560,6 +704,7 @@ public String toString() { sb.append(" runnerType: ").append(toIndentedString(runnerType)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" userEmail: ").append(toIndentedString(userEmail)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/CreateKey.java b/src/main/java/io/akeyless/client/model/CreateKey.java index 84699cf3..13f3575e 100644 --- a/src/main/java/io/akeyless/client/model/CreateKey.java +++ b/src/main/java/io/akeyless/client/model/CreateKey.java @@ -94,7 +94,7 @@ public class CreateKey { public static final String SERIALIZED_NAME_SPLIT_LEVEL = "split-level"; @SerializedName(SERIALIZED_NAME_SPLIT_LEVEL) - private Long splitLevel = 2l; + private Long splitLevel = 3l; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) diff --git a/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java b/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java index 2ebf32b8..fd771223 100644 --- a/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java +++ b/src/main/java/io/akeyless/client/model/CreateSSHCertIssuer.java @@ -33,6 +33,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class CreateSSHCertIssuer { + public static final String SERIALIZED_NAME_SSH_CERT_ISSUER_HOST_PROVIDER = "SshCertIssuerHostProvider"; + @SerializedName(SERIALIZED_NAME_SSH_CERT_ISSUER_HOST_PROVIDER) + private String sshCertIssuerHostProvider; + public static final String SERIALIZED_NAME_ALLOWED_USERS = "allowed-users"; @SerializedName(SERIALIZED_NAME_ALLOWED_USERS) private String allowedUsers; @@ -49,6 +53,10 @@ public class CreateSSHCertIssuer { @SerializedName(SERIALIZED_NAME_EXTENSIONS) private Map extensions = null; + public static final String SERIALIZED_NAME_HOST_PROVIDER = "host-provider"; + @SerializedName(SERIALIZED_NAME_HOST_PROVIDER) + private String hostProvider = "explicit"; + public static final String SERIALIZED_NAME_JSON = "json"; @SerializedName(SERIALIZED_NAME_JSON) private Boolean json = false; @@ -97,6 +105,10 @@ public class CreateSSHCertIssuer { @SerializedName(SERIALIZED_NAME_TAG) private List tag = null; + public static final String SERIALIZED_NAME_TARGET = "target"; + @SerializedName(SERIALIZED_NAME_TARGET) + private List target = null; + public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) private String token; @@ -112,6 +124,29 @@ public class CreateSSHCertIssuer { public CreateSSHCertIssuer() { } + public CreateSSHCertIssuer sshCertIssuerHostProvider(String sshCertIssuerHostProvider) { + + this.sshCertIssuerHostProvider = sshCertIssuerHostProvider; + return this; + } + + /** + * Get sshCertIssuerHostProvider + * @return sshCertIssuerHostProvider + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSshCertIssuerHostProvider() { + return sshCertIssuerHostProvider; + } + + + public void setSshCertIssuerHostProvider(String sshCertIssuerHostProvider) { + this.sshCertIssuerHostProvider = sshCertIssuerHostProvider; + } + + public CreateSSHCertIssuer allowedUsers(String allowedUsers) { this.allowedUsers = allowedUsers; @@ -212,6 +247,29 @@ public void setExtensions(Map extensions) { } + public CreateSSHCertIssuer hostProvider(String hostProvider) { + + this.hostProvider = hostProvider; + return this; + } + + /** + * Host provider type [explicit/target] + * @return hostProvider + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Host provider type [explicit/target]") + + public String getHostProvider() { + return hostProvider; + } + + + public void setHostProvider(String hostProvider) { + this.hostProvider = hostProvider; + } + + public CreateSSHCertIssuer json(Boolean json) { this.json = json; @@ -504,6 +562,37 @@ public void setTag(List tag) { } + public CreateSSHCertIssuer target(List target) { + + this.target = target; + return this; + } + + public CreateSSHCertIssuer addTargetItem(String targetItem) { + if (this.target == null) { + this.target = new ArrayList(); + } + this.target.add(targetItem); + return this; + } + + /** + * A list of existing targets to be associated, Relevant only for Secure Remote Access, To specify multiple targets use argument multiple times + * @return target + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of existing targets to be associated, Relevant only for Secure Remote Access, To specify multiple targets use argument multiple times") + + public List getTarget() { + return target; + } + + + public void setTarget(List target) { + this.target = target; + } + + public CreateSSHCertIssuer token(String token) { this.token = token; @@ -582,10 +671,12 @@ public boolean equals(Object o) { return false; } CreateSSHCertIssuer createSSHCertIssuer = (CreateSSHCertIssuer) o; - return Objects.equals(this.allowedUsers, createSSHCertIssuer.allowedUsers) && + return Objects.equals(this.sshCertIssuerHostProvider, createSSHCertIssuer.sshCertIssuerHostProvider) && + Objects.equals(this.allowedUsers, createSSHCertIssuer.allowedUsers) && Objects.equals(this.deleteProtection, createSSHCertIssuer.deleteProtection) && Objects.equals(this.description, createSSHCertIssuer.description) && Objects.equals(this.extensions, createSSHCertIssuer.extensions) && + Objects.equals(this.hostProvider, createSSHCertIssuer.hostProvider) && Objects.equals(this.json, createSSHCertIssuer.json) && Objects.equals(this.metadata, createSSHCertIssuer.metadata) && Objects.equals(this.name, createSSHCertIssuer.name) && @@ -598,6 +689,7 @@ public boolean equals(Object o) { Objects.equals(this.secureAccessUseInternalBastion, createSSHCertIssuer.secureAccessUseInternalBastion) && Objects.equals(this.signerKeyName, createSSHCertIssuer.signerKeyName) && Objects.equals(this.tag, createSSHCertIssuer.tag) && + Objects.equals(this.target, createSSHCertIssuer.target) && Objects.equals(this.token, createSSHCertIssuer.token) && Objects.equals(this.ttl, createSSHCertIssuer.ttl) && Objects.equals(this.uidToken, createSSHCertIssuer.uidToken); @@ -605,17 +697,19 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allowedUsers, deleteProtection, description, extensions, json, metadata, name, principals, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, tag, token, ttl, uidToken); + return Objects.hash(sshCertIssuerHostProvider, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, principals, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, tag, target, token, ttl, uidToken); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateSSHCertIssuer {\n"); + sb.append(" sshCertIssuerHostProvider: ").append(toIndentedString(sshCertIssuerHostProvider)).append("\n"); sb.append(" allowedUsers: ").append(toIndentedString(allowedUsers)).append("\n"); sb.append(" deleteProtection: ").append(toIndentedString(deleteProtection)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" extensions: ").append(toIndentedString(extensions)).append("\n"); + sb.append(" hostProvider: ").append(toIndentedString(hostProvider)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); @@ -628,6 +722,7 @@ public String toString() { sb.append(" secureAccessUseInternalBastion: ").append(toIndentedString(secureAccessUseInternalBastion)).append("\n"); sb.append(" signerKeyName: ").append(toIndentedString(signerKeyName)).append("\n"); sb.append(" tag: ").append(toIndentedString(tag)).append("\n"); + sb.append(" target: ").append(toIndentedString(target)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" ttl: ").append(toIndentedString(ttl)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/DeleteItems.java b/src/main/java/io/akeyless/client/model/DeleteItems.java index 624a2f3c..feaf9d02 100644 --- a/src/main/java/io/akeyless/client/model/DeleteItems.java +++ b/src/main/java/io/akeyless/client/model/DeleteItems.java @@ -23,19 +23,25 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * DeleteItems */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class DeleteItems { + public static final String SERIALIZED_NAME_ITEM = "item"; + @SerializedName(SERIALIZED_NAME_ITEM) + private List item = null; + public static final String SERIALIZED_NAME_JSON = "json"; @SerializedName(SERIALIZED_NAME_JSON) private Boolean json = false; public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) - private String path; + private String path = "dummy_path"; public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) @@ -48,6 +54,37 @@ public class DeleteItems { public DeleteItems() { } + public DeleteItems item(List item) { + + this.item = item; + return this; + } + + public DeleteItems addItemItem(String itemItem) { + if (this.item == null) { + this.item = new ArrayList(); + } + this.item.add(itemItem); + return this; + } + + /** + * A list of items to delete, To specify multiple items use argument multiple times + * @return item + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "A list of items to delete, To specify multiple items use argument multiple times") + + public List getItem() { + return item; + } + + + public void setItem(List item) { + this.item = item; + } + + public DeleteItems json(Boolean json) { this.json = json; @@ -149,7 +186,8 @@ public boolean equals(Object o) { return false; } DeleteItems deleteItems = (DeleteItems) o; - return Objects.equals(this.json, deleteItems.json) && + return Objects.equals(this.item, deleteItems.item) && + Objects.equals(this.json, deleteItems.json) && Objects.equals(this.path, deleteItems.path) && Objects.equals(this.token, deleteItems.token) && Objects.equals(this.uidToken, deleteItems.uidToken); @@ -157,13 +195,14 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(json, path, token, uidToken); + return Objects.hash(item, json, path, token, uidToken); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DeleteItems {\n"); + sb.append(" item: ").append(toIndentedString(item)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/DeleteItemsOutput.java b/src/main/java/io/akeyless/client/model/DeleteItemsOutput.java index 7cab5a22..755a1cc6 100644 --- a/src/main/java/io/akeyless/client/model/DeleteItemsOutput.java +++ b/src/main/java/io/akeyless/client/model/DeleteItemsOutput.java @@ -23,12 +23,24 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; /** * DeleteItemsOutput */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class DeleteItemsOutput { + public static final String SERIALIZED_NAME_DELETED_ITEMS = "deleted_items"; + @SerializedName(SERIALIZED_NAME_DELETED_ITEMS) + private List deletedItems = null; + + public static final String SERIALIZED_NAME_FAILED_DELETED_ITEMS = "failed_deleted_items"; + @SerializedName(SERIALIZED_NAME_FAILED_DELETED_ITEMS) + private Map failedDeletedItems = null; + public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) private String path; @@ -36,6 +48,68 @@ public class DeleteItemsOutput { public DeleteItemsOutput() { } + public DeleteItemsOutput deletedItems(List deletedItems) { + + this.deletedItems = deletedItems; + return this; + } + + public DeleteItemsOutput addDeletedItemsItem(String deletedItemsItem) { + if (this.deletedItems == null) { + this.deletedItems = new ArrayList(); + } + this.deletedItems.add(deletedItemsItem); + return this; + } + + /** + * Get deletedItems + * @return deletedItems + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getDeletedItems() { + return deletedItems; + } + + + public void setDeletedItems(List deletedItems) { + this.deletedItems = deletedItems; + } + + + public DeleteItemsOutput failedDeletedItems(Map failedDeletedItems) { + + this.failedDeletedItems = failedDeletedItems; + return this; + } + + public DeleteItemsOutput putFailedDeletedItemsItem(String key, String failedDeletedItemsItem) { + if (this.failedDeletedItems == null) { + this.failedDeletedItems = new HashMap(); + } + this.failedDeletedItems.put(key, failedDeletedItemsItem); + return this; + } + + /** + * Get failedDeletedItems + * @return failedDeletedItems + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Map getFailedDeletedItems() { + return failedDeletedItems; + } + + + public void setFailedDeletedItems(Map failedDeletedItems) { + this.failedDeletedItems = failedDeletedItems; + } + + public DeleteItemsOutput path(String path) { this.path = path; @@ -68,18 +142,22 @@ public boolean equals(Object o) { return false; } DeleteItemsOutput deleteItemsOutput = (DeleteItemsOutput) o; - return Objects.equals(this.path, deleteItemsOutput.path); + return Objects.equals(this.deletedItems, deleteItemsOutput.deletedItems) && + Objects.equals(this.failedDeletedItems, deleteItemsOutput.failedDeletedItems) && + Objects.equals(this.path, deleteItemsOutput.path); } @Override public int hashCode() { - return Objects.hash(path); + return Objects.hash(deletedItems, failedDeletedItems, path); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DeleteItemsOutput {\n"); + sb.append(" deletedItems: ").append(toIndentedString(deletedItems)).append("\n"); + sb.append(" failedDeletedItems: ").append(toIndentedString(failedDeletedItems)).append("\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/io/akeyless/client/model/DescribeItem.java b/src/main/java/io/akeyless/client/model/DescribeItem.java index 2d6972dc..efd2d947 100644 --- a/src/main/java/io/akeyless/client/model/DescribeItem.java +++ b/src/main/java/io/akeyless/client/model/DescribeItem.java @@ -29,6 +29,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class DescribeItem { + public static final String SERIALIZED_NAME_ACCESSIBILITY = "accessibility"; + @SerializedName(SERIALIZED_NAME_ACCESSIBILITY) + private String accessibility = "regular"; + public static final String SERIALIZED_NAME_BASTION_DETAILS = "bastion-details"; @SerializedName(SERIALIZED_NAME_BASTION_DETAILS) private Boolean bastionDetails = false; @@ -53,6 +57,10 @@ public class DescribeItem { @SerializedName(SERIALIZED_NAME_NAME) private String name; + public static final String SERIALIZED_NAME_SERVICES_DETAILS = "services-details"; + @SerializedName(SERIALIZED_NAME_SERVICES_DETAILS) + private Boolean servicesDetails = false; + public static final String SERIALIZED_NAME_SHOW_VERSIONS = "show-versions"; @SerializedName(SERIALIZED_NAME_SHOW_VERSIONS) private Boolean showVersions = false; @@ -68,6 +76,29 @@ public class DescribeItem { public DescribeItem() { } + public DescribeItem accessibility(String accessibility) { + + this.accessibility = accessibility; + return this; + } + + /** + * for personal password manager + * @return accessibility + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "for personal password manager") + + public String getAccessibility() { + return accessibility; + } + + + public void setAccessibility(String accessibility) { + this.accessibility = accessibility; + } + + public DescribeItem bastionDetails(Boolean bastionDetails) { this.bastionDetails = bastionDetails; @@ -206,6 +237,29 @@ public void setName(String name) { } + public DescribeItem servicesDetails(Boolean servicesDetails) { + + this.servicesDetails = servicesDetails; + return this; + } + + /** + * Include all associated services details + * @return servicesDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Include all associated services details") + + public Boolean getServicesDetails() { + return servicesDetails; + } + + + public void setServicesDetails(Boolean servicesDetails) { + this.servicesDetails = servicesDetails; + } + + public DescribeItem showVersions(Boolean showVersions) { this.showVersions = showVersions; @@ -284,12 +338,14 @@ public boolean equals(Object o) { return false; } DescribeItem describeItem = (DescribeItem) o; - return Objects.equals(this.bastionDetails, describeItem.bastionDetails) && + return Objects.equals(this.accessibility, describeItem.accessibility) && + Objects.equals(this.bastionDetails, describeItem.bastionDetails) && Objects.equals(this.displayId, describeItem.displayId) && Objects.equals(this.gatewayDetails, describeItem.gatewayDetails) && Objects.equals(this.itemId, describeItem.itemId) && Objects.equals(this.json, describeItem.json) && Objects.equals(this.name, describeItem.name) && + Objects.equals(this.servicesDetails, describeItem.servicesDetails) && Objects.equals(this.showVersions, describeItem.showVersions) && Objects.equals(this.token, describeItem.token) && Objects.equals(this.uidToken, describeItem.uidToken); @@ -297,19 +353,21 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(bastionDetails, displayId, gatewayDetails, itemId, json, name, showVersions, token, uidToken); + return Objects.hash(accessibility, bastionDetails, displayId, gatewayDetails, itemId, json, name, servicesDetails, showVersions, token, uidToken); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DescribeItem {\n"); + sb.append(" accessibility: ").append(toIndentedString(accessibility)).append("\n"); sb.append(" bastionDetails: ").append(toIndentedString(bastionDetails)).append("\n"); sb.append(" displayId: ").append(toIndentedString(displayId)).append("\n"); sb.append(" gatewayDetails: ").append(toIndentedString(gatewayDetails)).append("\n"); sb.append(" itemId: ").append(toIndentedString(itemId)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" servicesDetails: ").append(toIndentedString(servicesDetails)).append("\n"); sb.append(" showVersions: ").append(toIndentedString(showVersions)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GatewayCreateMigration.java b/src/main/java/io/akeyless/client/model/GatewayCreateMigration.java index 484c1631..5245715c 100644 --- a/src/main/java/io/akeyless/client/model/GatewayCreateMigration.java +++ b/src/main/java/io/akeyless/client/model/GatewayCreateMigration.java @@ -52,6 +52,10 @@ public class GatewayCreateMigration { @SerializedName(SERIALIZED_NAME_1PASSWORD_VAULTS) private List _1passwordVaults = null; + public static final String SERIALIZED_NAME_AD_DISCOVER_SERVICES = "ad-discover-services"; + @SerializedName(SERIALIZED_NAME_AD_DISCOVER_SERVICES) + private String adDiscoverServices = "false"; + public static final String SERIALIZED_NAME_AD_SSH_PORT = "ad-ssh-port"; @SerializedName(SERIALIZED_NAME_AD_SSH_PORT) private String adSshPort = "22"; @@ -390,6 +394,29 @@ public void set1passwordVaults(List _1passwordVaults) { } + public GatewayCreateMigration adDiscoverServices(String adDiscoverServices) { + + this.adDiscoverServices = adDiscoverServices; + return this; + } + + /** + * Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration) + * @return adDiscoverServices + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)") + + public String getAdDiscoverServices() { + return adDiscoverServices; + } + + + public void setAdDiscoverServices(String adDiscoverServices) { + this.adDiscoverServices = adDiscoverServices; + } + + public GatewayCreateMigration adSshPort(String adSshPort) { this.adSshPort = adSshPort; @@ -1655,6 +1682,7 @@ public boolean equals(Object o) { Objects.equals(this._1passwordSecretKey, gatewayCreateMigration._1passwordSecretKey) && Objects.equals(this._1passwordUrl, gatewayCreateMigration._1passwordUrl) && Objects.equals(this._1passwordVaults, gatewayCreateMigration._1passwordVaults) && + Objects.equals(this.adDiscoverServices, gatewayCreateMigration.adDiscoverServices) && Objects.equals(this.adSshPort, gatewayCreateMigration.adSshPort) && Objects.equals(this.adTargetsType, gatewayCreateMigration.adTargetsType) && Objects.equals(this.adWinrmOverHttp, gatewayCreateMigration.adWinrmOverHttp) && @@ -1712,7 +1740,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(_1passwordEmail, _1passwordPassword, _1passwordSecretKey, _1passwordUrl, _1passwordVaults, adSshPort, adTargetsType, adWinrmOverHttp, adWinrmPort, adAutoRotate, adComputerBaseDn, adDiscoverLocalUsers, adDomainName, adDomainUsersPathTemplate, adLocalUsersIgnore, adLocalUsersPathTemplate, adRotationHour, adRotationInterval, adSraEnableRdp, adTargetName, adTargetsPathTemplate, adUserBaseDn, adUserGroups, awsKey, awsKeyId, awsRegion, azureClientId, azureKvName, azureSecret, azureTenantId, gcpKey, hashiJson, hashiNs, hashiToken, hashiUrl, json, k8sCaCertificate, k8sClientCertificate, k8sClientKey, k8sNamespace, k8sPassword, k8sSkipSystem, k8sToken, k8sUrl, k8sUsername, name, protectionKey, siAutoRotate, siRotationHour, siRotationInterval, siSraEnableRdp, siTargetName, siUsersIgnore, siUsersPathTemplate, targetLocation, token, type, uidToken); + return Objects.hash(_1passwordEmail, _1passwordPassword, _1passwordSecretKey, _1passwordUrl, _1passwordVaults, adDiscoverServices, adSshPort, adTargetsType, adWinrmOverHttp, adWinrmPort, adAutoRotate, adComputerBaseDn, adDiscoverLocalUsers, adDomainName, adDomainUsersPathTemplate, adLocalUsersIgnore, adLocalUsersPathTemplate, adRotationHour, adRotationInterval, adSraEnableRdp, adTargetName, adTargetsPathTemplate, adUserBaseDn, adUserGroups, awsKey, awsKeyId, awsRegion, azureClientId, azureKvName, azureSecret, azureTenantId, gcpKey, hashiJson, hashiNs, hashiToken, hashiUrl, json, k8sCaCertificate, k8sClientCertificate, k8sClientKey, k8sNamespace, k8sPassword, k8sSkipSystem, k8sToken, k8sUrl, k8sUsername, name, protectionKey, siAutoRotate, siRotationHour, siRotationInterval, siSraEnableRdp, siTargetName, siUsersIgnore, siUsersPathTemplate, targetLocation, token, type, uidToken); } @Override @@ -1724,6 +1752,7 @@ public String toString() { sb.append(" _1passwordSecretKey: ").append(toIndentedString(_1passwordSecretKey)).append("\n"); sb.append(" _1passwordUrl: ").append(toIndentedString(_1passwordUrl)).append("\n"); sb.append(" _1passwordVaults: ").append(toIndentedString(_1passwordVaults)).append("\n"); + sb.append(" adDiscoverServices: ").append(toIndentedString(adDiscoverServices)).append("\n"); sb.append(" adSshPort: ").append(toIndentedString(adSshPort)).append("\n"); sb.append(" adTargetsType: ").append(toIndentedString(adTargetsType)).append("\n"); sb.append(" adWinrmOverHttp: ").append(toIndentedString(adWinrmOverHttp)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GatewayUpdateMigration.java b/src/main/java/io/akeyless/client/model/GatewayUpdateMigration.java index 5f083712..80a117be 100644 --- a/src/main/java/io/akeyless/client/model/GatewayUpdateMigration.java +++ b/src/main/java/io/akeyless/client/model/GatewayUpdateMigration.java @@ -52,6 +52,10 @@ public class GatewayUpdateMigration { @SerializedName(SERIALIZED_NAME_1PASSWORD_VAULTS) private List _1passwordVaults = null; + public static final String SERIALIZED_NAME_AD_DISCOVER_SERVICES = "ad-discover-services"; + @SerializedName(SERIALIZED_NAME_AD_DISCOVER_SERVICES) + private String adDiscoverServices = "false"; + public static final String SERIALIZED_NAME_AD_SSH_PORT = "ad-ssh-port"; @SerializedName(SERIALIZED_NAME_AD_SSH_PORT) private String adSshPort = "22"; @@ -394,6 +398,29 @@ public void set1passwordVaults(List _1passwordVaults) { } + public GatewayUpdateMigration adDiscoverServices(String adDiscoverServices) { + + this.adDiscoverServices = adDiscoverServices; + return this; + } + + /** + * Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration) + * @return adDiscoverServices + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)") + + public String getAdDiscoverServices() { + return adDiscoverServices; + } + + + public void setAdDiscoverServices(String adDiscoverServices) { + this.adDiscoverServices = adDiscoverServices; + } + + public GatewayUpdateMigration adSshPort(String adSshPort) { this.adSshPort = adSshPort; @@ -1682,6 +1709,7 @@ public boolean equals(Object o) { Objects.equals(this._1passwordSecretKey, gatewayUpdateMigration._1passwordSecretKey) && Objects.equals(this._1passwordUrl, gatewayUpdateMigration._1passwordUrl) && Objects.equals(this._1passwordVaults, gatewayUpdateMigration._1passwordVaults) && + Objects.equals(this.adDiscoverServices, gatewayUpdateMigration.adDiscoverServices) && Objects.equals(this.adSshPort, gatewayUpdateMigration.adSshPort) && Objects.equals(this.adTargetsType, gatewayUpdateMigration.adTargetsType) && Objects.equals(this.adWinrmOverHttp, gatewayUpdateMigration.adWinrmOverHttp) && @@ -1740,7 +1768,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(_1passwordEmail, _1passwordPassword, _1passwordSecretKey, _1passwordUrl, _1passwordVaults, adSshPort, adTargetsType, adWinrmOverHttp, adWinrmPort, adAutoRotate, adComputerBaseDn, adDiscoverLocalUsers, adDomainName, adDomainUsersPathTemplate, adLocalUsersIgnore, adLocalUsersPathTemplate, adRotationHour, adRotationInterval, adSraEnableRdp, adTargetName, adTargetsPathTemplate, adUserBaseDn, adUserGroups, awsKey, awsKeyId, awsRegion, azureClientId, azureKvName, azureSecret, azureTenantId, gcpKey, hashiJson, hashiNs, hashiToken, hashiUrl, id, json, k8sCaCertificate, k8sClientCertificate, k8sClientKey, k8sNamespace, k8sPassword, k8sSkipSystem, k8sToken, k8sUrl, k8sUsername, name, newName, protectionKey, siAutoRotate, siRotationHour, siRotationInterval, siSraEnableRdp, siTargetName, siUsersIgnore, siUsersPathTemplate, targetLocation, token, uidToken); + return Objects.hash(_1passwordEmail, _1passwordPassword, _1passwordSecretKey, _1passwordUrl, _1passwordVaults, adDiscoverServices, adSshPort, adTargetsType, adWinrmOverHttp, adWinrmPort, adAutoRotate, adComputerBaseDn, adDiscoverLocalUsers, adDomainName, adDomainUsersPathTemplate, adLocalUsersIgnore, adLocalUsersPathTemplate, adRotationHour, adRotationInterval, adSraEnableRdp, adTargetName, adTargetsPathTemplate, adUserBaseDn, adUserGroups, awsKey, awsKeyId, awsRegion, azureClientId, azureKvName, azureSecret, azureTenantId, gcpKey, hashiJson, hashiNs, hashiToken, hashiUrl, id, json, k8sCaCertificate, k8sClientCertificate, k8sClientKey, k8sNamespace, k8sPassword, k8sSkipSystem, k8sToken, k8sUrl, k8sUsername, name, newName, protectionKey, siAutoRotate, siRotationHour, siRotationInterval, siSraEnableRdp, siTargetName, siUsersIgnore, siUsersPathTemplate, targetLocation, token, uidToken); } @Override @@ -1752,6 +1780,7 @@ public String toString() { sb.append(" _1passwordSecretKey: ").append(toIndentedString(_1passwordSecretKey)).append("\n"); sb.append(" _1passwordUrl: ").append(toIndentedString(_1passwordUrl)).append("\n"); sb.append(" _1passwordVaults: ").append(toIndentedString(_1passwordVaults)).append("\n"); + sb.append(" adDiscoverServices: ").append(toIndentedString(adDiscoverServices)).append("\n"); sb.append(" adSshPort: ").append(toIndentedString(adSshPort)).append("\n"); sb.append(" adTargetsType: ").append(toIndentedString(adTargetsType)).append("\n"); sb.append(" adWinrmOverHttp: ").append(toIndentedString(adWinrmOverHttp)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GetCertificateValue.java b/src/main/java/io/akeyless/client/model/GetCertificateValue.java index ae2165ea..fb538c7f 100644 --- a/src/main/java/io/akeyless/client/model/GetCertificateValue.java +++ b/src/main/java/io/akeyless/client/model/GetCertificateValue.java @@ -33,10 +33,6 @@ public class GetCertificateValue { @SerializedName(SERIALIZED_NAME_CERT_ISSUER_NAME) private String certIssuerName; - public static final String SERIALIZED_NAME_CERTIFICATE_FILE_OUTPUT = "certificate-file-output"; - @SerializedName(SERIALIZED_NAME_CERTIFICATE_FILE_OUTPUT) - private String certificateFileOutput; - public static final String SERIALIZED_NAME_DISPLAY_ID = "display-id"; @SerializedName(SERIALIZED_NAME_DISPLAY_ID) private String displayId; @@ -57,10 +53,6 @@ public class GetCertificateValue { @SerializedName(SERIALIZED_NAME_NAME) private String name = "dummy_certificate_name"; - public static final String SERIALIZED_NAME_PRIVATE_KEY_FILE_OUTPUT = "private-key-file-output"; - @SerializedName(SERIALIZED_NAME_PRIVATE_KEY_FILE_OUTPUT) - private String privateKeyFileOutput; - public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) private String token; @@ -99,29 +91,6 @@ public void setCertIssuerName(String certIssuerName) { } - public GetCertificateValue certificateFileOutput(String certificateFileOutput) { - - this.certificateFileOutput = certificateFileOutput; - return this; - } - - /** - * File to write the certificates to. - * @return certificateFileOutput - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "File to write the certificates to.") - - public String getCertificateFileOutput() { - return certificateFileOutput; - } - - - public void setCertificateFileOutput(String certificateFileOutput) { - this.certificateFileOutput = certificateFileOutput; - } - - public GetCertificateValue displayId(String displayId) { this.displayId = displayId; @@ -237,29 +206,6 @@ public void setName(String name) { } - public GetCertificateValue privateKeyFileOutput(String privateKeyFileOutput) { - - this.privateKeyFileOutput = privateKeyFileOutput; - return this; - } - - /** - * File to write the private key to. - * @return privateKeyFileOutput - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "File to write the private key to.") - - public String getPrivateKeyFileOutput() { - return privateKeyFileOutput; - } - - - public void setPrivateKeyFileOutput(String privateKeyFileOutput) { - this.privateKeyFileOutput = privateKeyFileOutput; - } - - public GetCertificateValue token(String token) { this.token = token; @@ -339,13 +285,11 @@ public boolean equals(Object o) { } GetCertificateValue getCertificateValue = (GetCertificateValue) o; return Objects.equals(this.certIssuerName, getCertificateValue.certIssuerName) && - Objects.equals(this.certificateFileOutput, getCertificateValue.certificateFileOutput) && Objects.equals(this.displayId, getCertificateValue.displayId) && Objects.equals(this.ignoreCache, getCertificateValue.ignoreCache) && Objects.equals(this.issuanceToken, getCertificateValue.issuanceToken) && Objects.equals(this.json, getCertificateValue.json) && Objects.equals(this.name, getCertificateValue.name) && - Objects.equals(this.privateKeyFileOutput, getCertificateValue.privateKeyFileOutput) && Objects.equals(this.token, getCertificateValue.token) && Objects.equals(this.uidToken, getCertificateValue.uidToken) && Objects.equals(this.version, getCertificateValue.version); @@ -353,7 +297,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(certIssuerName, certificateFileOutput, displayId, ignoreCache, issuanceToken, json, name, privateKeyFileOutput, token, uidToken, version); + return Objects.hash(certIssuerName, displayId, ignoreCache, issuanceToken, json, name, token, uidToken, version); } @Override @@ -361,13 +305,11 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetCertificateValue {\n"); sb.append(" certIssuerName: ").append(toIndentedString(certIssuerName)).append("\n"); - sb.append(" certificateFileOutput: ").append(toIndentedString(certificateFileOutput)).append("\n"); sb.append(" displayId: ").append(toIndentedString(displayId)).append("\n"); sb.append(" ignoreCache: ").append(toIndentedString(ignoreCache)).append("\n"); sb.append(" issuanceToken: ").append(toIndentedString(issuanceToken)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" privateKeyFileOutput: ").append(toIndentedString(privateKeyFileOutput)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/GwClusterIdentity.java b/src/main/java/io/akeyless/client/model/GwClusterIdentity.java index c5190b99..95715a84 100644 --- a/src/main/java/io/akeyless/client/model/GwClusterIdentity.java +++ b/src/main/java/io/akeyless/client/model/GwClusterIdentity.java @@ -32,6 +32,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class GwClusterIdentity { + public static final String SERIALIZED_NAME_ACTION_ALLOWED = "action_allowed"; + @SerializedName(SERIALIZED_NAME_ACTION_ALLOWED) + private Boolean actionAllowed; + public static final String SERIALIZED_NAME_ALLOWED = "allowed"; @SerializedName(SERIALIZED_NAME_ALLOWED) private Boolean allowed; @@ -87,6 +91,29 @@ public class GwClusterIdentity { public GwClusterIdentity() { } + public GwClusterIdentity actionAllowed(Boolean actionAllowed) { + + this.actionAllowed = actionAllowed; + return this; + } + + /** + * Get actionAllowed + * @return actionAllowed + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getActionAllowed() { + return actionAllowed; + } + + + public void setActionAllowed(Boolean actionAllowed) { + this.actionAllowed = actionAllowed; + } + + public GwClusterIdentity allowed(Boolean allowed) { this.allowed = allowed; @@ -419,7 +446,8 @@ public boolean equals(Object o) { return false; } GwClusterIdentity gwClusterIdentity = (GwClusterIdentity) o; - return Objects.equals(this.allowed, gwClusterIdentity.allowed) && + return Objects.equals(this.actionAllowed, gwClusterIdentity.actionAllowed) && + Objects.equals(this.allowed, gwClusterIdentity.allowed) && Objects.equals(this.allowedAccessIds, gwClusterIdentity.allowedAccessIds) && Objects.equals(this.clusterName, gwClusterIdentity.clusterName) && Objects.equals(this.clusterUrl, gwClusterIdentity.clusterUrl) && @@ -436,13 +464,14 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(allowed, allowedAccessIds, clusterName, clusterUrl, currentGw, customerFragmentIds, customerFragments, defaultProtectionKeyId, defaultSecretLocation, displayName, id, status, statusDescription); + return Objects.hash(actionAllowed, allowed, allowedAccessIds, clusterName, clusterUrl, currentGw, customerFragmentIds, customerFragments, defaultProtectionKeyId, defaultSecretLocation, displayName, id, status, statusDescription); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GwClusterIdentity {\n"); + sb.append(" actionAllowed: ").append(toIndentedString(actionAllowed)).append("\n"); sb.append(" allowed: ").append(toIndentedString(allowed)).append("\n"); sb.append(" allowedAccessIds: ").append(toIndentedString(allowedAccessIds)).append("\n"); sb.append(" clusterName: ").append(toIndentedString(clusterName)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/Item.java b/src/main/java/io/akeyless/client/model/Item.java index 66a1a063..3b0abdb4 100644 --- a/src/main/java/io/akeyless/client/model/Item.java +++ b/src/main/java/io/akeyless/client/model/Item.java @@ -157,6 +157,10 @@ public class Item { @SerializedName(SERIALIZED_NAME_ITEM_VERSIONS) private List itemVersions = null; + public static final String SERIALIZED_NAME_LAST_ROTATION_DATE = "last_rotation_date"; + @SerializedName(SERIALIZED_NAME_LAST_ROTATION_DATE) + private OffsetDateTime lastRotationDate; + public static final String SERIALIZED_NAME_LAST_VERSION = "last_version"; @SerializedName(SERIALIZED_NAME_LAST_VERSION) private Integer lastVersion; @@ -911,6 +915,29 @@ public void setItemVersions(List itemVersions) { } + public Item lastRotationDate(OffsetDateTime lastRotationDate) { + + this.lastRotationDate = lastRotationDate; + return this; + } + + /** + * Get lastRotationDate + * @return lastRotationDate + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getLastRotationDate() { + return lastRotationDate; + } + + + public void setLastRotationDate(OffsetDateTime lastRotationDate) { + this.lastRotationDate = lastRotationDate; + } + + public Item lastVersion(Integer lastVersion) { this.lastVersion = lastVersion; @@ -1210,6 +1237,7 @@ public boolean equals(Object o) { Objects.equals(this.itemTargetsAssoc, item.itemTargetsAssoc) && Objects.equals(this.itemType, item.itemType) && Objects.equals(this.itemVersions, item.itemVersions) && + Objects.equals(this.lastRotationDate, item.lastRotationDate) && Objects.equals(this.lastVersion, item.lastVersion) && Objects.equals(this.linkedDetails, item.linkedDetails) && Objects.equals(this.modificationDate, item.modificationDate) && @@ -1225,7 +1253,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accessDate, accessDateDisplay, accessRequestStatus, autoRotate, bastionDetails, certIssuerSignerKeyName, certificateIssueDetails, certificates, clientPermissions, creationDate, customerFragmentId, deleteProtection, deletionDate, displayId, gatewayDetails, isAccessRequestEnabled, isEnabled, itemAccessibility, itemGeneralInfo, itemId, itemMetadata, itemName, itemSize, itemState, itemSubType, itemTags, itemTargetsAssoc, itemType, itemVersions, lastVersion, linkedDetails, modificationDate, nextRotationDate, protectionKeyName, protectionKeyType, publicValue, rotationInterval, sharedBy, targetVersions, withCustomerFragment); + return Objects.hash(accessDate, accessDateDisplay, accessRequestStatus, autoRotate, bastionDetails, certIssuerSignerKeyName, certificateIssueDetails, certificates, clientPermissions, creationDate, customerFragmentId, deleteProtection, deletionDate, displayId, gatewayDetails, isAccessRequestEnabled, isEnabled, itemAccessibility, itemGeneralInfo, itemId, itemMetadata, itemName, itemSize, itemState, itemSubType, itemTags, itemTargetsAssoc, itemType, itemVersions, lastRotationDate, lastVersion, linkedDetails, modificationDate, nextRotationDate, protectionKeyName, protectionKeyType, publicValue, rotationInterval, sharedBy, targetVersions, withCustomerFragment); } @Override @@ -1261,6 +1289,7 @@ public String toString() { sb.append(" itemTargetsAssoc: ").append(toIndentedString(itemTargetsAssoc)).append("\n"); sb.append(" itemType: ").append(toIndentedString(itemType)).append("\n"); sb.append(" itemVersions: ").append(toIndentedString(itemVersions)).append("\n"); + sb.append(" lastRotationDate: ").append(toIndentedString(lastRotationDate)).append("\n"); sb.append(" lastVersion: ").append(toIndentedString(lastVersion)).append("\n"); sb.append(" linkedDetails: ").append(toIndentedString(linkedDetails)).append("\n"); sb.append(" modificationDate: ").append(toIndentedString(modificationDate)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/MigrationItems.java b/src/main/java/io/akeyless/client/model/MigrationItems.java index 17b02349..e13be0cb 100644 --- a/src/main/java/io/akeyless/client/model/MigrationItems.java +++ b/src/main/java/io/akeyless/client/model/MigrationItems.java @@ -45,6 +45,10 @@ public class MigrationItems { @SerializedName(SERIALIZED_NAME_TOTAL) private Long total; + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) + private Long updated; + public MigrationItems() { } @@ -140,6 +144,29 @@ public void setTotal(Long total) { } + public MigrationItems updated(Long updated) { + + this.updated = updated; + return this; + } + + /** + * Get updated + * @return updated + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getUpdated() { + return updated; + } + + + public void setUpdated(Long updated) { + this.updated = updated; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -152,12 +179,13 @@ public boolean equals(Object o) { return Objects.equals(this.failed, migrationItems.failed) && Objects.equals(this.migrated, migrationItems.migrated) && Objects.equals(this.skipped, migrationItems.skipped) && - Objects.equals(this.total, migrationItems.total); + Objects.equals(this.total, migrationItems.total) && + Objects.equals(this.updated, migrationItems.updated); } @Override public int hashCode() { - return Objects.hash(failed, migrated, skipped, total); + return Objects.hash(failed, migrated, skipped, total, updated); } @Override @@ -168,6 +196,7 @@ public String toString() { sb.append(" migrated: ").append(toIndentedString(migrated)).append("\n"); sb.append(" skipped: ").append(toIndentedString(skipped)).append("\n"); sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/NotiForwarder.java b/src/main/java/io/akeyless/client/model/NotiForwarder.java index e48a5349..503bd652 100644 --- a/src/main/java/io/akeyless/client/model/NotiForwarder.java +++ b/src/main/java/io/akeyless/client/model/NotiForwarder.java @@ -34,6 +34,14 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class NotiForwarder { + public static final String SERIALIZED_NAME_AUTH_TYPE = "auth_type"; + @SerializedName(SERIALIZED_NAME_AUTH_TYPE) + private String authType; + + public static final String SERIALIZED_NAME_CLIENT_ID = "client_id"; + @SerializedName(SERIALIZED_NAME_CLIENT_ID) + private String clientId; + public static final String SERIALIZED_NAME_CLIENT_PERMISSIONS = "client_permissions"; @SerializedName(SERIALIZED_NAME_CLIENT_PERMISSIONS) private List clientPermissions = null; @@ -106,6 +114,10 @@ public class NotiForwarder { @SerializedName(SERIALIZED_NAME_TO_EMAILS) private List toEmails = null; + public static final String SERIALIZED_NAME_USER_EMAIL = "user_email"; + @SerializedName(SERIALIZED_NAME_USER_EMAIL) + private String userEmail; + public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) private String username; @@ -117,6 +129,52 @@ public class NotiForwarder { public NotiForwarder() { } + public NotiForwarder authType(String authType) { + + this.authType = authType; + return this; + } + + /** + * Get authType + * @return authType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getAuthType() { + return authType; + } + + + public void setAuthType(String authType) { + this.authType = authType; + } + + + public NotiForwarder clientId(String clientId) { + + this.clientId = clientId; + return this; + } + + /** + * Auth - JWT + * @return clientId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Auth - JWT") + + public String getClientId() { + return clientId; + } + + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + public NotiForwarder clientPermissions(List clientPermissions) { this.clientPermissions = clientPermissions; @@ -571,6 +629,29 @@ public void setToEmails(List toEmails) { } + public NotiForwarder userEmail(String userEmail) { + + this.userEmail = userEmail; + return this; + } + + /** + * Get userEmail + * @return userEmail + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getUserEmail() { + return userEmail; + } + + + public void setUserEmail(String userEmail) { + this.userEmail = userEmail; + } + + public NotiForwarder username(String username) { this.username = username; @@ -578,11 +659,11 @@ public NotiForwarder username(String username) { } /** - * Get username + * Auth - User Password * @return username **/ @javax.annotation.Nullable - @ApiModelProperty(value = "") + @ApiModelProperty(value = "Auth - User Password") public String getUsername() { return username; @@ -626,7 +707,9 @@ public boolean equals(Object o) { return false; } NotiForwarder notiForwarder = (NotiForwarder) o; - return Objects.equals(this.clientPermissions, notiForwarder.clientPermissions) && + return Objects.equals(this.authType, notiForwarder.authType) && + Objects.equals(this.clientId, notiForwarder.clientId) && + Objects.equals(this.clientPermissions, notiForwarder.clientPermissions) && Objects.equals(this.comment, notiForwarder.comment) && Objects.equals(this.creationDate, notiForwarder.creationDate) && Objects.equals(this.endpoint, notiForwarder.endpoint) && @@ -644,19 +727,22 @@ public boolean equals(Object o) { Objects.equals(this.runnerType, notiForwarder.runnerType) && Objects.equals(this.timespanInSeconds, notiForwarder.timespanInSeconds) && Objects.equals(this.toEmails, notiForwarder.toEmails) && + Objects.equals(this.userEmail, notiForwarder.userEmail) && Objects.equals(this.username, notiForwarder.username) && Objects.equals(this.withCustomerFragment, notiForwarder.withCustomerFragment); } @Override public int hashCode() { - return Objects.hash(clientPermissions, comment, creationDate, endpoint, eventTypes, gatewayClusterId, isEnabled, lastVersion, modificationDate, notiForwarderId, notiForwarderName, notiForwarderType, notiForwarderVersions, paths, protectionKey, runnerType, timespanInSeconds, toEmails, username, withCustomerFragment); + return Objects.hash(authType, clientId, clientPermissions, comment, creationDate, endpoint, eventTypes, gatewayClusterId, isEnabled, lastVersion, modificationDate, notiForwarderId, notiForwarderName, notiForwarderType, notiForwarderVersions, paths, protectionKey, runnerType, timespanInSeconds, toEmails, userEmail, username, withCustomerFragment); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class NotiForwarder {\n"); + sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); sb.append(" clientPermissions: ").append(toIndentedString(clientPermissions)).append("\n"); sb.append(" comment: ").append(toIndentedString(comment)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); @@ -675,6 +761,7 @@ public String toString() { sb.append(" runnerType: ").append(toIndentedString(runnerType)).append("\n"); sb.append(" timespanInSeconds: ").append(toIndentedString(timespanInSeconds)).append("\n"); sb.append(" toEmails: ").append(toIndentedString(toEmails)).append("\n"); + sb.append(" userEmail: ").append(toIndentedString(userEmail)).append("\n"); sb.append(" username: ").append(toIndentedString(username)).append("\n"); sb.append(" withCustomerFragment: ").append(toIndentedString(withCustomerFragment)).append("\n"); sb.append("}"); diff --git a/src/main/java/io/akeyless/client/model/RotateSecret.java b/src/main/java/io/akeyless/client/model/RotateSecret.java index 62527001..f4b9f8a5 100644 --- a/src/main/java/io/akeyless/client/model/RotateSecret.java +++ b/src/main/java/io/akeyless/client/model/RotateSecret.java @@ -29,6 +29,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class RotateSecret { + public static final String SERIALIZED_NAME_ROTATE_ALL_SERVICES_BOOLEAN = "RotateAllServicesBoolean"; + @SerializedName(SERIALIZED_NAME_ROTATE_ALL_SERVICES_BOOLEAN) + private Boolean rotateAllServicesBoolean; + public static final String SERIALIZED_NAME_JSON = "json"; @SerializedName(SERIALIZED_NAME_JSON) private Boolean json = false; @@ -37,6 +41,10 @@ public class RotateSecret { @SerializedName(SERIALIZED_NAME_NAME) private String name; + public static final String SERIALIZED_NAME_ROTATE_ALL_SERVICES = "rotate-all-services"; + @SerializedName(SERIALIZED_NAME_ROTATE_ALL_SERVICES) + private String rotateAllServices = "false"; + public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) private String token; @@ -48,6 +56,29 @@ public class RotateSecret { public RotateSecret() { } + public RotateSecret rotateAllServicesBoolean(Boolean rotateAllServicesBoolean) { + + this.rotateAllServicesBoolean = rotateAllServicesBoolean; + return this; + } + + /** + * Get rotateAllServicesBoolean + * @return rotateAllServicesBoolean + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getRotateAllServicesBoolean() { + return rotateAllServicesBoolean; + } + + + public void setRotateAllServicesBoolean(Boolean rotateAllServicesBoolean) { + this.rotateAllServicesBoolean = rotateAllServicesBoolean; + } + + public RotateSecret json(Boolean json) { this.json = json; @@ -94,6 +125,29 @@ public void setName(String name) { } + public RotateSecret rotateAllServices(String rotateAllServices) { + + this.rotateAllServices = rotateAllServices; + return this; + } + + /** + * Rotate all associated services + * @return rotateAllServices + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Rotate all associated services") + + public String getRotateAllServices() { + return rotateAllServices; + } + + + public void setRotateAllServices(String rotateAllServices) { + this.rotateAllServices = rotateAllServices; + } + + public RotateSecret token(String token) { this.token = token; @@ -149,23 +203,27 @@ public boolean equals(Object o) { return false; } RotateSecret rotateSecret = (RotateSecret) o; - return Objects.equals(this.json, rotateSecret.json) && + return Objects.equals(this.rotateAllServicesBoolean, rotateSecret.rotateAllServicesBoolean) && + Objects.equals(this.json, rotateSecret.json) && Objects.equals(this.name, rotateSecret.name) && + Objects.equals(this.rotateAllServices, rotateSecret.rotateAllServices) && Objects.equals(this.token, rotateSecret.token) && Objects.equals(this.uidToken, rotateSecret.uidToken); } @Override public int hashCode() { - return Objects.hash(json, name, token, uidToken); + return Objects.hash(rotateAllServicesBoolean, json, name, rotateAllServices, token, uidToken); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class RotateSecret {\n"); + sb.append(" rotateAllServicesBoolean: ").append(toIndentedString(rotateAllServicesBoolean)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" rotateAllServices: ").append(toIndentedString(rotateAllServices)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); sb.append("}"); diff --git a/src/main/java/io/akeyless/client/model/RotatedSecretDetailsInfo.java b/src/main/java/io/akeyless/client/model/RotatedSecretDetailsInfo.java index 1ef635a9..e73520cb 100644 --- a/src/main/java/io/akeyless/client/model/RotatedSecretDetailsInfo.java +++ b/src/main/java/io/akeyless/client/model/RotatedSecretDetailsInfo.java @@ -20,9 +20,12 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.akeyless.client.model.WindowsService; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * RotatedSecretDetailsInfo The rotated secret rotator info @@ -74,6 +77,10 @@ public class RotatedSecretDetailsInfo { @SerializedName(SERIALIZED_NAME_SAME_PASSWORD) private Boolean samePassword; + public static final String SERIALIZED_NAME_SERVICES_DETAILS = "services_details"; + @SerializedName(SERIALIZED_NAME_SERVICES_DETAILS) + private List servicesDetails = null; + public RotatedSecretDetailsInfo() { } @@ -330,6 +337,37 @@ public void setSamePassword(Boolean samePassword) { } + public RotatedSecretDetailsInfo servicesDetails(List servicesDetails) { + + this.servicesDetails = servicesDetails; + return this; + } + + public RotatedSecretDetailsInfo addServicesDetailsItem(WindowsService servicesDetailsItem) { + if (this.servicesDetails == null) { + this.servicesDetails = new ArrayList(); + } + this.servicesDetails.add(servicesDetailsItem); + return this; + } + + /** + * Get servicesDetails + * @return servicesDetails + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getServicesDetails() { + return servicesDetails; + } + + + public void setServicesDetails(List servicesDetails) { + this.servicesDetails = servicesDetails; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -349,12 +387,13 @@ public boolean equals(Object o) { Objects.equals(this.rotatorCredsType, rotatedSecretDetailsInfo.rotatorCredsType) && Objects.equals(this.rotatorStatus, rotatedSecretDetailsInfo.rotatorStatus) && Objects.equals(this.rotatorType, rotatedSecretDetailsInfo.rotatorType) && - Objects.equals(this.samePassword, rotatedSecretDetailsInfo.samePassword); + Objects.equals(this.samePassword, rotatedSecretDetailsInfo.samePassword) && + Objects.equals(this.servicesDetails, rotatedSecretDetailsInfo.servicesDetails); } @Override public int hashCode() { - return Objects.hash(deletePreviousVersionInDays, gwClusterId, lastRotationError, numberOfVersionsToSave, rotationHour, rotationIntervalMin, rotationStatement, rotatorCredsType, rotatorStatus, rotatorType, samePassword); + return Objects.hash(deletePreviousVersionInDays, gwClusterId, lastRotationError, numberOfVersionsToSave, rotationHour, rotationIntervalMin, rotationStatement, rotatorCredsType, rotatorStatus, rotatorType, samePassword, servicesDetails); } @Override @@ -372,6 +411,7 @@ public String toString() { sb.append(" rotatorStatus: ").append(toIndentedString(rotatorStatus)).append("\n"); sb.append(" rotatorType: ").append(toIndentedString(rotatorType)).append("\n"); sb.append(" samePassword: ").append(toIndentedString(samePassword)).append("\n"); + sb.append(" servicesDetails: ").append(toIndentedString(servicesDetails)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java b/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java index 20a94f6c..ca474468 100644 --- a/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java +++ b/src/main/java/io/akeyless/client/model/SecureRemoteAccess.java @@ -20,6 +20,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import io.akeyless.client.model.TargetNameWithHosts; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; @@ -87,6 +88,10 @@ public class SecureRemoteAccess { @SerializedName(SERIALIZED_NAME_HOST) private List host = null; + public static final String SERIALIZED_NAME_HOST_PROVIDER_TYPE = "host_provider_type"; + @SerializedName(SERIALIZED_NAME_HOST_PROVIDER_TYPE) + private String hostProviderType; + public static final String SERIALIZED_NAME_IS_CLI = "is_cli"; @SerializedName(SERIALIZED_NAME_IS_CLI) private Boolean isCli; @@ -135,6 +140,10 @@ public class SecureRemoteAccess { @SerializedName(SERIALIZED_NAME_SSH_USER) private String sshUser; + public static final String SERIALIZED_NAME_TARGET_HOSTS = "target_hosts"; + @SerializedName(SERIALIZED_NAME_TARGET_HOSTS) + private List targetHosts = null; + public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) private String url; @@ -480,6 +489,29 @@ public void setHost(List host) { } + public SecureRemoteAccess hostProviderType(String hostProviderType) { + + this.hostProviderType = hostProviderType; + return this; + } + + /** + * Get hostProviderType + * @return hostProviderType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getHostProviderType() { + return hostProviderType; + } + + + public void setHostProviderType(String hostProviderType) { + this.hostProviderType = hostProviderType; + } + + public SecureRemoteAccess isCli(Boolean isCli) { this.isCli = isCli; @@ -756,6 +788,37 @@ public void setSshUser(String sshUser) { } + public SecureRemoteAccess targetHosts(List targetHosts) { + + this.targetHosts = targetHosts; + return this; + } + + public SecureRemoteAccess addTargetHostsItem(TargetNameWithHosts targetHostsItem) { + if (this.targetHosts == null) { + this.targetHosts = new ArrayList(); + } + this.targetHosts.add(targetHostsItem); + return this; + } + + /** + * Get targetHosts + * @return targetHosts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getTargetHosts() { + return targetHosts; + } + + + public void setTargetHosts(List targetHosts) { + this.targetHosts = targetHosts; + } + + public SecureRemoteAccess url(String url) { this.url = url; @@ -848,6 +911,7 @@ public boolean equals(Object o) { Objects.equals(this.enable, secureRemoteAccess.enable) && Objects.equals(this.endpoint, secureRemoteAccess.endpoint) && Objects.equals(this.host, secureRemoteAccess.host) && + Objects.equals(this.hostProviderType, secureRemoteAccess.hostProviderType) && Objects.equals(this.isCli, secureRemoteAccess.isCli) && Objects.equals(this.isWeb, secureRemoteAccess.isWeb) && Objects.equals(this.isolated, secureRemoteAccess.isolated) && @@ -860,6 +924,7 @@ public boolean equals(Object o) { Objects.equals(this.sshPassword, secureRemoteAccess.sshPassword) && Objects.equals(this.sshPrivateKey, secureRemoteAccess.sshPrivateKey) && Objects.equals(this.sshUser, secureRemoteAccess.sshUser) && + Objects.equals(this.targetHosts, secureRemoteAccess.targetHosts) && Objects.equals(this.url, secureRemoteAccess.url) && Objects.equals(this.useInternalBastion, secureRemoteAccess.useInternalBastion) && Objects.equals(this.webProxy, secureRemoteAccess.webProxy); @@ -867,7 +932,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(accountId, allowPortForwarding, allowProvidingExternalUsername, bastionApi, bastionIssuer, bastionIssuerId, bastionSsh, category, dashboardUrl, dbName, domain, enable, endpoint, host, isCli, isWeb, isolated, _native, rdGatewayServer, rdpUser, region, rotateAfterDisconnect, schema, sshPassword, sshPrivateKey, sshUser, url, useInternalBastion, webProxy); + return Objects.hash(accountId, allowPortForwarding, allowProvidingExternalUsername, bastionApi, bastionIssuer, bastionIssuerId, bastionSsh, category, dashboardUrl, dbName, domain, enable, endpoint, host, hostProviderType, isCli, isWeb, isolated, _native, rdGatewayServer, rdpUser, region, rotateAfterDisconnect, schema, sshPassword, sshPrivateKey, sshUser, targetHosts, url, useInternalBastion, webProxy); } @Override @@ -888,6 +953,7 @@ public String toString() { sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); sb.append(" endpoint: ").append(toIndentedString(endpoint)).append("\n"); sb.append(" host: ").append(toIndentedString(host)).append("\n"); + sb.append(" hostProviderType: ").append(toIndentedString(hostProviderType)).append("\n"); sb.append(" isCli: ").append(toIndentedString(isCli)).append("\n"); sb.append(" isWeb: ").append(toIndentedString(isWeb)).append("\n"); sb.append(" isolated: ").append(toIndentedString(isolated)).append("\n"); @@ -900,6 +966,7 @@ public String toString() { sb.append(" sshPassword: ").append(toIndentedString(sshPassword)).append("\n"); sb.append(" sshPrivateKey: ").append(toIndentedString(sshPrivateKey)).append("\n"); sb.append(" sshUser: ").append(toIndentedString(sshUser)).append("\n"); + sb.append(" targetHosts: ").append(toIndentedString(targetHosts)).append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" useInternalBastion: ").append(toIndentedString(useInternalBastion)).append("\n"); sb.append(" webProxy: ").append(toIndentedString(webProxy)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/TargetItemAssociation.java b/src/main/java/io/akeyless/client/model/TargetItemAssociation.java index cf53573b..528b02d1 100644 --- a/src/main/java/io/akeyless/client/model/TargetItemAssociation.java +++ b/src/main/java/io/akeyless/client/model/TargetItemAssociation.java @@ -28,9 +28,9 @@ import java.util.Map; /** - * TargetItemAssociation includes details of an association between a target and an item. + * TargetItemAssociation includes details of an association between a target and an item. Also, between targets in case of CredentialsLess target or Linked target. */ -@ApiModel(description = "TargetItemAssociation includes details of an association between a target and an item.") +@ApiModel(description = "TargetItemAssociation includes details of an association between a target and an item. Also, between targets in case of CredentialsLess target or Linked target.") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class TargetItemAssociation { public static final String SERIALIZED_NAME_ASSOC_ID = "assoc_id"; diff --git a/src/main/java/io/akeyless/client/model/TargetNameWithHosts.java b/src/main/java/io/akeyless/client/model/TargetNameWithHosts.java new file mode 100644 index 00000000..80f1f346 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/TargetNameWithHosts.java @@ -0,0 +1,139 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * TargetNameWithHosts + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class TargetNameWithHosts { + public static final String SERIALIZED_NAME_HOSTS = "hosts"; + @SerializedName(SERIALIZED_NAME_HOSTS) + private List hosts = null; + + public static final String SERIALIZED_NAME_TARGET_NAME = "target_name"; + @SerializedName(SERIALIZED_NAME_TARGET_NAME) + private String targetName; + + public TargetNameWithHosts() { + } + + public TargetNameWithHosts hosts(List hosts) { + + this.hosts = hosts; + return this; + } + + public TargetNameWithHosts addHostsItem(String hostsItem) { + if (this.hosts == null) { + this.hosts = new ArrayList(); + } + this.hosts.add(hostsItem); + return this; + } + + /** + * Get hosts + * @return hosts + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public List getHosts() { + return hosts; + } + + + public void setHosts(List hosts) { + this.hosts = hosts; + } + + + public TargetNameWithHosts targetName(String targetName) { + + this.targetName = targetName; + return this; + } + + /** + * Get targetName + * @return targetName + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getTargetName() { + return targetName; + } + + + public void setTargetName(String targetName) { + this.targetName = targetName; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TargetNameWithHosts targetNameWithHosts = (TargetNameWithHosts) o; + return Objects.equals(this.hosts, targetNameWithHosts.hosts) && + Objects.equals(this.targetName, targetNameWithHosts.targetName); + } + + @Override + public int hashCode() { + return Objects.hash(hosts, targetName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TargetNameWithHosts {\n"); + sb.append(" hosts: ").append(toIndentedString(hosts)).append("\n"); + sb.append(" targetName: ").append(toIndentedString(targetName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/UpdateAccountSettings.java b/src/main/java/io/akeyless/client/model/UpdateAccountSettings.java index 0e54868e..1bbccb82 100644 --- a/src/main/java/io/akeyless/client/model/UpdateAccountSettings.java +++ b/src/main/java/io/akeyless/client/model/UpdateAccountSettings.java @@ -117,6 +117,18 @@ public class UpdateAccountSettings { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_USAGE_EVENT_ENABLE = "usage-event-enable"; + @SerializedName(SERIALIZED_NAME_USAGE_EVENT_ENABLE) + private String usageEventEnable; + + public static final String SERIALIZED_NAME_USAGE_EVENT_INTERVAL = "usage-event-interval"; + @SerializedName(SERIALIZED_NAME_USAGE_EVENT_INTERVAL) + private Long usageEventInterval; + + public static final String SERIALIZED_NAME_USAGE_EVENT_OBJECT_TYPE = "usage-event-object-type"; + @SerializedName(SERIALIZED_NAME_USAGE_EVENT_OBJECT_TYPE) + private String usageEventObjectType; + public static final String SERIALIZED_NAME_USE_LOWER_LETTERS = "use-lower-letters"; @SerializedName(SERIALIZED_NAME_USE_LOWER_LETTERS) private String useLowerLetters; @@ -642,6 +654,75 @@ public void setUidToken(String uidToken) { } + public UpdateAccountSettings usageEventEnable(String usageEventEnable) { + + this.usageEventEnable = usageEventEnable; + return this; + } + + /** + * Enable event for objects that have not been used or changed [true/false] + * @return usageEventEnable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Enable event for objects that have not been used or changed [true/false]") + + public String getUsageEventEnable() { + return usageEventEnable; + } + + + public void setUsageEventEnable(String usageEventEnable) { + this.usageEventEnable = usageEventEnable; + } + + + public UpdateAccountSettings usageEventInterval(Long usageEventInterval) { + + this.usageEventInterval = usageEventInterval; + return this; + } + + /** + * Interval by days for unused objects. Default and minimum interval is 90 days + * @return usageEventInterval + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Interval by days for unused objects. Default and minimum interval is 90 days") + + public Long getUsageEventInterval() { + return usageEventInterval; + } + + + public void setUsageEventInterval(Long usageEventInterval) { + this.usageEventInterval = usageEventInterval; + } + + + public UpdateAccountSettings usageEventObjectType(String usageEventObjectType) { + + this.usageEventObjectType = usageEventObjectType; + return this; + } + + /** + * Usage event is supported for auth method or secrets-and-keys [auth/item] + * @return usageEventObjectType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Usage event is supported for auth method or secrets-and-keys [auth/item]") + + public String getUsageEventObjectType() { + return usageEventObjectType; + } + + + public void setUsageEventObjectType(String usageEventObjectType) { + this.usageEventObjectType = usageEventObjectType; + } + + public UpdateAccountSettings useLowerLetters(String useLowerLetters) { this.useLowerLetters = useLowerLetters; @@ -765,6 +846,9 @@ public boolean equals(Object o) { Objects.equals(this.postalCode, updateAccountSettings.postalCode) && Objects.equals(this.token, updateAccountSettings.token) && Objects.equals(this.uidToken, updateAccountSettings.uidToken) && + Objects.equals(this.usageEventEnable, updateAccountSettings.usageEventEnable) && + Objects.equals(this.usageEventInterval, updateAccountSettings.usageEventInterval) && + Objects.equals(this.usageEventObjectType, updateAccountSettings.usageEventObjectType) && Objects.equals(this.useLowerLetters, updateAccountSettings.useLowerLetters) && Objects.equals(this.useNumbers, updateAccountSettings.useNumbers) && Objects.equals(this.useSpecialCharacters, updateAccountSettings.useSpecialCharacters) && @@ -773,7 +857,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(address, city, companyName, country, defaultKeyName, defaultShareLinkTtlMinutes, defaultVersioning, dpEnableClassicKeyProtection, invalidCharacters, itemType, itemsDeletionProtection, json, jwtTtlDefault, jwtTtlMax, jwtTtlMin, lockDefaultKey, maxVersions, passwordLength, phone, postalCode, token, uidToken, useLowerLetters, useNumbers, useSpecialCharacters, useCapitalLetters); + return Objects.hash(address, city, companyName, country, defaultKeyName, defaultShareLinkTtlMinutes, defaultVersioning, dpEnableClassicKeyProtection, invalidCharacters, itemType, itemsDeletionProtection, json, jwtTtlDefault, jwtTtlMax, jwtTtlMin, lockDefaultKey, maxVersions, passwordLength, phone, postalCode, token, uidToken, usageEventEnable, usageEventInterval, usageEventObjectType, useLowerLetters, useNumbers, useSpecialCharacters, useCapitalLetters); } @Override @@ -802,6 +886,9 @@ public String toString() { sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" usageEventEnable: ").append(toIndentedString(usageEventEnable)).append("\n"); + sb.append(" usageEventInterval: ").append(toIndentedString(usageEventInterval)).append("\n"); + sb.append(" usageEventObjectType: ").append(toIndentedString(usageEventObjectType)).append("\n"); sb.append(" useLowerLetters: ").append(toIndentedString(useLowerLetters)).append("\n"); sb.append(" useNumbers: ").append(toIndentedString(useNumbers)).append("\n"); sb.append(" useSpecialCharacters: ").append(toIndentedString(useSpecialCharacters)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/UpdateEventForwarder.java b/src/main/java/io/akeyless/client/model/UpdateEventForwarder.java index e342cc8d..62a51e5c 100644 --- a/src/main/java/io/akeyless/client/model/UpdateEventForwarder.java +++ b/src/main/java/io/akeyless/client/model/UpdateEventForwarder.java @@ -35,6 +35,14 @@ public class UpdateEventForwarder { @SerializedName(SERIALIZED_NAME_ADMIN_NAME) private String adminName; + public static final String SERIALIZED_NAME_AUTH_TYPE = "auth-type"; + @SerializedName(SERIALIZED_NAME_AUTH_TYPE) + private String authType = "user-pass"; + + public static final String SERIALIZED_NAME_CLIENT_ID = "client-id"; + @SerializedName(SERIALIZED_NAME_CLIENT_ID) + private String clientId; + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) private String description = "default_comment"; @@ -83,6 +91,10 @@ public class UpdateEventForwarder { @SerializedName(SERIALIZED_NAME_UID_TOKEN) private String uidToken; + public static final String SERIALIZED_NAME_USER_EMAIL = "user-email"; + @SerializedName(SERIALIZED_NAME_USER_EMAIL) + private String userEmail; + public UpdateEventForwarder() { } @@ -109,6 +121,52 @@ public void setAdminName(String adminName) { } + public UpdateEventForwarder authType(String authType) { + + this.authType = authType; + return this; + } + + /** + * The authentication type to use when connecting to ServiceNow (user-pass / jwt) + * @return authType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The authentication type to use when connecting to ServiceNow (user-pass / jwt)") + + public String getAuthType() { + return authType; + } + + + public void setAuthType(String authType) { + this.authType = authType; + } + + + public UpdateEventForwarder clientId(String clientId) { + + this.clientId = clientId; + return this; + } + + /** + * The client ID to use when connecting to ServiceNow with jwt authentication + * @return clientId + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The client ID to use when connecting to ServiceNow with jwt authentication") + + public String getClientId() { + return clientId; + } + + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + public UpdateEventForwarder description(String description) { this.description = description; @@ -401,6 +459,29 @@ public void setUidToken(String uidToken) { } + public UpdateEventForwarder userEmail(String userEmail) { + + this.userEmail = userEmail; + return this; + } + + /** + * The user email to use when connecting to ServiceNow with jwt authentication + * @return userEmail + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "The user email to use when connecting to ServiceNow with jwt authentication") + + public String getUserEmail() { + return userEmail; + } + + + public void setUserEmail(String userEmail) { + this.userEmail = userEmail; + } + + @Override public boolean equals(Object o) { if (this == o) { @@ -411,6 +492,8 @@ public boolean equals(Object o) { } UpdateEventForwarder updateEventForwarder = (UpdateEventForwarder) o; return Objects.equals(this.adminName, updateEventForwarder.adminName) && + Objects.equals(this.authType, updateEventForwarder.authType) && + Objects.equals(this.clientId, updateEventForwarder.clientId) && Objects.equals(this.description, updateEventForwarder.description) && Objects.equals(this.emailTo, updateEventForwarder.emailTo) && Objects.equals(this.enable, updateEventForwarder.enable) && @@ -422,12 +505,13 @@ public boolean equals(Object o) { Objects.equals(this.newComment, updateEventForwarder.newComment) && Objects.equals(this.newName, updateEventForwarder.newName) && Objects.equals(this.token, updateEventForwarder.token) && - Objects.equals(this.uidToken, updateEventForwarder.uidToken); + Objects.equals(this.uidToken, updateEventForwarder.uidToken) && + Objects.equals(this.userEmail, updateEventForwarder.userEmail); } @Override public int hashCode() { - return Objects.hash(adminName, description, emailTo, enable, eventSourceLocations, eventTypes, host, json, name, newComment, newName, token, uidToken); + return Objects.hash(adminName, authType, clientId, description, emailTo, enable, eventSourceLocations, eventTypes, host, json, name, newComment, newName, token, uidToken, userEmail); } @Override @@ -435,6 +519,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateEventForwarder {\n"); sb.append(" adminName: ").append(toIndentedString(adminName)).append("\n"); + sb.append(" authType: ").append(toIndentedString(authType)).append("\n"); + sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" emailTo: ").append(toIndentedString(emailTo)).append("\n"); sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); @@ -447,6 +533,7 @@ public String toString() { sb.append(" newName: ").append(toIndentedString(newName)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" uidToken: ").append(toIndentedString(uidToken)).append("\n"); + sb.append(" userEmail: ").append(toIndentedString(userEmail)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java b/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java index ce883252..0922d04b 100644 --- a/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java +++ b/src/main/java/io/akeyless/client/model/UpdateSSHCertIssuer.java @@ -33,6 +33,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateSSHCertIssuer { + public static final String SERIALIZED_NAME_SSH_CERT_ISSUER_HOST_PROVIDER = "SshCertIssuerHostProvider"; + @SerializedName(SERIALIZED_NAME_SSH_CERT_ISSUER_HOST_PROVIDER) + private String sshCertIssuerHostProvider; + public static final String SERIALIZED_NAME_ADD_TAG = "add-tag"; @SerializedName(SERIALIZED_NAME_ADD_TAG) private List addTag = null; @@ -53,6 +57,10 @@ public class UpdateSSHCertIssuer { @SerializedName(SERIALIZED_NAME_EXTENSIONS) private Map extensions = null; + public static final String SERIALIZED_NAME_HOST_PROVIDER = "host-provider"; + @SerializedName(SERIALIZED_NAME_HOST_PROVIDER) + private String hostProvider = "explicit"; + public static final String SERIALIZED_NAME_JSON = "json"; @SerializedName(SERIALIZED_NAME_JSON) private Boolean json = false; @@ -120,6 +128,29 @@ public class UpdateSSHCertIssuer { public UpdateSSHCertIssuer() { } + public UpdateSSHCertIssuer sshCertIssuerHostProvider(String sshCertIssuerHostProvider) { + + this.sshCertIssuerHostProvider = sshCertIssuerHostProvider; + return this; + } + + /** + * Get sshCertIssuerHostProvider + * @return sshCertIssuerHostProvider + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getSshCertIssuerHostProvider() { + return sshCertIssuerHostProvider; + } + + + public void setSshCertIssuerHostProvider(String sshCertIssuerHostProvider) { + this.sshCertIssuerHostProvider = sshCertIssuerHostProvider; + } + + public UpdateSSHCertIssuer addTag(List addTag) { this.addTag = addTag; @@ -251,6 +282,29 @@ public void setExtensions(Map extensions) { } + public UpdateSSHCertIssuer hostProvider(String hostProvider) { + + this.hostProvider = hostProvider; + return this; + } + + /** + * Host provider type [explicit/target] + * @return hostProvider + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Host provider type [explicit/target]") + + public String getHostProvider() { + return hostProvider; + } + + + public void setHostProvider(String hostProvider) { + this.hostProvider = hostProvider; + } + + public UpdateSSHCertIssuer json(Boolean json) { this.json = json; @@ -644,11 +698,13 @@ public boolean equals(Object o) { return false; } UpdateSSHCertIssuer updateSSHCertIssuer = (UpdateSSHCertIssuer) o; - return Objects.equals(this.addTag, updateSSHCertIssuer.addTag) && + return Objects.equals(this.sshCertIssuerHostProvider, updateSSHCertIssuer.sshCertIssuerHostProvider) && + Objects.equals(this.addTag, updateSSHCertIssuer.addTag) && Objects.equals(this.allowedUsers, updateSSHCertIssuer.allowedUsers) && Objects.equals(this.deleteProtection, updateSSHCertIssuer.deleteProtection) && Objects.equals(this.description, updateSSHCertIssuer.description) && Objects.equals(this.extensions, updateSSHCertIssuer.extensions) && + Objects.equals(this.hostProvider, updateSSHCertIssuer.hostProvider) && Objects.equals(this.json, updateSSHCertIssuer.json) && Objects.equals(this.metadata, updateSSHCertIssuer.metadata) && Objects.equals(this.name, updateSSHCertIssuer.name) && @@ -669,18 +725,20 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(addTag, allowedUsers, deleteProtection, description, extensions, json, metadata, name, newName, principals, rmTag, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, token, ttl, uidToken); + return Objects.hash(sshCertIssuerHostProvider, addTag, allowedUsers, deleteProtection, description, extensions, hostProvider, json, metadata, name, newName, principals, rmTag, secureAccessBastionApi, secureAccessBastionSsh, secureAccessEnable, secureAccessHost, secureAccessSshCredsUser, secureAccessUseInternalBastion, signerKeyName, token, ttl, uidToken); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class UpdateSSHCertIssuer {\n"); + sb.append(" sshCertIssuerHostProvider: ").append(toIndentedString(sshCertIssuerHostProvider)).append("\n"); sb.append(" addTag: ").append(toIndentedString(addTag)).append("\n"); sb.append(" allowedUsers: ").append(toIndentedString(allowedUsers)).append("\n"); sb.append(" deleteProtection: ").append(toIndentedString(deleteProtection)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" extensions: ").append(toIndentedString(extensions)).append("\n"); + sb.append(" hostProvider: ").append(toIndentedString(hostProvider)).append("\n"); sb.append(" json: ").append(toIndentedString(json)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); diff --git a/src/main/java/io/akeyless/client/model/UploadPKCS12.java b/src/main/java/io/akeyless/client/model/UploadPKCS12.java index 85781391..836b37c8 100644 --- a/src/main/java/io/akeyless/client/model/UploadPKCS12.java +++ b/src/main/java/io/akeyless/client/model/UploadPKCS12.java @@ -65,7 +65,7 @@ public class UploadPKCS12 { public static final String SERIALIZED_NAME_SPLIT_LEVEL = "split-level"; @SerializedName(SERIALIZED_NAME_SPLIT_LEVEL) - private Long splitLevel = 2l; + private Long splitLevel = 3l; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) diff --git a/src/main/java/io/akeyless/client/model/UploadRSA.java b/src/main/java/io/akeyless/client/model/UploadRSA.java index dd57242c..dfdfe266 100644 --- a/src/main/java/io/akeyless/client/model/UploadRSA.java +++ b/src/main/java/io/akeyless/client/model/UploadRSA.java @@ -73,7 +73,7 @@ public class UploadRSA { public static final String SERIALIZED_NAME_SPLIT_LEVEL = "split-level"; @SerializedName(SERIALIZED_NAME_SPLIT_LEVEL) - private Long splitLevel = 2l; + private Long splitLevel = 3l; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) diff --git a/src/main/java/io/akeyless/client/model/UsageEventSetting.java b/src/main/java/io/akeyless/client/model/UsageEventSetting.java new file mode 100644 index 00000000..68aa0cd3 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/UsageEventSetting.java @@ -0,0 +1,159 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; + +/** + * UsageEventSetting + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class UsageEventSetting { + public static final String SERIALIZED_NAME_ENABLE = "enable"; + @SerializedName(SERIALIZED_NAME_ENABLE) + private Boolean enable; + + public static final String SERIALIZED_NAME_ENABLE_TIME = "enable_time"; + @SerializedName(SERIALIZED_NAME_ENABLE_TIME) + private OffsetDateTime enableTime; + + public static final String SERIALIZED_NAME_INTERVAL_BY_DAYS = "interval_by_days"; + @SerializedName(SERIALIZED_NAME_INTERVAL_BY_DAYS) + private Long intervalByDays; + + public UsageEventSetting() { + } + + public UsageEventSetting enable(Boolean enable) { + + this.enable = enable; + return this; + } + + /** + * Get enable + * @return enable + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getEnable() { + return enable; + } + + + public void setEnable(Boolean enable) { + this.enable = enable; + } + + + public UsageEventSetting enableTime(OffsetDateTime enableTime) { + + this.enableTime = enableTime; + return this; + } + + /** + * Get enableTime + * @return enableTime + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public OffsetDateTime getEnableTime() { + return enableTime; + } + + + public void setEnableTime(OffsetDateTime enableTime) { + this.enableTime = enableTime; + } + + + public UsageEventSetting intervalByDays(Long intervalByDays) { + + this.intervalByDays = intervalByDays; + return this; + } + + /** + * Get intervalByDays + * @return intervalByDays + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Long getIntervalByDays() { + return intervalByDays; + } + + + public void setIntervalByDays(Long intervalByDays) { + this.intervalByDays = intervalByDays; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UsageEventSetting usageEventSetting = (UsageEventSetting) o; + return Objects.equals(this.enable, usageEventSetting.enable) && + Objects.equals(this.enableTime, usageEventSetting.enableTime) && + Objects.equals(this.intervalByDays, usageEventSetting.intervalByDays); + } + + @Override + public int hashCode() { + return Objects.hash(enable, enableTime, intervalByDays); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UsageEventSetting {\n"); + sb.append(" enable: ").append(toIndentedString(enable)).append("\n"); + sb.append(" enableTime: ").append(toIndentedString(enableTime)).append("\n"); + sb.append(" intervalByDays: ").append(toIndentedString(intervalByDays)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/WindowsService.java b/src/main/java/io/akeyless/client/model/WindowsService.java new file mode 100644 index 00000000..f9951fd9 --- /dev/null +++ b/src/main/java/io/akeyless/client/model/WindowsService.java @@ -0,0 +1,159 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.akeyless.client.model.WindowsServiceAttributes; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * WindowsService + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class WindowsService { + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + private WindowsServiceAttributes attributes; + + public static final String SERIALIZED_NAME_HOST = "host"; + @SerializedName(SERIALIZED_NAME_HOST) + private String host; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public WindowsService() { + } + + public WindowsService attributes(WindowsServiceAttributes attributes) { + + this.attributes = attributes; + return this; + } + + /** + * Get attributes + * @return attributes + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public WindowsServiceAttributes getAttributes() { + return attributes; + } + + + public void setAttributes(WindowsServiceAttributes attributes) { + this.attributes = attributes; + } + + + public WindowsService host(String host) { + + this.host = host; + return this; + } + + /** + * Get host + * @return host + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getHost() { + return host; + } + + + public void setHost(String host) { + this.host = host; + } + + + public WindowsService name(String name) { + + this.name = name; + return this; + } + + /** + * Get name + * @return name + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WindowsService windowsService = (WindowsService) o; + return Objects.equals(this.attributes, windowsService.attributes) && + Objects.equals(this.host, windowsService.host) && + Objects.equals(this.name, windowsService.name); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, host, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WindowsService {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" host: ").append(toIndentedString(host)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java b/src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java new file mode 100644 index 00000000..2af3651b --- /dev/null +++ b/src/main/java/io/akeyless/client/model/WindowsServiceAttributes.java @@ -0,0 +1,158 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * WindowsServiceAttributes + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class WindowsServiceAttributes { + public static final String SERIALIZED_NAME_CONNECTION_TYPE = "connection_type"; + @SerializedName(SERIALIZED_NAME_CONNECTION_TYPE) + private String connectionType; + + public static final String SERIALIZED_NAME_PORT = "port"; + @SerializedName(SERIALIZED_NAME_PORT) + private String port; + + public static final String SERIALIZED_NAME_USE_TLS = "use_tls"; + @SerializedName(SERIALIZED_NAME_USE_TLS) + private Boolean useTls; + + public WindowsServiceAttributes() { + } + + public WindowsServiceAttributes connectionType(String connectionType) { + + this.connectionType = connectionType; + return this; + } + + /** + * Get connectionType + * @return connectionType + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getConnectionType() { + return connectionType; + } + + + public void setConnectionType(String connectionType) { + this.connectionType = connectionType; + } + + + public WindowsServiceAttributes port(String port) { + + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getPort() { + return port; + } + + + public void setPort(String port) { + this.port = port; + } + + + public WindowsServiceAttributes useTls(Boolean useTls) { + + this.useTls = useTls; + return this; + } + + /** + * Get useTls + * @return useTls + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Boolean getUseTls() { + return useTls; + } + + + public void setUseTls(Boolean useTls) { + this.useTls = useTls; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + WindowsServiceAttributes windowsServiceAttributes = (WindowsServiceAttributes) o; + return Objects.equals(this.connectionType, windowsServiceAttributes.connectionType) && + Objects.equals(this.port, windowsServiceAttributes.port) && + Objects.equals(this.useTls, windowsServiceAttributes.useTls); + } + + @Override + public int hashCode() { + return Objects.hash(connectionType, port, useTls); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class WindowsServiceAttributes {\n"); + sb.append(" connectionType: ").append(toIndentedString(connectionType)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" useTls: ").append(toIndentedString(useTls)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/test/java/io/akeyless/client/model/TargetNameWithHostsTest.java b/src/test/java/io/akeyless/client/model/TargetNameWithHostsTest.java new file mode 100644 index 00000000..84b4a4a0 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/TargetNameWithHostsTest.java @@ -0,0 +1,61 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for TargetNameWithHosts + */ +public class TargetNameWithHostsTest { + private final TargetNameWithHosts model = new TargetNameWithHosts(); + + /** + * Model tests for TargetNameWithHosts + */ + @Test + public void testTargetNameWithHosts() { + // TODO: test TargetNameWithHosts + } + + /** + * Test the property 'hosts' + */ + @Test + public void hostsTest() { + // TODO: test hosts + } + + /** + * Test the property 'targetName' + */ + @Test + public void targetNameTest() { + // TODO: test targetName + } + +} diff --git a/src/test/java/io/akeyless/client/model/UsageEventSettingTest.java b/src/test/java/io/akeyless/client/model/UsageEventSettingTest.java new file mode 100644 index 00000000..966150b5 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/UsageEventSettingTest.java @@ -0,0 +1,68 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.threeten.bp.OffsetDateTime; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for UsageEventSetting + */ +public class UsageEventSettingTest { + private final UsageEventSetting model = new UsageEventSetting(); + + /** + * Model tests for UsageEventSetting + */ + @Test + public void testUsageEventSetting() { + // TODO: test UsageEventSetting + } + + /** + * Test the property 'enable' + */ + @Test + public void enableTest() { + // TODO: test enable + } + + /** + * Test the property 'enableTime' + */ + @Test + public void enableTimeTest() { + // TODO: test enableTime + } + + /** + * Test the property 'intervalByDays' + */ + @Test + public void intervalByDaysTest() { + // TODO: test intervalByDays + } + +} diff --git a/src/test/java/io/akeyless/client/model/WindowsServiceAttributesTest.java b/src/test/java/io/akeyless/client/model/WindowsServiceAttributesTest.java new file mode 100644 index 00000000..1b98e832 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/WindowsServiceAttributesTest.java @@ -0,0 +1,67 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for WindowsServiceAttributes + */ +public class WindowsServiceAttributesTest { + private final WindowsServiceAttributes model = new WindowsServiceAttributes(); + + /** + * Model tests for WindowsServiceAttributes + */ + @Test + public void testWindowsServiceAttributes() { + // TODO: test WindowsServiceAttributes + } + + /** + * Test the property 'connectionType' + */ + @Test + public void connectionTypeTest() { + // TODO: test connectionType + } + + /** + * Test the property 'port' + */ + @Test + public void portTest() { + // TODO: test port + } + + /** + * Test the property 'useTls' + */ + @Test + public void useTlsTest() { + // TODO: test useTls + } + +} diff --git a/src/test/java/io/akeyless/client/model/WindowsServiceTest.java b/src/test/java/io/akeyless/client/model/WindowsServiceTest.java new file mode 100644 index 00000000..478074e4 --- /dev/null +++ b/src/test/java/io/akeyless/client/model/WindowsServiceTest.java @@ -0,0 +1,68 @@ +/* + * Akeyless API + * The purpose of this application is to provide access to Akeyless API. + * + * The version of the OpenAPI document: 2.0 + * Contact: support@akeyless.io + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package io.akeyless.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.akeyless.client.model.WindowsServiceAttributes; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Model tests for WindowsService + */ +public class WindowsServiceTest { + private final WindowsService model = new WindowsService(); + + /** + * Model tests for WindowsService + */ + @Test + public void testWindowsService() { + // TODO: test WindowsService + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + + /** + * Test the property 'host' + */ + @Test + public void hostTest() { + // TODO: test host + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +}