oci 2.118.2__py3-none-any.whl → 2.119.0__py3-none-any.whl

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.
Files changed (321) hide show
  1. oci/access_governance_cp/access_governance_cp_client.py +8 -8
  2. oci/adm/application_dependency_management_client.py +100 -47
  3. oci/adm/application_dependency_management_client_composite_operations.py +10 -5
  4. oci/adm/models/application_dependency.py +36 -3
  5. oci/adm/models/application_dependency_recommendation_summary.py +64 -2
  6. oci/adm/models/application_dependency_vulnerability_summary.py +35 -2
  7. oci/adm/models/create_vulnerability_audit_details.py +3 -3
  8. oci/adm/models/detect_configuration.py +65 -2
  9. oci/adm/models/usage_data_details.py +2 -1
  10. oci/adm/models/usage_data_via_object_storage_tuple_details.py +2 -1
  11. oci/adm/models/vulnerability.py +92 -2
  12. oci/adm/models/vulnerability_audit.py +133 -11
  13. oci/adm/models/vulnerability_audit_configuration.py +63 -0
  14. oci/adm/models/vulnerability_audit_summary.py +124 -6
  15. oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
  16. oci/ai_document/ai_service_document_client.py +22 -22
  17. oci/ai_language/ai_service_language_client.py +36 -36
  18. oci/ai_speech/ai_service_speech_client.py +9 -9
  19. oci/ai_vision/ai_service_vision_client.py +25 -25
  20. oci/analytics/analytics_client.py +23 -23
  21. oci/announcements_service/announcement_client.py +4 -4
  22. oci/announcements_service/announcement_subscription_client.py +9 -9
  23. oci/announcements_service/announcements_preferences_client.py +4 -4
  24. oci/apigateway/api_gateway_client.py +21 -21
  25. oci/apigateway/deployment_client.py +6 -6
  26. oci/apigateway/gateway_client.py +6 -6
  27. oci/apigateway/subscribers_client.py +6 -6
  28. oci/apigateway/usage_plans_client.py +6 -6
  29. oci/apigateway/work_requests_client.py +5 -5
  30. oci/apm_config/config_client.py +8 -8
  31. oci/apm_control_plane/apm_domain_client.py +14 -14
  32. oci/apm_synthetics/apm_synthetic_client.py +28 -28
  33. oci/apm_traces/query_client.py +2 -2
  34. oci/apm_traces/trace_client.py +4 -4
  35. oci/application_migration/application_migration_client.py +19 -19
  36. oci/appmgmt_control/appmgmt_control_client.py +8 -8
  37. oci/artifacts/artifacts_client.py +32 -32
  38. oci/audit/audit_client.py +3 -3
  39. oci/autoscaling/auto_scaling_client.py +11 -11
  40. oci/bastion/bastion_client.py +15 -15
  41. oci/bds/bds_client.py +51 -51
  42. oci/blockchain/blockchain_platform_client.py +27 -27
  43. oci/budget/budget_client.py +10 -10
  44. oci/certificates/certificates_client.py +5 -5
  45. oci/certificates_management/certificates_management_client.py +32 -32
  46. oci/cims/incident_client.py +8 -8
  47. oci/cims/user_client.py +1 -1
  48. oci/cloud_bridge/common_client.py +5 -5
  49. oci/cloud_bridge/discovery_client.py +14 -14
  50. oci/cloud_bridge/inventory_client.py +16 -16
  51. oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
  52. oci/cloud_guard/cloud_guard_client.py +133 -133
  53. oci/cloud_migrations/migration_client.py +43 -43
  54. oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
  55. oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
  56. oci/compute_instance_agent/plugin_client.py +2 -2
  57. oci/compute_instance_agent/pluginconfig_client.py +1 -1
  58. oci/container_engine/container_engine_client.py +44 -44
  59. oci/container_instances/container_instance_client.py +25 -20
  60. oci/core/blockstorage_client.py +60 -60
  61. oci/core/compute_client.py +99 -99
  62. oci/core/compute_management_client.py +32 -32
  63. oci/core/virtual_network_client.py +242 -242
  64. oci/dashboard_service/dashboard_client.py +6 -6
  65. oci/dashboard_service/dashboard_group_client.py +6 -6
  66. oci/data_catalog/data_catalog_client.py +147 -147
  67. oci/data_flow/data_flow_client.py +42 -42
  68. oci/data_integration/data_integration_client.py +163 -163
  69. oci/data_labeling_service/data_labeling_management_client.py +17 -17
  70. oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
  71. oci/data_safe/data_safe_client.py +4081 -1170
  72. oci/data_safe/data_safe_client_composite_operations.py +257 -0
  73. oci/data_safe/models/__init__.py +60 -0
  74. oci/data_safe/models/audit_event_summary.py +109 -0
  75. oci/data_safe/models/audit_trail.py +191 -0
  76. oci/data_safe/models/audit_trail_summary.py +31 -0
  77. oci/data_safe/models/available_audit_volume_summary.py +62 -0
  78. oci/data_safe/models/calculate_audit_volume_available_details.py +34 -3
  79. oci/data_safe/models/create_peer_target_database_details.py +188 -0
  80. oci/data_safe/models/create_target_database_details.py +31 -0
  81. oci/data_safe/models/database_table_access_entry.py +837 -0
  82. oci/data_safe/models/database_table_access_entry_collection.py +72 -0
  83. oci/data_safe/models/database_table_access_entry_summary.py +835 -0
  84. oci/data_safe/models/database_view_access_entry.py +772 -0
  85. oci/data_safe/models/database_view_access_entry_collection.py +72 -0
  86. oci/data_safe/models/database_view_access_entry_summary.py +771 -0
  87. oci/data_safe/models/diffs.py +7 -3
  88. oci/data_safe/models/finding.py +347 -5
  89. oci/data_safe/models/finding_analytics_collection.py +72 -0
  90. oci/data_safe/models/finding_analytics_dimensions.py +299 -0
  91. oci/data_safe/models/finding_analytics_summary.py +148 -0
  92. oci/data_safe/models/finding_summary.py +316 -5
  93. oci/data_safe/models/findings_change_audit_log_collection.py +72 -0
  94. oci/data_safe/models/findings_change_audit_log_summary.py +458 -0
  95. oci/data_safe/models/peer_target_database.py +414 -0
  96. oci/data_safe/models/peer_target_database_collection.py +134 -0
  97. oci/data_safe/models/peer_target_database_summary.py +360 -0
  98. oci/data_safe/models/role_grant_path_collection.py +72 -0
  99. oci/data_safe/models/role_grant_path_summary.py +169 -0
  100. oci/data_safe/models/security_assessment_statistics.py +29 -2
  101. oci/data_safe/models/security_feature_analytics_collection.py +72 -0
  102. oci/data_safe/models/security_feature_analytics_dimensions.py +124 -0
  103. oci/data_safe/models/security_feature_analytics_summary.py +142 -0
  104. oci/data_safe/models/security_feature_collection.py +72 -0
  105. oci/data_safe/models/security_feature_summary.py +773 -0
  106. oci/data_safe/models/security_policy_report.py +475 -0
  107. oci/data_safe/models/security_policy_report_collection.py +72 -0
  108. oci/data_safe/models/security_policy_report_summary.py +442 -0
  109. oci/data_safe/models/target_database.py +31 -0
  110. oci/data_safe/models/update_finding_details.py +134 -0
  111. oci/data_safe/models/update_peer_target_database_details.py +157 -0
  112. oci/data_safe/models/update_report_details.py +119 -0
  113. oci/data_safe/models/user_access_analytics_collection.py +72 -0
  114. oci/data_safe/models/user_access_analytics_summary.py +103 -0
  115. oci/data_safe/models/user_summary.py +64 -2
  116. oci/data_safe/models/work_request.py +35 -3
  117. oci/data_safe/models/work_request_summary.py +35 -3
  118. oci/data_science/data_science_client.py +91 -91
  119. oci/database/database_client.py +327 -327
  120. oci/database_management/db_management_client.py +182 -182
  121. oci/database_management/diagnosability_client.py +4 -4
  122. oci/database_management/managed_my_sql_databases_client.py +6 -6
  123. oci/database_management/perfhub_client.py +1 -1
  124. oci/database_management/sql_tuning_client.py +17 -17
  125. oci/database_migration/database_migration_client.py +41 -41
  126. oci/database_tools/database_tools_client.py +23 -23
  127. oci/devops/devops_client.py +89 -89
  128. oci/disaster_recovery/disaster_recovery_client.py +29 -29
  129. oci/dns/dns_client.py +52 -52
  130. oci/dts/appliance_export_job_client.py +6 -6
  131. oci/dts/shipping_vendors_client.py +1 -1
  132. oci/dts/transfer_appliance_client.py +8 -8
  133. oci/dts/transfer_appliance_entitlement_client.py +3 -3
  134. oci/dts/transfer_device_client.py +5 -5
  135. oci/dts/transfer_job_client.py +6 -6
  136. oci/dts/transfer_package_client.py +7 -7
  137. oci/em_warehouse/em_data_lake_client.py +13 -13
  138. oci/em_warehouse/em_warehouse_client.py +13 -13
  139. oci/email/email_client.py +25 -25
  140. oci/events/events_client.py +6 -6
  141. oci/file_storage/file_storage_client.py +50 -50
  142. oci/fleet_software_update/fleet_software_update_client.py +44 -44
  143. oci/functions/functions_invoke_client.py +1 -1
  144. oci/functions/functions_management_client.py +16 -16
  145. oci/fusion_apps/data_masking_activity_client.py +3 -3
  146. oci/fusion_apps/fusion_applications_client.py +39 -39
  147. oci/fusion_apps/fusion_environment_client.py +15 -15
  148. oci/fusion_apps/fusion_environment_family_client.py +8 -8
  149. oci/fusion_apps/refresh_activity_client.py +4 -4
  150. oci/fusion_apps/scheduled_activity_client.py +2 -2
  151. oci/fusion_apps/service_attachment_client.py +2 -2
  152. oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
  153. oci/golden_gate/golden_gate_client.py +61 -61
  154. oci/governance_rules_control_plane/governance_rule_client.py +15 -15
  155. oci/governance_rules_control_plane/work_request_client.py +5 -5
  156. oci/healthchecks/health_checks_client.py +17 -17
  157. oci/identity/identity_client.py +145 -145
  158. oci/identity_data_plane/dataplane_client.py +2 -2
  159. oci/identity_domains/identity_domains_client.py +558 -558
  160. oci/integration/integration_instance_client.py +15 -15
  161. oci/jms/java_management_service_client.py +66 -66
  162. oci/jms_java_downloads/java_download_client.py +25 -25
  163. oci/key_management/ekm_client.py +5 -5
  164. oci/key_management/kms_crypto_client.py +6 -6
  165. oci/key_management/kms_management_client.py +21 -21
  166. oci/key_management/kms_vault_client.py +14 -14
  167. oci/license_manager/license_manager_client.py +18 -18
  168. oci/limits/limits_client.py +4 -4
  169. oci/limits/quotas_client.py +7 -7
  170. oci/load_balancer/load_balancer_client.py +61 -61
  171. oci/lockbox/lockbox_client.py +23 -23
  172. oci/log_analytics/log_analytics_client.py +193 -193
  173. oci/logging/logging_management_client.py +30 -30
  174. oci/loggingingestion/logging_client.py +1 -1
  175. oci/loggingsearch/log_search_client.py +1 -1
  176. oci/management_agent/management_agent_client.py +23 -23
  177. oci/management_dashboard/dashx_apis_client.py +14 -14
  178. oci/marketplace/account_client.py +2 -2
  179. oci/marketplace/marketplace_client.py +30 -30
  180. oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
  181. oci/media_services/media_services_client.py +48 -48
  182. oci/media_services/media_stream_client.py +2 -2
  183. oci/monitoring/models/__init__.py +18 -0
  184. oci/monitoring/models/aggregated_datapoint.py +2 -2
  185. oci/monitoring/models/alarm.py +8 -10
  186. oci/monitoring/models/alarm_history_entry.py +4 -4
  187. oci/monitoring/models/alarm_status_summary.py +4 -4
  188. oci/monitoring/models/alarm_summary.py +43 -6
  189. oci/monitoring/models/alarm_suppression.py +506 -0
  190. oci/monitoring/models/alarm_suppression_alarm_target.py +86 -0
  191. oci/monitoring/models/alarm_suppression_collection.py +72 -0
  192. oci/monitoring/models/alarm_suppression_history_item.py +335 -0
  193. oci/monitoring/models/alarm_suppression_history_item_collection.py +72 -0
  194. oci/monitoring/models/alarm_suppression_summary.py +490 -0
  195. oci/monitoring/models/alarm_suppression_target.py +101 -0
  196. oci/monitoring/models/create_alarm_details.py +2 -4
  197. oci/monitoring/models/create_alarm_suppression_details.py +327 -0
  198. oci/monitoring/models/datapoint.py +2 -2
  199. oci/monitoring/models/list_metrics_details.py +2 -2
  200. oci/monitoring/models/metric.py +2 -2
  201. oci/monitoring/models/metric_data.py +2 -2
  202. oci/monitoring/models/metric_data_details.py +6 -6
  203. oci/monitoring/models/summarize_alarm_suppression_history_details.py +164 -0
  204. oci/monitoring/models/summarize_metrics_data_details.py +12 -6
  205. oci/monitoring/models/suppression.py +6 -5
  206. oci/monitoring/models/update_alarm_details.py +2 -4
  207. oci/monitoring/monitoring_client.py +737 -89
  208. oci/monitoring/monitoring_client_composite_operations.py +105 -0
  209. oci/mysql/channels_client.py +7 -7
  210. oci/mysql/db_backups_client.py +6 -6
  211. oci/mysql/db_system_client.py +17 -17
  212. oci/mysql/mysqlaas_client.py +7 -7
  213. oci/mysql/replicas_client.py +5 -5
  214. oci/mysql/work_requests_client.py +4 -4
  215. oci/network_firewall/network_firewall_client.py +80 -80
  216. oci/network_load_balancer/network_load_balancer_client.py +34 -34
  217. oci/nosql/nosql_client.py +24 -24
  218. oci/object_storage/object_storage_client.py +50 -50
  219. oci/oce/oce_instance_client.py +10 -10
  220. oci/oci_control_center/occ_metrics_client.py +3 -3
  221. oci/ocvp/cluster_client.py +5 -5
  222. oci/ocvp/esxi_host_client.py +8 -8
  223. oci/ocvp/sddc_client.py +14 -14
  224. oci/ocvp/work_request_client.py +4 -4
  225. oci/oda/management_client.py +56 -56
  226. oci/oda/oda_client.py +17 -17
  227. oci/oda/odapackage_client.py +7 -7
  228. oci/onesubscription/billing_schedule_client.py +1 -1
  229. oci/onesubscription/commitment_client.py +2 -2
  230. oci/onesubscription/computed_usage_client.py +3 -3
  231. oci/onesubscription/invoice_summary_client.py +2 -2
  232. oci/onesubscription/organization_subscription_client.py +1 -1
  233. oci/onesubscription/ratecard_client.py +1 -1
  234. oci/onesubscription/subscribed_service_client.py +2 -2
  235. oci/onesubscription/subscription_client.py +1 -1
  236. oci/ons/notification_control_plane_client.py +6 -6
  237. oci/ons/notification_data_plane_client.py +10 -10
  238. oci/opa/opa_instance_client.py +11 -11
  239. oci/opensearch/opensearch_cluster_backup_client.py +4 -4
  240. oci/opensearch/opensearch_cluster_client.py +14 -14
  241. oci/operator_access_control/access_requests_client.py +9 -9
  242. oci/operator_access_control/operator_actions_client.py +2 -2
  243. oci/operator_access_control/operator_control_assignment_client.py +6 -6
  244. oci/operator_access_control/operator_control_client.py +6 -6
  245. oci/opsi/operations_insights_client.py +175 -175
  246. oci/optimizer/optimizer_client.py +26 -26
  247. oci/os_management/event_client.py +8 -8
  248. oci/os_management/os_management_client.py +69 -69
  249. oci/os_management_hub/lifecycle_environment_client.py +11 -11
  250. oci/os_management_hub/managed_instance_client.py +22 -22
  251. oci/os_management_hub/managed_instance_group_client.py +22 -22
  252. oci/os_management_hub/management_station_client.py +8 -8
  253. oci/os_management_hub/onboarding_client.py +5 -5
  254. oci/os_management_hub/reporting_managed_instance_client.py +3 -3
  255. oci/os_management_hub/scheduled_job_client.py +6 -6
  256. oci/os_management_hub/software_source_client.py +22 -22
  257. oci/os_management_hub/work_request_client.py +4 -4
  258. oci/osp_gateway/address_rule_service_client.py +1 -1
  259. oci/osp_gateway/address_service_client.py +2 -2
  260. oci/osp_gateway/invoice_service_client.py +5 -5
  261. oci/osp_gateway/subscription_service_client.py +5 -5
  262. oci/osub_billing_schedule/billing_schedule_client.py +1 -1
  263. oci/osub_organization_subscription/organization_subscription_client.py +1 -1
  264. oci/osub_subscription/commitment_client.py +2 -2
  265. oci/osub_subscription/ratecard_client.py +1 -1
  266. oci/osub_subscription/subscription_client.py +1 -1
  267. oci/osub_usage/computed_usage_client.py +3 -3
  268. oci/psql/postgresql_client.py +33 -33
  269. oci/queue/queue_admin_client.py +11 -11
  270. oci/queue/queue_client.py +8 -8
  271. oci/recovery/database_recovery_client.py +23 -23
  272. oci/redis/redis_cluster_client.py +11 -11
  273. oci/resource_manager/resource_manager_client.py +52 -52
  274. oci/resource_search/resource_search_client.py +3 -3
  275. oci/rover/rover_bundle_client.py +8 -8
  276. oci/rover/rover_cluster_client.py +8 -8
  277. oci/rover/rover_entitlement_client.py +6 -6
  278. oci/rover/rover_node_client.py +15 -15
  279. oci/rover/shape_client.py +1 -1
  280. oci/rover/work_requests_client.py +5 -5
  281. oci/sch/service_connector_client.py +12 -12
  282. oci/secrets/secrets_client.py +3 -3
  283. oci/service_catalog/service_catalog_client.py +26 -26
  284. oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
  285. oci/service_mesh/service_mesh_client.py +48 -48
  286. oci/stack_monitoring/stack_monitoring_client.py +58 -58
  287. oci/streaming/stream_admin_client.py +18 -18
  288. oci/streaming/stream_client.py +8 -8
  289. oci/tenant_manager_control_plane/domain_client.py +5 -5
  290. oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
  291. oci/tenant_manager_control_plane/governance_client.py +2 -2
  292. oci/tenant_manager_control_plane/link_client.py +3 -3
  293. oci/tenant_manager_control_plane/orders_client.py +2 -2
  294. oci/tenant_manager_control_plane/organization_client.py +10 -10
  295. oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
  296. oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
  297. oci/tenant_manager_control_plane/subscription_client.py +11 -11
  298. oci/tenant_manager_control_plane/work_request_client.py +4 -4
  299. oci/threat_intelligence/threatintel_client.py +5 -5
  300. oci/usage/resources_client.py +2 -2
  301. oci/usage/rewards_client.py +6 -6
  302. oci/usage/usagelimits_client.py +1 -1
  303. oci/usage_api/usageapi_client.py +28 -28
  304. oci/vault/vaults_client.py +11 -11
  305. oci/vbs_inst/vbs_instance_client.py +10 -10
  306. oci/version.py +1 -1
  307. oci/visual_builder/vb_instance_client.py +13 -13
  308. oci/vn_monitoring/vn_monitoring_client.py +12 -12
  309. oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
  310. oci/waa/waa_client.py +13 -13
  311. oci/waa/work_request_client.py +4 -4
  312. oci/waas/redirect_client.py +6 -6
  313. oci/waas/waas_client.py +66 -66
  314. oci/waf/waf_client.py +24 -24
  315. oci/work_requests/work_request_client.py +4 -4
  316. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/METADATA +1 -1
  317. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/RECORD +321 -282
  318. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/LICENSE.txt +0 -0
  319. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  320. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/WHEEL +0 -0
  321. {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/top_level.txt +0 -0
@@ -315,14 +315,14 @@ class ApplicationDependencyManagementClientCompositeOperations(object):
315
315
 
316
316
  def create_vulnerability_audit_and_wait_for_state(self, create_vulnerability_audit_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
317
317
  """
318
- Calls :py:func:`~oci.adm.ApplicationDependencyManagementClient.create_vulnerability_audit` and waits for the :py:class:`~oci.adm.models.WorkRequest`
318
+ Calls :py:func:`~oci.adm.ApplicationDependencyManagementClient.create_vulnerability_audit` and waits for the :py:class:`~oci.adm.models.VulnerabilityAudit` acted upon
319
319
  to enter the given state(s).
320
320
 
321
321
  :param oci.adm.models.CreateVulnerabilityAuditDetails create_vulnerability_audit_details: (required)
322
322
  The details to create a new Vulnerability Audit.
323
323
 
324
324
  :param list[str] wait_for_states:
325
- An array of states to wait on. These should be valid values for :py:attr:`~oci.adm.models.WorkRequest.status`
325
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.adm.models.VulnerabilityAudit.lifecycle_state`
326
326
 
327
327
  :param dict operation_kwargs:
328
328
  A dictionary of keyword arguments to pass to :py:func:`~oci.adm.ApplicationDependencyManagementClient.create_vulnerability_audit`
@@ -336,18 +336,23 @@ class ApplicationDependencyManagementClientCompositeOperations(object):
336
336
  return operation_result
337
337
 
338
338
  lowered_wait_for_states = [w.lower() for w in wait_for_states]
339
- wait_for_resource_id = operation_result.headers['opc-work-request-id']
339
+ vulnerability_audit_id = operation_result.data.id
340
340
 
341
341
  try:
342
342
  waiter_result = oci.wait_until(
343
343
  self.client,
344
- self.client.get_work_request(wait_for_resource_id),
345
- evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
344
+ self.client.get_vulnerability_audit(vulnerability_audit_id), # noqa: F821
345
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
346
346
  **waiter_kwargs
347
347
  )
348
348
  result_to_return = waiter_result
349
349
 
350
350
  return result_to_return
351
+ except (NameError, TypeError) as e:
352
+ if not e.args:
353
+ e.args = ('',)
354
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
355
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
351
356
  except Exception as e:
352
357
  raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
353
358
 
@@ -24,6 +24,10 @@ class ApplicationDependency(object):
24
24
  The value to assign to the gav property of this ApplicationDependency.
25
25
  :type gav: str
26
26
 
27
+ :param purl:
28
+ The value to assign to the purl property of this ApplicationDependency.
29
+ :type purl: str
30
+
27
31
  :param node_id:
28
32
  The value to assign to the node_id property of this ApplicationDependency.
29
33
  :type node_id: str
@@ -35,25 +39,29 @@ class ApplicationDependency(object):
35
39
  """
36
40
  self.swagger_types = {
37
41
  'gav': 'str',
42
+ 'purl': 'str',
38
43
  'node_id': 'str',
39
44
  'application_dependency_node_ids': 'list[str]'
40
45
  }
41
46
 
42
47
  self.attribute_map = {
43
48
  'gav': 'gav',
49
+ 'purl': 'purl',
44
50
  'node_id': 'nodeId',
45
51
  'application_dependency_node_ids': 'applicationDependencyNodeIds'
46
52
  }
47
53
 
48
54
  self._gav = None
55
+ self._purl = None
49
56
  self._node_id = None
50
57
  self._application_dependency_node_ids = None
51
58
 
52
59
  @property
53
60
  def gav(self):
54
61
  """
55
- **[Required]** Gets the gav of this ApplicationDependency.
56
- Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
62
+ Gets the gav of this ApplicationDependency.
63
+ Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.
64
+ \"N/A\" for non-maven artifacts.
57
65
 
58
66
 
59
67
  :return: The gav of this ApplicationDependency.
@@ -65,7 +73,8 @@ class ApplicationDependency(object):
65
73
  def gav(self, gav):
66
74
  """
67
75
  Sets the gav of this ApplicationDependency.
68
- Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
76
+ Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.
77
+ \"N/A\" for non-maven artifacts.
69
78
 
70
79
 
71
80
  :param gav: The gav of this ApplicationDependency.
@@ -73,6 +82,30 @@ class ApplicationDependency(object):
73
82
  """
74
83
  self._gav = gav
75
84
 
85
+ @property
86
+ def purl(self):
87
+ """
88
+ Gets the purl of this ApplicationDependency.
89
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
90
+
91
+
92
+ :return: The purl of this ApplicationDependency.
93
+ :rtype: str
94
+ """
95
+ return self._purl
96
+
97
+ @purl.setter
98
+ def purl(self, purl):
99
+ """
100
+ Sets the purl of this ApplicationDependency.
101
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
102
+
103
+
104
+ :param purl: The purl of this ApplicationDependency.
105
+ :type: str
106
+ """
107
+ self._purl = purl
108
+
76
109
  @property
77
110
  def node_id(self):
78
111
  """
@@ -25,6 +25,10 @@ class ApplicationDependencyRecommendationSummary(object):
25
25
  The value to assign to the gav property of this ApplicationDependencyRecommendationSummary.
26
26
  :type gav: str
27
27
 
28
+ :param purl:
29
+ The value to assign to the purl property of this ApplicationDependencyRecommendationSummary.
30
+ :type purl: str
31
+
28
32
  :param node_id:
29
33
  The value to assign to the node_id property of this ApplicationDependencyRecommendationSummary.
30
34
  :type node_id: str
@@ -37,25 +41,35 @@ class ApplicationDependencyRecommendationSummary(object):
37
41
  The value to assign to the recommended_gav property of this ApplicationDependencyRecommendationSummary.
38
42
  :type recommended_gav: str
39
43
 
44
+ :param recommended_purl:
45
+ The value to assign to the recommended_purl property of this ApplicationDependencyRecommendationSummary.
46
+ :type recommended_purl: str
47
+
40
48
  """
41
49
  self.swagger_types = {
42
50
  'gav': 'str',
51
+ 'purl': 'str',
43
52
  'node_id': 'str',
44
53
  'application_dependency_node_ids': 'list[str]',
45
- 'recommended_gav': 'str'
54
+ 'recommended_gav': 'str',
55
+ 'recommended_purl': 'str'
46
56
  }
47
57
 
48
58
  self.attribute_map = {
49
59
  'gav': 'gav',
60
+ 'purl': 'purl',
50
61
  'node_id': 'nodeId',
51
62
  'application_dependency_node_ids': 'applicationDependencyNodeIds',
52
- 'recommended_gav': 'recommendedGav'
63
+ 'recommended_gav': 'recommendedGav',
64
+ 'recommended_purl': 'recommendedPurl'
53
65
  }
54
66
 
55
67
  self._gav = None
68
+ self._purl = None
56
69
  self._node_id = None
57
70
  self._application_dependency_node_ids = None
58
71
  self._recommended_gav = None
72
+ self._recommended_purl = None
59
73
 
60
74
  @property
61
75
  def gav(self):
@@ -81,6 +95,30 @@ class ApplicationDependencyRecommendationSummary(object):
81
95
  """
82
96
  self._gav = gav
83
97
 
98
+ @property
99
+ def purl(self):
100
+ """
101
+ Gets the purl of this ApplicationDependencyRecommendationSummary.
102
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
103
+
104
+
105
+ :return: The purl of this ApplicationDependencyRecommendationSummary.
106
+ :rtype: str
107
+ """
108
+ return self._purl
109
+
110
+ @purl.setter
111
+ def purl(self, purl):
112
+ """
113
+ Sets the purl of this ApplicationDependencyRecommendationSummary.
114
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
115
+
116
+
117
+ :param purl: The purl of this ApplicationDependencyRecommendationSummary.
118
+ :type: str
119
+ """
120
+ self._purl = purl
121
+
84
122
  @property
85
123
  def node_id(self):
86
124
  """
@@ -153,6 +191,30 @@ class ApplicationDependencyRecommendationSummary(object):
153
191
  """
154
192
  self._recommended_gav = recommended_gav
155
193
 
194
+ @property
195
+ def recommended_purl(self):
196
+ """
197
+ Gets the recommended_purl of this ApplicationDependencyRecommendationSummary.
198
+ Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
199
+
200
+
201
+ :return: The recommended_purl of this ApplicationDependencyRecommendationSummary.
202
+ :rtype: str
203
+ """
204
+ return self._recommended_purl
205
+
206
+ @recommended_purl.setter
207
+ def recommended_purl(self, recommended_purl):
208
+ """
209
+ Sets the recommended_purl of this ApplicationDependencyRecommendationSummary.
210
+ Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
211
+
212
+
213
+ :param recommended_purl: The recommended_purl of this ApplicationDependencyRecommendationSummary.
214
+ :type: str
215
+ """
216
+ self._recommended_purl = recommended_purl
217
+
156
218
  def __repr__(self):
157
219
  return formatted_flat_dict(self)
158
220
 
@@ -26,6 +26,10 @@ class ApplicationDependencyVulnerabilitySummary(object):
26
26
  The value to assign to the gav property of this ApplicationDependencyVulnerabilitySummary.
27
27
  :type gav: str
28
28
 
29
+ :param purl:
30
+ The value to assign to the purl property of this ApplicationDependencyVulnerabilitySummary.
31
+ :type purl: str
32
+
29
33
  :param node_id:
30
34
  The value to assign to the node_id property of this ApplicationDependencyVulnerabilitySummary.
31
35
  :type node_id: str
@@ -45,6 +49,7 @@ class ApplicationDependencyVulnerabilitySummary(object):
45
49
  """
46
50
  self.swagger_types = {
47
51
  'gav': 'str',
52
+ 'purl': 'str',
48
53
  'node_id': 'str',
49
54
  'application_dependency_node_ids': 'list[str]',
50
55
  'vulnerabilities': 'list[Vulnerability]',
@@ -53,6 +58,7 @@ class ApplicationDependencyVulnerabilitySummary(object):
53
58
 
54
59
  self.attribute_map = {
55
60
  'gav': 'gav',
61
+ 'purl': 'purl',
56
62
  'node_id': 'nodeId',
57
63
  'application_dependency_node_ids': 'applicationDependencyNodeIds',
58
64
  'vulnerabilities': 'vulnerabilities',
@@ -60,6 +66,7 @@ class ApplicationDependencyVulnerabilitySummary(object):
60
66
  }
61
67
 
62
68
  self._gav = None
69
+ self._purl = None
63
70
  self._node_id = None
64
71
  self._application_dependency_node_ids = None
65
72
  self._vulnerabilities = None
@@ -69,7 +76,8 @@ class ApplicationDependencyVulnerabilitySummary(object):
69
76
  def gav(self):
70
77
  """
71
78
  **[Required]** Gets the gav of this ApplicationDependencyVulnerabilitySummary.
72
- Group Artifact Version (GAV) identifier (Group:Artifact:Version), for example org.graalvm.nativeimage:svm:21.1.0.
79
+ Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.
80
+ \"N/A\" for non-maven artifacts.
73
81
 
74
82
 
75
83
  :return: The gav of this ApplicationDependencyVulnerabilitySummary.
@@ -81,7 +89,8 @@ class ApplicationDependencyVulnerabilitySummary(object):
81
89
  def gav(self, gav):
82
90
  """
83
91
  Sets the gav of this ApplicationDependencyVulnerabilitySummary.
84
- Group Artifact Version (GAV) identifier (Group:Artifact:Version), for example org.graalvm.nativeimage:svm:21.1.0.
92
+ Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.
93
+ \"N/A\" for non-maven artifacts.
85
94
 
86
95
 
87
96
  :param gav: The gav of this ApplicationDependencyVulnerabilitySummary.
@@ -89,6 +98,30 @@ class ApplicationDependencyVulnerabilitySummary(object):
89
98
  """
90
99
  self._gav = gav
91
100
 
101
+ @property
102
+ def purl(self):
103
+ """
104
+ Gets the purl of this ApplicationDependencyVulnerabilitySummary.
105
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
106
+
107
+
108
+ :return: The purl of this ApplicationDependencyVulnerabilitySummary.
109
+ :rtype: str
110
+ """
111
+ return self._purl
112
+
113
+ @purl.setter
114
+ def purl(self, purl):
115
+ """
116
+ Sets the purl of this ApplicationDependencyVulnerabilitySummary.
117
+ Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
118
+
119
+
120
+ :param purl: The purl of this ApplicationDependencyVulnerabilitySummary.
121
+ :type: str
122
+ """
123
+ self._purl = purl
124
+
92
125
  @property
93
126
  def node_id(self):
94
127
  """
@@ -183,8 +183,8 @@ class CreateVulnerabilityAuditDetails(object):
183
183
  @property
184
184
  def build_type(self):
185
185
  """
186
- **[Required]** Gets the build_type of this CreateVulnerabilityAuditDetails.
187
- The type of the build tool.
186
+ Gets the build_type of this CreateVulnerabilityAuditDetails.
187
+ The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
188
188
 
189
189
 
190
190
  :return: The build_type of this CreateVulnerabilityAuditDetails.
@@ -196,7 +196,7 @@ class CreateVulnerabilityAuditDetails(object):
196
196
  def build_type(self, build_type):
197
197
  """
198
198
  Sets the build_type of this CreateVulnerabilityAuditDetails.
199
- The type of the build tool.
199
+ The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
200
200
 
201
201
 
202
202
  :param build_type: The build_type of this CreateVulnerabilityAuditDetails.
@@ -19,6 +19,30 @@ class DetectConfiguration(object):
19
19
  #: This constant has a value of "NEAREST"
20
20
  UPGRADE_POLICY_NEAREST = "NEAREST"
21
21
 
22
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
23
+ #: This constant has a value of "UNSET"
24
+ MAX_PERMISSIBLE_SEVERITY_UNSET = "UNSET"
25
+
26
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
27
+ #: This constant has a value of "NONE"
28
+ MAX_PERMISSIBLE_SEVERITY_NONE = "NONE"
29
+
30
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
31
+ #: This constant has a value of "LOW"
32
+ MAX_PERMISSIBLE_SEVERITY_LOW = "LOW"
33
+
34
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
35
+ #: This constant has a value of "MEDIUM"
36
+ MAX_PERMISSIBLE_SEVERITY_MEDIUM = "MEDIUM"
37
+
38
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
39
+ #: This constant has a value of "HIGH"
40
+ MAX_PERMISSIBLE_SEVERITY_HIGH = "HIGH"
41
+
42
+ #: A constant which can be used with the max_permissible_severity property of a DetectConfiguration.
43
+ #: This constant has a value of "CRITICAL"
44
+ MAX_PERMISSIBLE_SEVERITY_CRITICAL = "CRITICAL"
45
+
22
46
  def __init__(self, **kwargs):
23
47
  """
24
48
  Initializes a new DetectConfiguration object with values from keyword arguments.
@@ -42,25 +66,34 @@ class DetectConfiguration(object):
42
66
  The value to assign to the max_permissible_cvss_v3_score property of this DetectConfiguration.
43
67
  :type max_permissible_cvss_v3_score: float
44
68
 
69
+ :param max_permissible_severity:
70
+ The value to assign to the max_permissible_severity property of this DetectConfiguration.
71
+ Allowed values for this property are: "UNSET", "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
72
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
73
+ :type max_permissible_severity: str
74
+
45
75
  """
46
76
  self.swagger_types = {
47
77
  'exclusions': 'list[str]',
48
78
  'upgrade_policy': 'str',
49
79
  'max_permissible_cvss_v2_score': 'float',
50
- 'max_permissible_cvss_v3_score': 'float'
80
+ 'max_permissible_cvss_v3_score': 'float',
81
+ 'max_permissible_severity': 'str'
51
82
  }
52
83
 
53
84
  self.attribute_map = {
54
85
  'exclusions': 'exclusions',
55
86
  'upgrade_policy': 'upgradePolicy',
56
87
  'max_permissible_cvss_v2_score': 'maxPermissibleCvssV2Score',
57
- 'max_permissible_cvss_v3_score': 'maxPermissibleCvssV3Score'
88
+ 'max_permissible_cvss_v3_score': 'maxPermissibleCvssV3Score',
89
+ 'max_permissible_severity': 'maxPermissibleSeverity'
58
90
  }
59
91
 
60
92
  self._exclusions = None
61
93
  self._upgrade_policy = None
62
94
  self._max_permissible_cvss_v2_score = None
63
95
  self._max_permissible_cvss_v3_score = None
96
+ self._max_permissible_severity = None
64
97
 
65
98
  @property
66
99
  def exclusions(self):
@@ -168,6 +201,36 @@ class DetectConfiguration(object):
168
201
  """
169
202
  self._max_permissible_cvss_v3_score = max_permissible_cvss_v3_score
170
203
 
204
+ @property
205
+ def max_permissible_severity(self):
206
+ """
207
+ Gets the max_permissible_severity of this DetectConfiguration.
208
+ The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
209
+
210
+ Allowed values for this property are: "UNSET", "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
211
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
212
+
213
+
214
+ :return: The max_permissible_severity of this DetectConfiguration.
215
+ :rtype: str
216
+ """
217
+ return self._max_permissible_severity
218
+
219
+ @max_permissible_severity.setter
220
+ def max_permissible_severity(self, max_permissible_severity):
221
+ """
222
+ Sets the max_permissible_severity of this DetectConfiguration.
223
+ The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
224
+
225
+
226
+ :param max_permissible_severity: The max_permissible_severity of this DetectConfiguration.
227
+ :type: str
228
+ """
229
+ allowed_values = ["UNSET", "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL"]
230
+ if not value_allowed_none_or_none_sentinel(max_permissible_severity, allowed_values):
231
+ max_permissible_severity = 'UNKNOWN_ENUM_VALUE'
232
+ self._max_permissible_severity = max_permissible_severity
233
+
171
234
  def __repr__(self):
172
235
  return formatted_flat_dict(self)
173
236
 
@@ -12,7 +12,8 @@ from oci.decorators import init_model_state_from_kwargs
12
12
  @init_model_state_from_kwargs
13
13
  class UsageDataDetails(object):
14
14
  """
15
- The source details of the usage data on Object Storage.
15
+ The source details of the usage data in object storage. The usage data file uploaded to object storage must be a gzip archive
16
+ of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
16
17
  Set `sourceType` to `objectStorageTuple`
17
18
  and use :func:`usage_data_via_object_storage_tuple_details`
18
19
  when specifying the namespace, bucket name, and object name.
@@ -12,7 +12,8 @@ from oci.decorators import init_model_state_from_kwargs
12
12
  @init_model_state_from_kwargs
13
13
  class UsageDataViaObjectStorageTupleDetails(UsageDataDetails):
14
14
  """
15
- Reference to an object in Object Storage as a tuple.
15
+ Reference to an object in object storage as a tuple. The usage data file uploaded to object storage must be a gzip archive
16
+ of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
16
17
  """
17
18
 
18
19
  def __init__(self, **kwargs):
@@ -16,6 +16,26 @@ class Vulnerability(object):
16
16
  A vulnerability is a generalization of a CVE (every CVE is a vulnerability, but not every vulnerability has a CVE).
17
17
  """
18
18
 
19
+ #: A constant which can be used with the severity property of a Vulnerability.
20
+ #: This constant has a value of "NONE"
21
+ SEVERITY_NONE = "NONE"
22
+
23
+ #: A constant which can be used with the severity property of a Vulnerability.
24
+ #: This constant has a value of "LOW"
25
+ SEVERITY_LOW = "LOW"
26
+
27
+ #: A constant which can be used with the severity property of a Vulnerability.
28
+ #: This constant has a value of "MEDIUM"
29
+ SEVERITY_MEDIUM = "MEDIUM"
30
+
31
+ #: A constant which can be used with the severity property of a Vulnerability.
32
+ #: This constant has a value of "HIGH"
33
+ SEVERITY_HIGH = "HIGH"
34
+
35
+ #: A constant which can be used with the severity property of a Vulnerability.
36
+ #: This constant has a value of "CRITICAL"
37
+ SEVERITY_CRITICAL = "CRITICAL"
38
+
19
39
  def __init__(self, **kwargs):
20
40
  """
21
41
  Initializes a new Vulnerability object with values from keyword arguments.
@@ -25,6 +45,10 @@ class Vulnerability(object):
25
45
  The value to assign to the id property of this Vulnerability.
26
46
  :type id: str
27
47
 
48
+ :param source:
49
+ The value to assign to the source property of this Vulnerability.
50
+ :type source: str
51
+
28
52
  :param cvss_v2_score:
29
53
  The value to assign to the cvss_v2_score property of this Vulnerability.
30
54
  :type cvss_v2_score: float
@@ -33,6 +57,12 @@ class Vulnerability(object):
33
57
  The value to assign to the cvss_v3_score property of this Vulnerability.
34
58
  :type cvss_v3_score: float
35
59
 
60
+ :param severity:
61
+ The value to assign to the severity property of this Vulnerability.
62
+ Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
63
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
64
+ :type severity: str
65
+
36
66
  :param is_ignored:
37
67
  The value to assign to the is_ignored property of this Vulnerability.
38
68
  :type is_ignored: bool
@@ -44,23 +74,29 @@ class Vulnerability(object):
44
74
  """
45
75
  self.swagger_types = {
46
76
  'id': 'str',
77
+ 'source': 'str',
47
78
  'cvss_v2_score': 'float',
48
79
  'cvss_v3_score': 'float',
80
+ 'severity': 'str',
49
81
  'is_ignored': 'bool',
50
82
  'is_false_positive': 'bool'
51
83
  }
52
84
 
53
85
  self.attribute_map = {
54
86
  'id': 'id',
87
+ 'source': 'source',
55
88
  'cvss_v2_score': 'cvssV2Score',
56
89
  'cvss_v3_score': 'cvssV3Score',
90
+ 'severity': 'severity',
57
91
  'is_ignored': 'isIgnored',
58
92
  'is_false_positive': 'isFalsePositive'
59
93
  }
60
94
 
61
95
  self._id = None
96
+ self._source = None
62
97
  self._cvss_v2_score = None
63
98
  self._cvss_v3_score = None
99
+ self._severity = None
64
100
  self._is_ignored = None
65
101
  self._is_false_positive = None
66
102
 
@@ -88,10 +124,34 @@ class Vulnerability(object):
88
124
  """
89
125
  self._id = id
90
126
 
127
+ @property
128
+ def source(self):
129
+ """
130
+ Gets the source of this Vulnerability.
131
+ Source that published the vulnerability
132
+
133
+
134
+ :return: The source of this Vulnerability.
135
+ :rtype: str
136
+ """
137
+ return self._source
138
+
139
+ @source.setter
140
+ def source(self, source):
141
+ """
142
+ Sets the source of this Vulnerability.
143
+ Source that published the vulnerability
144
+
145
+
146
+ :param source: The source of this Vulnerability.
147
+ :type: str
148
+ """
149
+ self._source = source
150
+
91
151
  @property
92
152
  def cvss_v2_score(self):
93
153
  """
94
- **[Required]** Gets the cvss_v2_score of this Vulnerability.
154
+ Gets the cvss_v2_score of this Vulnerability.
95
155
  Common Vulnerability Scoring System (CVSS) Version 2.
96
156
 
97
157
 
@@ -115,7 +175,7 @@ class Vulnerability(object):
115
175
  @property
116
176
  def cvss_v3_score(self):
117
177
  """
118
- **[Required]** Gets the cvss_v3_score of this Vulnerability.
178
+ Gets the cvss_v3_score of this Vulnerability.
119
179
  Common Vulnerability Scoring System (CVSS) Version 3.
120
180
 
121
181
 
@@ -136,6 +196,36 @@ class Vulnerability(object):
136
196
  """
137
197
  self._cvss_v3_score = cvss_v3_score
138
198
 
199
+ @property
200
+ def severity(self):
201
+ """
202
+ Gets the severity of this Vulnerability.
203
+ ADM qualitative severity score. Can be either NONE, LOW, MEDIUM, HIGH or CRITICAL.
204
+
205
+ Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
206
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
207
+
208
+
209
+ :return: The severity of this Vulnerability.
210
+ :rtype: str
211
+ """
212
+ return self._severity
213
+
214
+ @severity.setter
215
+ def severity(self, severity):
216
+ """
217
+ Sets the severity of this Vulnerability.
218
+ ADM qualitative severity score. Can be either NONE, LOW, MEDIUM, HIGH or CRITICAL.
219
+
220
+
221
+ :param severity: The severity of this Vulnerability.
222
+ :type: str
223
+ """
224
+ allowed_values = ["NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL"]
225
+ if not value_allowed_none_or_none_sentinel(severity, allowed_values):
226
+ severity = 'UNKNOWN_ENUM_VALUE'
227
+ self._severity = severity
228
+
139
229
  @property
140
230
  def is_ignored(self):
141
231
  """