pulpcore_client 3.83.2 → 3.85.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/README.md +9 -4
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/GenericRemoteResponse.md +1 -1
- data/docs/GroupRoleResponse.md +1 -1
- data/docs/MultipleArtifactContentResponse.md +2 -0
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
- data/docs/NestedOpenPGPUserIDResponse.md +1 -1
- data/docs/OpenPGPPublicKeyResponse.md +5 -3
- data/docs/OpenPGPPublicSubkeyResponse.md +3 -1
- data/docs/OpenPGPSignatureResponse.md +2 -0
- data/docs/OpenPGPUserAttributeResponse.md +3 -1
- data/docs/OpenPGPUserIDResponse.md +3 -1
- data/docs/PaginatedVulnerabilityReportResponseList.md +24 -0
- data/docs/PulpExportResponse.md +1 -1
- data/docs/Purge.md +1 -1
- data/docs/RBACContentGuardResponse.md +2 -2
- data/docs/RepositoryVersionResponse.md +3 -1
- data/docs/TaskGroupResponse.md +2 -2
- data/docs/TaskResponse.md +4 -4
- data/docs/UploadDetailResponse.md +1 -1
- data/docs/UpstreamPulpResponse.md +1 -1
- data/docs/UserResponse.md +2 -2
- data/docs/UserRoleResponse.md +1 -1
- data/docs/VulnReportApi.md +241 -0
- data/docs/VulnerabilityReportResponse.md +30 -0
- data/lib/pulpcore_client/api/vuln_report_api.rb +230 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
- data/lib/pulpcore_client/models/generic_remote_response.rb +0 -15
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +10 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +0 -9
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +0 -15
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +10 -1
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +10 -1
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +10 -16
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +10 -1
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +10 -1
- data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -24
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -2
- data/lib/pulpcore_client/models/paginated_vulnerability_report_response_list.rb +257 -0
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -2
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +0 -15
- data/lib/pulpcore_client/models/purge.rb +2 -0
- data/lib/pulpcore_client/models/repository_response.rb +0 -15
- data/lib/pulpcore_client/models/repository_version_response.rb +13 -4
- data/lib/pulpcore_client/models/storage_response.rb +0 -45
- data/lib/pulpcore_client/models/vulnerability_report_response.rb +277 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +3 -0
- data/spec/api/vuln_report_api_spec.rb +79 -0
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_key_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_subkey_response_spec.rb +6 -0
- data/spec/models/open_pgp_signature_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_attribute_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_id_response_spec.rb +6 -0
- data/spec/models/paginated_vulnerability_report_response_list_spec.rb +54 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/vulnerability_report_response_spec.rb +72 -0
- metadata +199 -187
@@ -30,6 +30,8 @@ module PulpcoreClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
attr_accessor :user_id
|
34
36
|
|
35
37
|
attr_accessor :signatures
|
@@ -44,6 +46,7 @@ module PulpcoreClient
|
|
44
46
|
:'pulp_created' => :'pulp_created',
|
45
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
48
|
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'vuln_report' => :'vuln_report',
|
47
50
|
:'user_id' => :'user_id',
|
48
51
|
:'signatures' => :'signatures',
|
49
52
|
:'public_key' => :'public_key'
|
@@ -63,6 +66,7 @@ module PulpcoreClient
|
|
63
66
|
:'pulp_created' => :'Time',
|
64
67
|
:'pulp_last_updated' => :'Time',
|
65
68
|
:'pulp_labels' => :'Hash<String, String>',
|
69
|
+
:'vuln_report' => :'String',
|
66
70
|
:'user_id' => :'String',
|
67
71
|
:'signatures' => :'Array<NestedOpenPGPSignatureResponse>',
|
68
72
|
:'public_key' => :'String'
|
@@ -112,6 +116,10 @@ module PulpcoreClient
|
|
112
116
|
end
|
113
117
|
end
|
114
118
|
|
119
|
+
if attributes.key?(:'vuln_report')
|
120
|
+
self.vuln_report = attributes[:'vuln_report']
|
121
|
+
end
|
122
|
+
|
115
123
|
if attributes.key?(:'user_id')
|
116
124
|
self.user_id = attributes[:'user_id']
|
117
125
|
else
|
@@ -159,6 +167,7 @@ module PulpcoreClient
|
|
159
167
|
pulp_created == o.pulp_created &&
|
160
168
|
pulp_last_updated == o.pulp_last_updated &&
|
161
169
|
pulp_labels == o.pulp_labels &&
|
170
|
+
vuln_report == o.vuln_report &&
|
162
171
|
user_id == o.user_id &&
|
163
172
|
signatures == o.signatures &&
|
164
173
|
public_key == o.public_key
|
@@ -173,7 +182,7 @@ module PulpcoreClient
|
|
173
182
|
# Calculates hash code according to all attributes.
|
174
183
|
# @return [Integer] Hash code
|
175
184
|
def hash
|
176
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, user_id, signatures, public_key].hash
|
185
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, user_id, signatures, public_key].hash
|
177
186
|
end
|
178
187
|
|
179
188
|
# Builds the object from hash
|
@@ -80,14 +80,6 @@ module PulpcoreClient
|
|
80
80
|
def list_invalid_properties
|
81
81
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
82
82
|
invalid_properties = Array.new
|
83
|
-
if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
|
84
|
-
invalid_properties.push('invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.')
|
85
|
-
end
|
86
|
-
|
87
|
-
if !@orphan_protection_time.nil? && @orphan_protection_time < 0
|
88
|
-
invalid_properties.push('invalid value for "orphan_protection_time", must be greater than or equal to 0.')
|
89
|
-
end
|
90
|
-
|
91
83
|
invalid_properties
|
92
84
|
end
|
93
85
|
|
@@ -95,25 +87,9 @@ module PulpcoreClient
|
|
95
87
|
# @return true if the model is valid
|
96
88
|
def valid?
|
97
89
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
98
|
-
return false if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
|
99
|
-
return false if !@orphan_protection_time.nil? && @orphan_protection_time < 0
|
100
90
|
true
|
101
91
|
end
|
102
92
|
|
103
|
-
# Custom attribute writer method with validation
|
104
|
-
# @param [Object] orphan_protection_time Value to be assigned
|
105
|
-
def orphan_protection_time=(orphan_protection_time)
|
106
|
-
if !orphan_protection_time.nil? && orphan_protection_time > 4294967295
|
107
|
-
fail ArgumentError, 'invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.'
|
108
|
-
end
|
109
|
-
|
110
|
-
if !orphan_protection_time.nil? && orphan_protection_time < 0
|
111
|
-
fail ArgumentError, 'invalid value for "orphan_protection_time", must be greater than or equal to 0.'
|
112
|
-
end
|
113
|
-
|
114
|
-
@orphan_protection_time = orphan_protection_time
|
115
|
-
end
|
116
|
-
|
117
93
|
# Checks equality by comparing each attribute.
|
118
94
|
# @param [Object] Object to be compared
|
119
95
|
def ==(o)
|