comet_backup_ruby_sdk 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/Gemfile.lock +1 -1
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/api_response_error.rb +0 -0
- data/lib/comet/comet_server.rb +13 -1
- data/lib/comet/definitions.rb +20 -4
- data/lib/comet/models/add_bucket_response_message.rb +0 -0
- data/lib/comet/models/admin_account_properties_response.rb +0 -0
- data/lib/comet/models/admin_email_options.rb +0 -0
- data/lib/comet/models/admin_resource_response.rb +0 -0
- data/lib/comet/models/admin_security_options.rb +0 -0
- data/lib/comet/models/admin_u2fregistration.rb +0 -0
- data/lib/comet/models/admin_user_permissions.rb +0 -0
- data/lib/comet/models/admin_web_authn_registration.rb +0 -0
- data/lib/comet/models/allowed_admin_user.rb +0 -0
- data/lib/comet/models/amazon_awsvirtual_storage_role_settings.rb +21 -0
- data/lib/comet/models/authentication_role_options.rb +0 -0
- data/lib/comet/models/available_download.rb +0 -0
- data/lib/comet/models/azure_destination_location.rb +0 -0
- data/lib/comet/models/b2destination_location.rb +0 -0
- data/lib/comet/models/b2storage_extra_info.rb +0 -0
- data/lib/comet/models/b2transaction_totals.rb +0 -0
- data/lib/comet/models/b2virtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/backup_job_advanced_options.rb +0 -0
- data/lib/comet/models/backup_job_detail.rb +0 -0
- data/lib/comet/models/backup_job_progress.rb +0 -0
- data/lib/comet/models/backup_rule_config.rb +0 -0
- data/lib/comet/models/backup_rule_event_triggers.rb +0 -0
- data/lib/comet/models/branding_options.rb +64 -0
- data/lib/comet/models/branding_properties.rb +64 -0
- data/lib/comet/models/browse_disk_drives_response.rb +0 -0
- data/lib/comet/models/browse_edbresponse.rb +0 -0
- data/lib/comet/models/browse_hvresponse.rb +0 -0
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +0 -0
- data/lib/comet/models/browse_office_365objects_response.rb +0 -0
- data/lib/comet/models/browse_sqlserver_response.rb +0 -0
- data/lib/comet/models/browse_vssresponse.rb +0 -0
- data/lib/comet/models/bucket_properties.rb +0 -0
- data/lib/comet/models/bucket_usage_info.rb +0 -0
- data/lib/comet/models/comet_apiresponse_message.rb +0 -0
- data/lib/comet/models/comet_destination_location.rb +0 -0
- data/lib/comet/models/constellation_check_report.rb +0 -0
- data/lib/comet/models/constellation_role_options.rb +0 -0
- data/lib/comet/models/constellation_stats.rb +0 -0
- data/lib/comet/models/constellation_status_apiresponse.rb +0 -0
- data/lib/comet/models/content_measurement.rb +0 -0
- data/lib/comet/models/content_measurement_component.rb +0 -0
- data/lib/comet/models/count_jobs_response.rb +0 -0
- data/lib/comet/models/create_group_policy_response.rb +0 -0
- data/lib/comet/models/custom_remote_bucket_settings.rb +0 -0
- data/lib/comet/models/days_of_week_config.rb +0 -0
- data/lib/comet/models/default_email_report_policy.rb +0 -0
- data/lib/comet/models/default_source_with_osrestriction.rb +0 -0
- data/lib/comet/models/destination_config.rb +15 -0
- data/lib/comet/models/destination_location.rb +15 -0
- data/lib/comet/models/destination_statistics.rb +0 -0
- data/lib/comet/models/device_config.rb +0 -0
- data/lib/comet/models/disk_drive.rb +0 -0
- data/lib/comet/models/dispatcher_admin_sources_response.rb +0 -0
- data/lib/comet/models/dispatcher_stored_objects_response.rb +0 -0
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +0 -0
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +0 -0
- data/lib/comet/models/edbfile_info.rb +0 -0
- data/lib/comet/models/email_options.rb +0 -0
- data/lib/comet/models/email_report_config.rb +0 -0
- data/lib/comet/models/email_report_generated_preview.rb +0 -0
- data/lib/comet/models/email_reporting_option.rb +0 -0
- data/lib/comet/models/external_authentication_source.rb +0 -0
- data/lib/comet/models/external_ldapauthentication_source_server.rb +0 -0
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +0 -0
- data/lib/comet/models/extra_file_exclusion.rb +0 -0
- data/lib/comet/models/ftpdestination_location.rb +0 -0
- data/lib/comet/models/get_group_policy_response.rb +0 -0
- data/lib/comet/models/get_profile_and_hash_response_message.rb +0 -0
- data/lib/comet/models/get_profile_hash_response_message.rb +0 -0
- data/lib/comet/models/global_override_options.rb +0 -0
- data/lib/comet/models/group_policy.rb +0 -0
- data/lib/comet/models/hour_sched_config.rb +0 -0
- data/lib/comet/models/httpconnector_options.rb +0 -0
- data/lib/comet/models/hyper_vmachine_info.rb +0 -0
- data/lib/comet/models/install_creds.rb +0 -0
- data/lib/comet/models/install_token.rb +0 -0
- data/lib/comet/models/install_token_response.rb +0 -0
- data/lib/comet/models/job_entry.rb +0 -0
- data/lib/comet/models/license_options.rb +0 -0
- data/lib/comet/models/live_user_connection.rb +0 -0
- data/lib/comet/models/local_destination_location.rb +0 -0
- data/lib/comet/models/local_storage_directory.rb +0 -0
- data/lib/comet/models/mac_oscode_sign_properties.rb +0 -0
- data/lib/comet/models/mongo_dbconnection.rb +0 -0
- data/lib/comet/models/mssqlconnection.rb +0 -0
- data/lib/comet/models/mssqllogin_args.rb +0 -0
- data/lib/comet/models/my_sqlconnection.rb +0 -0
- data/lib/comet/models/new_bucket_detail.rb +0 -0
- data/lib/comet/models/news_entry.rb +0 -0
- data/lib/comet/models/office_365connection.rb +0 -0
- data/lib/comet/models/office_365credential.rb +0 -0
- data/lib/comet/models/office_365custom_setting.rb +0 -0
- data/lib/comet/models/office_365custom_setting_v2.rb +0 -0
- data/lib/comet/models/office_365mixed_virtual_account.rb +0 -0
- data/lib/comet/models/office_365object_info.rb +0 -0
- data/lib/comet/models/organization.rb +0 -0
- data/lib/comet/models/organization_login_urlresponse.rb +0 -0
- data/lib/comet/models/organization_response.rb +0 -0
- data/lib/comet/models/osinfo.rb +0 -0
- data/lib/comet/models/partition.rb +0 -0
- data/lib/comet/models/private_branding_properties.rb +64 -0
- data/lib/comet/models/protected_item_engine_type_policy.rb +0 -0
- data/lib/comet/models/psaconfig.rb +0 -0
- data/lib/comet/models/public_branding_properties.rb +0 -0
- data/lib/comet/models/ratelimit_options.rb +0 -0
- data/lib/comet/models/ratelimit_rule.rb +0 -0
- data/lib/comet/models/register_office_application_begin_response.rb +0 -0
- data/lib/comet/models/register_office_application_check_response.rb +0 -0
- data/lib/comet/models/remote_server_address.rb +0 -0
- data/lib/comet/models/remote_storage_option.rb +0 -0
- data/lib/comet/models/replica_server.rb +0 -0
- data/lib/comet/models/replicator_state_apiresponse.rb +0 -0
- data/lib/comet/models/request_storage_vault_response_message.rb +0 -0
- data/lib/comet/models/restore_job_advanced_options.rb +0 -0
- data/lib/comet/models/retention_policy.rb +0 -0
- data/lib/comet/models/retention_range.rb +0 -0
- data/lib/comet/models/s3destination_location.rb +15 -0
- data/lib/comet/models/s3generic_virtual_storage_role.rb +21 -0
- data/lib/comet/models/schedule_config.rb +0 -0
- data/lib/comet/models/search_clause.rb +0 -0
- data/lib/comet/models/self_backup_export_options.rb +0 -0
- data/lib/comet/models/self_backup_options.rb +0 -0
- data/lib/comet/models/self_backup_statistics.rb +0 -0
- data/lib/comet/models/self_backup_target.rb +0 -0
- data/lib/comet/models/server_config_options.rb +0 -0
- data/lib/comet/models/server_config_options_branding_fragment.rb +0 -0
- data/lib/comet/models/server_config_options_software_build_role_fragment.rb +0 -0
- data/lib/comet/models/server_meta_branding_properties.rb +0 -0
- data/lib/comet/models/server_meta_version_info.rb +0 -0
- data/lib/comet/models/session_key_regenerated_response.rb +0 -0
- data/lib/comet/models/session_options.rb +0 -0
- data/lib/comet/models/sftpdestination_location.rb +0 -0
- data/lib/comet/models/single_field_source.rb +0 -0
- data/lib/comet/models/size_measurement.rb +0 -0
- data/lib/comet/models/software_build_role_options.rb +0 -0
- data/lib/comet/models/software_update_news_response.rb +0 -0
- data/lib/comet/models/source_basic_info.rb +0 -0
- data/lib/comet/models/source_config.rb +0 -0
- data/lib/comet/models/source_include_pattern.rb +0 -0
- data/lib/comet/models/source_statistics.rb +0 -0
- data/lib/comet/models/spanned_destination_location.rb +0 -0
- data/lib/comet/models/spanned_storage_extra_info.rb +0 -0
- data/lib/comet/models/sshconnection.rb +0 -0
- data/lib/comet/models/stat_result.rb +0 -0
- data/lib/comet/models/storage_free_space_info.rb +0 -0
- data/lib/comet/models/storage_role_options.rb +0 -0
- data/lib/comet/models/storage_vault_provider_policy.rb +0 -0
- data/lib/comet/models/stored_object.rb +0 -0
- data/lib/comet/models/storj_destination_location.rb +0 -0
- data/lib/comet/models/storj_virtual_storage_role_setting.rb +0 -0
- data/lib/comet/models/streamable_event.rb +0 -0
- data/lib/comet/models/swift_destination_location.rb +0 -0
- data/lib/comet/models/test_response.rb +0 -0
- data/lib/comet/models/time_span.rb +0 -0
- data/lib/comet/models/totp_regenerated_response.rb +0 -0
- data/lib/comet/models/u2fregister_request.rb +0 -0
- data/lib/comet/models/u2fregistered_key.rb +0 -0
- data/lib/comet/models/u2fregistration_challenge_response.rb +0 -0
- data/lib/comet/models/u2fsign_request.rb +0 -0
- data/lib/comet/models/u2fsign_response.rb +0 -0
- data/lib/comet/models/uninstall_config.rb +0 -0
- data/lib/comet/models/update_campaign_device_status.rb +0 -0
- data/lib/comet/models/update_campaign_options.rb +0 -0
- data/lib/comet/models/update_campaign_properties.rb +0 -0
- data/lib/comet/models/update_campaign_status.rb +0 -0
- data/lib/comet/models/update_campaign_status_device_entry.rb +0 -0
- data/lib/comet/models/user_custom_email_settings.rb +0 -0
- data/lib/comet/models/user_on_server.rb +0 -0
- data/lib/comet/models/user_policy.rb +0 -0
- data/lib/comet/models/user_profile_config.rb +0 -0
- data/lib/comet/models/user_profile_fragment.rb +0 -0
- data/lib/comet/models/user_server_config.rb +0 -0
- data/lib/comet/models/vault_snapshot.rb +0 -0
- data/lib/comet/models/vmdksnapshot_view_options.rb +0 -0
- data/lib/comet/models/vsscomponent.rb +0 -0
- data/lib/comet/models/vsswriter_info.rb +0 -0
- data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +21 -0
- data/lib/comet/models/web_authn_authenticator_selection.rb +0 -0
- data/lib/comet/models/web_authn_credential.rb +0 -0
- data/lib/comet/models/web_authn_credential_assertion.rb +0 -0
- data/lib/comet/models/web_authn_credential_descriptor.rb +0 -0
- data/lib/comet/models/web_authn_credential_entity.rb +0 -0
- data/lib/comet/models/web_authn_credential_parameter.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_request_options.rb +0 -0
- data/lib/comet/models/web_authn_registration_challenge_response.rb +0 -0
- data/lib/comet/models/web_authn_relying_party_entity.rb +0 -0
- data/lib/comet/models/web_authn_sign_request.rb +0 -0
- data/lib/comet/models/web_authn_sign_response.rb +0 -0
- data/lib/comet/models/web_authn_user_entity.rb +0 -0
- data/lib/comet/models/web_interface_branding_properties.rb +0 -0
- data/lib/comet/models/webhook_option.rb +0 -0
- data/lib/comet/models/win_smbauth.rb +0 -0
- data/lib/comet/models/windows_code_sign_properties.rb +64 -0
- data/lib/comet_backup_ruby_sdk.rb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b5e28127380597ea90859ac7f6d8bfc0577e55ae772621809a406923d966859
|
|
4
|
+
data.tar.gz: 9688cfb057919eb7ba1ef32b0466b264555d87081e17d3e18891cb46fee5e82e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e00d003558c7df673a1c25dd8e223a59163e60fa12dbcc26d23479e469cc3aadecfe91d3bb82051769f887cacad1b2c916886a0f91f7e3711a9316788a0fa6f
|
|
7
|
+
data.tar.gz: a58dc8f7d1f47f82ed49031221d91b6e6b508f5cc35c52e22e2e342b95ca44a3d80753d7687aae38ea67fc33d4ea66825f5f27a8650c15142603f34ae0e5bff3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
# CHANGELOG
|
|
2
|
-
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## 2023-03-23 v2.6.0
|
|
4
|
+
|
|
5
|
+
- Based on Comet 23.3.1
|
|
6
|
+
- Support filter parameters on `AdminGetJobLogEntries`
|
|
7
|
+
- Support S3 Object Lock
|
|
8
|
+
- Support Azure Key Vault codesigning
|
|
9
|
+
|
|
3
10
|
## 2023-02-15 v2.5.0
|
|
4
11
|
- Based on 22.12.8
|
|
5
12
|
- Add `TimeSpan` option to `EmailReportOptions`
|
data/Gemfile.lock
CHANGED
|
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
12
12
|
|
|
13
13
|
Gem::Specification.new do |spec|
|
|
14
14
|
spec.name = 'comet_backup_ruby_sdk'
|
|
15
|
-
spec.version = '2.
|
|
15
|
+
spec.version = '2.6.0'
|
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
|
18
18
|
|
|
File without changes
|
data/lib/comet/comet_server.rb
CHANGED
|
@@ -2161,12 +2161,24 @@ module Comet
|
|
|
2161
2161
|
# This API requires the Auth Role to be enabled.
|
|
2162
2162
|
#
|
|
2163
2163
|
# @param [String] job_id Selected job ID
|
|
2164
|
+
# @param [String] min_severity (Optional) Return only job log entries with equal or higher severity
|
|
2165
|
+
# @param [String] message_contains (Optional) Return only job log entries that contain exact string
|
|
2164
2166
|
# @return [Array<Comet::JobEntry>]
|
|
2165
|
-
def admin_get_job_log_entries(job_id)
|
|
2167
|
+
def admin_get_job_log_entries(job_id, min_severity = nil, message_contains = nil)
|
|
2166
2168
|
submit_params = {}
|
|
2167
2169
|
raise TypeError, "'job_id' expected String, got #{job_id.class}" unless job_id.is_a? String
|
|
2168
2170
|
|
|
2169
2171
|
submit_params['JobID'] = job_id
|
|
2172
|
+
unless min_severity.nil?
|
|
2173
|
+
raise TypeError, "'min_severity' expected String, got #{min_severity.class}" unless min_severity.is_a? String
|
|
2174
|
+
|
|
2175
|
+
submit_params['MinSeverity'] = min_severity
|
|
2176
|
+
end
|
|
2177
|
+
unless message_contains.nil?
|
|
2178
|
+
raise TypeError, "'message_contains' expected String, got #{message_contains.class}" unless message_contains.is_a? String
|
|
2179
|
+
|
|
2180
|
+
submit_params['MessageContains'] = message_contains
|
|
2181
|
+
end
|
|
2170
2182
|
|
|
2171
2183
|
body = perform_request('api/v1/admin/get-job-log-entries', submit_params)
|
|
2172
2184
|
json_body = JSON.parse body
|
data/lib/comet/definitions.rb
CHANGED
|
@@ -496,13 +496,13 @@ module Comet
|
|
|
496
496
|
|
|
497
497
|
DEFAULT_TIMEZONE = 'UTC'
|
|
498
498
|
|
|
499
|
-
APPLICATION_VERSION = '
|
|
499
|
+
APPLICATION_VERSION = '23.3.1'
|
|
500
500
|
|
|
501
|
-
APPLICATION_VERSION_MAJOR =
|
|
501
|
+
APPLICATION_VERSION_MAJOR = 23
|
|
502
502
|
|
|
503
|
-
APPLICATION_VERSION_MINOR =
|
|
503
|
+
APPLICATION_VERSION_MINOR = 3
|
|
504
504
|
|
|
505
|
-
APPLICATION_VERSION_REVISION =
|
|
505
|
+
APPLICATION_VERSION_REVISION = 1
|
|
506
506
|
|
|
507
507
|
RELEASE_CODENAME = 'Voyager'
|
|
508
508
|
|
|
@@ -715,6 +715,22 @@ module Comet
|
|
|
715
715
|
# LDAPSecurityMethod:
|
|
716
716
|
LDAPSECURITYMETHOD_STARTTLS = 'starttls'
|
|
717
717
|
|
|
718
|
+
# WindowsCodesignMethod: When upgrading from a version of Comet Server prior to 22.12.7, this option will be automatically converted to a more specific type..
|
|
719
|
+
# @deprecated This const has been deprecated since Comet version 22.12.7
|
|
720
|
+
WINDOWSCODESIGN_METHOD_AUTO = 0
|
|
721
|
+
|
|
722
|
+
# WindowsCodesignMethod:
|
|
723
|
+
WINDOWSCODESIGN_METHOD_DISABLED = 1
|
|
724
|
+
|
|
725
|
+
# WindowsCodesignMethod:
|
|
726
|
+
WINDOWSCODESIGN_METHOD_PKCS12FILE = 2
|
|
727
|
+
|
|
728
|
+
# WindowsCodesignMethod:
|
|
729
|
+
WINDOWSCODESIGN_METHOD_PKCS11HSM = 3
|
|
730
|
+
|
|
731
|
+
# WindowsCodesignMethod:
|
|
732
|
+
WINDOWSCODESIGN_METHOD_AZUREKEYVAULT = 4
|
|
733
|
+
|
|
718
734
|
# MacOSCodesignLevel:
|
|
719
735
|
MACOSCODESIGN_LEVEL_SIGN = 0
|
|
720
736
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -21,6 +21,15 @@ module Comet
|
|
|
21
21
|
# @type [String] secret_key
|
|
22
22
|
attr_accessor :secret_key
|
|
23
23
|
|
|
24
|
+
# @type [Boolean] use_object_lock
|
|
25
|
+
attr_accessor :use_object_lock
|
|
26
|
+
|
|
27
|
+
# @type [Number] object_lock_days
|
|
28
|
+
attr_accessor :object_lock_days
|
|
29
|
+
|
|
30
|
+
# @type [Boolean] remove_deleted
|
|
31
|
+
attr_accessor :remove_deleted
|
|
32
|
+
|
|
24
33
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
|
25
34
|
attr_accessor :unknown_json_fields
|
|
26
35
|
|
|
@@ -32,6 +41,7 @@ module Comet
|
|
|
32
41
|
@master_bucket = ''
|
|
33
42
|
@access_key = ''
|
|
34
43
|
@secret_key = ''
|
|
44
|
+
@object_lock_days = 0
|
|
35
45
|
@unknown_json_fields = {}
|
|
36
46
|
end
|
|
37
47
|
|
|
@@ -60,6 +70,14 @@ module Comet
|
|
|
60
70
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
61
71
|
|
|
62
72
|
@secret_key = v
|
|
73
|
+
when 'UseObjectLock'
|
|
74
|
+
@use_object_lock = v
|
|
75
|
+
when 'ObjectLockDays'
|
|
76
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
77
|
+
|
|
78
|
+
@object_lock_days = v
|
|
79
|
+
when 'RemoveDeleted'
|
|
80
|
+
@remove_deleted = v
|
|
63
81
|
else
|
|
64
82
|
@unknown_json_fields[k] = v
|
|
65
83
|
end
|
|
@@ -72,6 +90,9 @@ module Comet
|
|
|
72
90
|
ret['MasterBucket'] = @master_bucket
|
|
73
91
|
ret['AccessKey'] = @access_key
|
|
74
92
|
ret['SecretKey'] = @secret_key
|
|
93
|
+
ret['UseObjectLock'] = @use_object_lock
|
|
94
|
+
ret['ObjectLockDays'] = @object_lock_days
|
|
95
|
+
ret['RemoveDeleted'] = @remove_deleted
|
|
75
96
|
@unknown_json_fields.each do |k, v|
|
|
76
97
|
ret[k] = v
|
|
77
98
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -78,6 +78,9 @@ module Comet
|
|
|
78
78
|
# @type [String] package_identifier
|
|
79
79
|
attr_accessor :package_identifier
|
|
80
80
|
|
|
81
|
+
# @type [Number] windows_code_sign_method
|
|
82
|
+
attr_accessor :windows_code_sign_method
|
|
83
|
+
|
|
81
84
|
# @type [String] windows_code_sign_pkcs12file_path
|
|
82
85
|
attr_accessor :windows_code_sign_pkcs12file_path
|
|
83
86
|
|
|
@@ -94,6 +97,7 @@ module Comet
|
|
|
94
97
|
attr_accessor :windows_code_sign_pkcs11module
|
|
95
98
|
|
|
96
99
|
# @type [String] windows_code_sign_pkcs11certfile
|
|
100
|
+
# @deprecated This member has been deprecated since Comet version 22.12.7
|
|
97
101
|
attr_accessor :windows_code_sign_pkcs11certfile
|
|
98
102
|
|
|
99
103
|
# @type [String] windows_code_sign_pkcs11key_id
|
|
@@ -105,6 +109,24 @@ module Comet
|
|
|
105
109
|
# @type [String] windows_code_sign_pkcs11password
|
|
106
110
|
attr_accessor :windows_code_sign_pkcs11password
|
|
107
111
|
|
|
112
|
+
# @type [String] windows_code_sign_azure_vault_name
|
|
113
|
+
attr_accessor :windows_code_sign_azure_vault_name
|
|
114
|
+
|
|
115
|
+
# @type [String] windows_code_sign_azure_cert_name
|
|
116
|
+
attr_accessor :windows_code_sign_azure_cert_name
|
|
117
|
+
|
|
118
|
+
# @type [String] windows_code_sign_azure_app_id
|
|
119
|
+
attr_accessor :windows_code_sign_azure_app_id
|
|
120
|
+
|
|
121
|
+
# @type [Number] windows_code_sign_azure_app_secret_format
|
|
122
|
+
attr_accessor :windows_code_sign_azure_app_secret_format
|
|
123
|
+
|
|
124
|
+
# @type [String] windows_code_sign_azure_app_secret
|
|
125
|
+
attr_accessor :windows_code_sign_azure_app_secret
|
|
126
|
+
|
|
127
|
+
# @type [String] windows_code_sign_azure_tenant_id
|
|
128
|
+
attr_accessor :windows_code_sign_azure_tenant_id
|
|
129
|
+
|
|
108
130
|
# @type [Comet::MacOSCodeSignProperties] mac_oscode_sign
|
|
109
131
|
attr_accessor :mac_oscode_sign
|
|
110
132
|
|
|
@@ -135,6 +157,7 @@ module Comet
|
|
|
135
157
|
@path_header_image = ''
|
|
136
158
|
@path_app_icon_image = ''
|
|
137
159
|
@package_identifier = ''
|
|
160
|
+
@windows_code_sign_method = 0
|
|
138
161
|
@windows_code_sign_pkcs12file_path = ''
|
|
139
162
|
@windows_code_sign_pkcs12password_format = 0
|
|
140
163
|
@windows_code_sign_pkcs12password = ''
|
|
@@ -144,6 +167,12 @@ module Comet
|
|
|
144
167
|
@windows_code_sign_pkcs11key_id = ''
|
|
145
168
|
@windows_code_sign_pkcs11password_format = 0
|
|
146
169
|
@windows_code_sign_pkcs11password = ''
|
|
170
|
+
@windows_code_sign_azure_vault_name = ''
|
|
171
|
+
@windows_code_sign_azure_cert_name = ''
|
|
172
|
+
@windows_code_sign_azure_app_id = ''
|
|
173
|
+
@windows_code_sign_azure_app_secret_format = 0
|
|
174
|
+
@windows_code_sign_azure_app_secret = ''
|
|
175
|
+
@windows_code_sign_azure_tenant_id = ''
|
|
147
176
|
@mac_oscode_sign = Comet::MacOSCodeSignProperties.new
|
|
148
177
|
@unknown_json_fields = {}
|
|
149
178
|
end
|
|
@@ -243,6 +272,10 @@ module Comet
|
|
|
243
272
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
244
273
|
|
|
245
274
|
@package_identifier = v
|
|
275
|
+
when 'WindowsCodeSignMethod'
|
|
276
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
277
|
+
|
|
278
|
+
@windows_code_sign_method = v
|
|
246
279
|
when 'WindowsCodeSignPKCS12FilePath'
|
|
247
280
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
248
281
|
|
|
@@ -279,6 +312,30 @@ module Comet
|
|
|
279
312
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
280
313
|
|
|
281
314
|
@windows_code_sign_pkcs11password = v
|
|
315
|
+
when 'WindowsCodeSignAzureVaultName'
|
|
316
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
317
|
+
|
|
318
|
+
@windows_code_sign_azure_vault_name = v
|
|
319
|
+
when 'WindowsCodeSignAzureCertName'
|
|
320
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
321
|
+
|
|
322
|
+
@windows_code_sign_azure_cert_name = v
|
|
323
|
+
when 'WindowsCodeSignAzureAppID'
|
|
324
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
325
|
+
|
|
326
|
+
@windows_code_sign_azure_app_id = v
|
|
327
|
+
when 'WindowsCodeSignAzureAppSecretFormat'
|
|
328
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
329
|
+
|
|
330
|
+
@windows_code_sign_azure_app_secret_format = v
|
|
331
|
+
when 'WindowsCodeSignAzureAppSecret'
|
|
332
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
333
|
+
|
|
334
|
+
@windows_code_sign_azure_app_secret = v
|
|
335
|
+
when 'WindowsCodeSignAzureTenantID'
|
|
336
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
337
|
+
|
|
338
|
+
@windows_code_sign_azure_tenant_id = v
|
|
282
339
|
when 'MacOSCodeSign'
|
|
283
340
|
@mac_oscode_sign = Comet::MacOSCodeSignProperties.new
|
|
284
341
|
@mac_oscode_sign.from_hash(v)
|
|
@@ -313,6 +370,7 @@ module Comet
|
|
|
313
370
|
ret['PathHeaderImage'] = @path_header_image
|
|
314
371
|
ret['PathAppIconImage'] = @path_app_icon_image
|
|
315
372
|
ret['PackageIdentifier'] = @package_identifier
|
|
373
|
+
ret['WindowsCodeSignMethod'] = @windows_code_sign_method
|
|
316
374
|
ret['WindowsCodeSignPKCS12FilePath'] = @windows_code_sign_pkcs12file_path
|
|
317
375
|
ret['WindowsCodeSignPKCS12PasswordFormat'] = @windows_code_sign_pkcs12password_format
|
|
318
376
|
ret['WindowsCodeSignPKCS12Password'] = @windows_code_sign_pkcs12password
|
|
@@ -322,6 +380,12 @@ module Comet
|
|
|
322
380
|
ret['WindowsCodeSignPKCS11KeyID'] = @windows_code_sign_pkcs11key_id
|
|
323
381
|
ret['WindowsCodeSignPKCS11PasswordFormat'] = @windows_code_sign_pkcs11password_format
|
|
324
382
|
ret['WindowsCodeSignPKCS11Password'] = @windows_code_sign_pkcs11password
|
|
383
|
+
ret['WindowsCodeSignAzureVaultName'] = @windows_code_sign_azure_vault_name
|
|
384
|
+
ret['WindowsCodeSignAzureCertName'] = @windows_code_sign_azure_cert_name
|
|
385
|
+
ret['WindowsCodeSignAzureAppID'] = @windows_code_sign_azure_app_id
|
|
386
|
+
ret['WindowsCodeSignAzureAppSecretFormat'] = @windows_code_sign_azure_app_secret_format
|
|
387
|
+
ret['WindowsCodeSignAzureAppSecret'] = @windows_code_sign_azure_app_secret
|
|
388
|
+
ret['WindowsCodeSignAzureTenantID'] = @windows_code_sign_azure_tenant_id
|
|
325
389
|
ret['MacOSCodeSign'] = @mac_oscode_sign
|
|
326
390
|
@unknown_json_fields.each do |k, v|
|
|
327
391
|
ret[k] = v
|
|
@@ -63,6 +63,9 @@ module Comet
|
|
|
63
63
|
# @type [String] package_identifier
|
|
64
64
|
attr_accessor :package_identifier
|
|
65
65
|
|
|
66
|
+
# @type [Number] windows_code_sign_method
|
|
67
|
+
attr_accessor :windows_code_sign_method
|
|
68
|
+
|
|
66
69
|
# @type [String] windows_code_sign_pkcs12file_path
|
|
67
70
|
attr_accessor :windows_code_sign_pkcs12file_path
|
|
68
71
|
|
|
@@ -79,6 +82,7 @@ module Comet
|
|
|
79
82
|
attr_accessor :windows_code_sign_pkcs11module
|
|
80
83
|
|
|
81
84
|
# @type [String] windows_code_sign_pkcs11certfile
|
|
85
|
+
# @deprecated This member has been deprecated since Comet version 22.12.7
|
|
82
86
|
attr_accessor :windows_code_sign_pkcs11certfile
|
|
83
87
|
|
|
84
88
|
# @type [String] windows_code_sign_pkcs11key_id
|
|
@@ -90,6 +94,24 @@ module Comet
|
|
|
90
94
|
# @type [String] windows_code_sign_pkcs11password
|
|
91
95
|
attr_accessor :windows_code_sign_pkcs11password
|
|
92
96
|
|
|
97
|
+
# @type [String] windows_code_sign_azure_vault_name
|
|
98
|
+
attr_accessor :windows_code_sign_azure_vault_name
|
|
99
|
+
|
|
100
|
+
# @type [String] windows_code_sign_azure_cert_name
|
|
101
|
+
attr_accessor :windows_code_sign_azure_cert_name
|
|
102
|
+
|
|
103
|
+
# @type [String] windows_code_sign_azure_app_id
|
|
104
|
+
attr_accessor :windows_code_sign_azure_app_id
|
|
105
|
+
|
|
106
|
+
# @type [Number] windows_code_sign_azure_app_secret_format
|
|
107
|
+
attr_accessor :windows_code_sign_azure_app_secret_format
|
|
108
|
+
|
|
109
|
+
# @type [String] windows_code_sign_azure_app_secret
|
|
110
|
+
attr_accessor :windows_code_sign_azure_app_secret
|
|
111
|
+
|
|
112
|
+
# @type [String] windows_code_sign_azure_tenant_id
|
|
113
|
+
attr_accessor :windows_code_sign_azure_tenant_id
|
|
114
|
+
|
|
93
115
|
# @type [Comet::MacOSCodeSignProperties] mac_oscode_sign
|
|
94
116
|
attr_accessor :mac_oscode_sign
|
|
95
117
|
|
|
@@ -116,6 +138,7 @@ module Comet
|
|
|
116
138
|
@path_header_image = ''
|
|
117
139
|
@path_app_icon_image = ''
|
|
118
140
|
@package_identifier = ''
|
|
141
|
+
@windows_code_sign_method = 0
|
|
119
142
|
@windows_code_sign_pkcs12file_path = ''
|
|
120
143
|
@windows_code_sign_pkcs12password_format = 0
|
|
121
144
|
@windows_code_sign_pkcs12password = ''
|
|
@@ -125,6 +148,12 @@ module Comet
|
|
|
125
148
|
@windows_code_sign_pkcs11key_id = ''
|
|
126
149
|
@windows_code_sign_pkcs11password_format = 0
|
|
127
150
|
@windows_code_sign_pkcs11password = ''
|
|
151
|
+
@windows_code_sign_azure_vault_name = ''
|
|
152
|
+
@windows_code_sign_azure_cert_name = ''
|
|
153
|
+
@windows_code_sign_azure_app_id = ''
|
|
154
|
+
@windows_code_sign_azure_app_secret_format = 0
|
|
155
|
+
@windows_code_sign_azure_app_secret = ''
|
|
156
|
+
@windows_code_sign_azure_tenant_id = ''
|
|
128
157
|
@mac_oscode_sign = Comet::MacOSCodeSignProperties.new
|
|
129
158
|
@unknown_json_fields = {}
|
|
130
159
|
end
|
|
@@ -206,6 +235,10 @@ module Comet
|
|
|
206
235
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
207
236
|
|
|
208
237
|
@package_identifier = v
|
|
238
|
+
when 'WindowsCodeSignMethod'
|
|
239
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
240
|
+
|
|
241
|
+
@windows_code_sign_method = v
|
|
209
242
|
when 'WindowsCodeSignPKCS12FilePath'
|
|
210
243
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
211
244
|
|
|
@@ -242,6 +275,30 @@ module Comet
|
|
|
242
275
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
243
276
|
|
|
244
277
|
@windows_code_sign_pkcs11password = v
|
|
278
|
+
when 'WindowsCodeSignAzureVaultName'
|
|
279
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
280
|
+
|
|
281
|
+
@windows_code_sign_azure_vault_name = v
|
|
282
|
+
when 'WindowsCodeSignAzureCertName'
|
|
283
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
284
|
+
|
|
285
|
+
@windows_code_sign_azure_cert_name = v
|
|
286
|
+
when 'WindowsCodeSignAzureAppID'
|
|
287
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
288
|
+
|
|
289
|
+
@windows_code_sign_azure_app_id = v
|
|
290
|
+
when 'WindowsCodeSignAzureAppSecretFormat'
|
|
291
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
292
|
+
|
|
293
|
+
@windows_code_sign_azure_app_secret_format = v
|
|
294
|
+
when 'WindowsCodeSignAzureAppSecret'
|
|
295
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
296
|
+
|
|
297
|
+
@windows_code_sign_azure_app_secret = v
|
|
298
|
+
when 'WindowsCodeSignAzureTenantID'
|
|
299
|
+
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
300
|
+
|
|
301
|
+
@windows_code_sign_azure_tenant_id = v
|
|
245
302
|
when 'MacOSCodeSign'
|
|
246
303
|
@mac_oscode_sign = Comet::MacOSCodeSignProperties.new
|
|
247
304
|
@mac_oscode_sign.from_hash(v)
|
|
@@ -271,6 +328,7 @@ module Comet
|
|
|
271
328
|
ret['PathHeaderImage'] = @path_header_image
|
|
272
329
|
ret['PathAppIconImage'] = @path_app_icon_image
|
|
273
330
|
ret['PackageIdentifier'] = @package_identifier
|
|
331
|
+
ret['WindowsCodeSignMethod'] = @windows_code_sign_method
|
|
274
332
|
ret['WindowsCodeSignPKCS12FilePath'] = @windows_code_sign_pkcs12file_path
|
|
275
333
|
ret['WindowsCodeSignPKCS12PasswordFormat'] = @windows_code_sign_pkcs12password_format
|
|
276
334
|
ret['WindowsCodeSignPKCS12Password'] = @windows_code_sign_pkcs12password
|
|
@@ -280,6 +338,12 @@ module Comet
|
|
|
280
338
|
ret['WindowsCodeSignPKCS11KeyID'] = @windows_code_sign_pkcs11key_id
|
|
281
339
|
ret['WindowsCodeSignPKCS11PasswordFormat'] = @windows_code_sign_pkcs11password_format
|
|
282
340
|
ret['WindowsCodeSignPKCS11Password'] = @windows_code_sign_pkcs11password
|
|
341
|
+
ret['WindowsCodeSignAzureVaultName'] = @windows_code_sign_azure_vault_name
|
|
342
|
+
ret['WindowsCodeSignAzureCertName'] = @windows_code_sign_azure_cert_name
|
|
343
|
+
ret['WindowsCodeSignAzureAppID'] = @windows_code_sign_azure_app_id
|
|
344
|
+
ret['WindowsCodeSignAzureAppSecretFormat'] = @windows_code_sign_azure_app_secret_format
|
|
345
|
+
ret['WindowsCodeSignAzureAppSecret'] = @windows_code_sign_azure_app_secret
|
|
346
|
+
ret['WindowsCodeSignAzureTenantID'] = @windows_code_sign_azure_tenant_id
|
|
283
347
|
ret['MacOSCodeSign'] = @mac_oscode_sign
|
|
284
348
|
@unknown_json_fields.each do |k, v|
|
|
285
349
|
ret[k] = v
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -66,6 +66,12 @@ module Comet
|
|
|
66
66
|
# @type [Boolean] s3uses_v2signing
|
|
67
67
|
attr_accessor :s3uses_v2signing
|
|
68
68
|
|
|
69
|
+
# @type [Boolean] s3remove_deleted
|
|
70
|
+
attr_accessor :s3remove_deleted
|
|
71
|
+
|
|
72
|
+
# @type [Number] s3object_lock_days
|
|
73
|
+
attr_accessor :s3object_lock_days
|
|
74
|
+
|
|
69
75
|
# @type [String] sftpserver
|
|
70
76
|
attr_accessor :sftpserver
|
|
71
77
|
|
|
@@ -207,6 +213,7 @@ module Comet
|
|
|
207
213
|
@s3bucket_name = ''
|
|
208
214
|
@s3subdir = ''
|
|
209
215
|
@s3custom_region = ''
|
|
216
|
+
@s3object_lock_days = 0
|
|
210
217
|
@sftpserver = ''
|
|
211
218
|
@sftpusername = ''
|
|
212
219
|
@sftpremote_path = ''
|
|
@@ -345,6 +352,12 @@ module Comet
|
|
|
345
352
|
@s3custom_region = v
|
|
346
353
|
when 'S3UsesV2Signing'
|
|
347
354
|
@s3uses_v2signing = v
|
|
355
|
+
when 'S3RemoveDeleted'
|
|
356
|
+
@s3remove_deleted = v
|
|
357
|
+
when 'S3ObjectLockDays'
|
|
358
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
359
|
+
|
|
360
|
+
@s3object_lock_days = v
|
|
348
361
|
when 'SFTPServer'
|
|
349
362
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
350
363
|
|
|
@@ -517,6 +530,8 @@ module Comet
|
|
|
517
530
|
ret['S3Subdir'] = @s3subdir
|
|
518
531
|
ret['S3CustomRegion'] = @s3custom_region
|
|
519
532
|
ret['S3UsesV2Signing'] = @s3uses_v2signing
|
|
533
|
+
ret['S3RemoveDeleted'] = @s3remove_deleted
|
|
534
|
+
ret['S3ObjectLockDays'] = @s3object_lock_days
|
|
520
535
|
ret['SFTPServer'] = @sftpserver
|
|
521
536
|
ret['SFTPUsername'] = @sftpusername
|
|
522
537
|
ret['SFTPRemotePath'] = @sftpremote_path
|
|
@@ -48,6 +48,12 @@ module Comet
|
|
|
48
48
|
# @type [Boolean] s3uses_v2signing
|
|
49
49
|
attr_accessor :s3uses_v2signing
|
|
50
50
|
|
|
51
|
+
# @type [Boolean] s3remove_deleted
|
|
52
|
+
attr_accessor :s3remove_deleted
|
|
53
|
+
|
|
54
|
+
# @type [Number] s3object_lock_days
|
|
55
|
+
attr_accessor :s3object_lock_days
|
|
56
|
+
|
|
51
57
|
# @type [String] sftpserver
|
|
52
58
|
attr_accessor :sftpserver
|
|
53
59
|
|
|
@@ -159,6 +165,7 @@ module Comet
|
|
|
159
165
|
@s3bucket_name = ''
|
|
160
166
|
@s3subdir = ''
|
|
161
167
|
@s3custom_region = ''
|
|
168
|
+
@s3object_lock_days = 0
|
|
162
169
|
@sftpserver = ''
|
|
163
170
|
@sftpusername = ''
|
|
164
171
|
@sftpremote_path = ''
|
|
@@ -246,6 +253,12 @@ module Comet
|
|
|
246
253
|
@s3custom_region = v
|
|
247
254
|
when 'S3UsesV2Signing'
|
|
248
255
|
@s3uses_v2signing = v
|
|
256
|
+
when 'S3RemoveDeleted'
|
|
257
|
+
@s3remove_deleted = v
|
|
258
|
+
when 'S3ObjectLockDays'
|
|
259
|
+
raise TypeError, "'v' expected Numeric, got #{v.class}" unless v.is_a? Numeric
|
|
260
|
+
|
|
261
|
+
@s3object_lock_days = v
|
|
249
262
|
when 'SFTPServer'
|
|
250
263
|
raise TypeError, "'v' expected String, got #{v.class}" unless v.is_a? String
|
|
251
264
|
|
|
@@ -386,6 +399,8 @@ module Comet
|
|
|
386
399
|
ret['S3Subdir'] = @s3subdir
|
|
387
400
|
ret['S3CustomRegion'] = @s3custom_region
|
|
388
401
|
ret['S3UsesV2Signing'] = @s3uses_v2signing
|
|
402
|
+
ret['S3RemoveDeleted'] = @s3remove_deleted
|
|
403
|
+
ret['S3ObjectLockDays'] = @s3object_lock_days
|
|
389
404
|
ret['SFTPServer'] = @sftpserver
|
|
390
405
|
ret['SFTPUsername'] = @sftpusername
|
|
391
406
|
ret['SFTPRemotePath'] = @sftpremote_path
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|