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
@@ -39,6 +39,10 @@ class Diffs(object):
39
39
  #: This constant has a value of "PASS"
40
40
  SEVERITY_PASS = "PASS"
41
41
 
42
+ #: A constant which can be used with the severity property of a Diffs.
43
+ #: This constant has a value of "DEFERRED"
44
+ SEVERITY_DEFERRED = "DEFERRED"
45
+
42
46
  def __init__(self, **kwargs):
43
47
  """
44
48
  Initializes a new Diffs object with values from keyword arguments.
@@ -66,7 +70,7 @@ class Diffs(object):
66
70
 
67
71
  :param severity:
68
72
  The value to assign to the severity property of this Diffs.
69
- Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
73
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
70
74
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
71
75
  :type severity: str
72
76
 
@@ -214,7 +218,7 @@ class Diffs(object):
214
218
  Gets the severity of this Diffs.
215
219
  The severity of this diff.
216
220
 
217
- Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
221
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
218
222
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
219
223
 
220
224
 
@@ -233,7 +237,7 @@ class Diffs(object):
233
237
  :param severity: The severity of this Diffs.
234
238
  :type: str
235
239
  """
236
- allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS"]
240
+ allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"]
237
241
  if not value_allowed_none_or_none_sentinel(severity, allowed_values):
238
242
  severity = 'UNKNOWN_ENUM_VALUE'
239
243
  self._severity = severity
@@ -39,6 +39,26 @@ class Finding(object):
39
39
  #: This constant has a value of "PASS"
40
40
  SEVERITY_PASS = "PASS"
41
41
 
42
+ #: A constant which can be used with the severity property of a Finding.
43
+ #: This constant has a value of "DEFERRED"
44
+ SEVERITY_DEFERRED = "DEFERRED"
45
+
46
+ #: A constant which can be used with the lifecycle_state property of a Finding.
47
+ #: This constant has a value of "ACTIVE"
48
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
49
+
50
+ #: A constant which can be used with the lifecycle_state property of a Finding.
51
+ #: This constant has a value of "UPDATING"
52
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
53
+
54
+ #: A constant which can be used with the lifecycle_state property of a Finding.
55
+ #: This constant has a value of "NEEDS_ATTENTION"
56
+ LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
57
+
58
+ #: A constant which can be used with the lifecycle_state property of a Finding.
59
+ #: This constant has a value of "FAILED"
60
+ LIFECYCLE_STATE_FAILED = "FAILED"
61
+
42
62
  def __init__(self, **kwargs):
43
63
  """
44
64
  Initializes a new Finding object with values from keyword arguments.
@@ -50,10 +70,18 @@ class Finding(object):
50
70
 
51
71
  :param severity:
52
72
  The value to assign to the severity property of this Finding.
53
- Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
73
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
54
74
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
55
75
  :type severity: str
56
76
 
77
+ :param assessment_id:
78
+ The value to assign to the assessment_id property of this Finding.
79
+ :type assessment_id: str
80
+
81
+ :param target_id:
82
+ The value to assign to the target_id property of this Finding.
83
+ :type target_id: str
84
+
57
85
  :param title:
58
86
  The value to assign to the title property of this Finding.
59
87
  :type title: str
@@ -74,34 +102,98 @@ class Finding(object):
74
102
  The value to assign to the references property of this Finding.
75
103
  :type references: oci.data_safe.models.References
76
104
 
105
+ :param oracle_defined_severity:
106
+ The value to assign to the oracle_defined_severity property of this Finding.
107
+ :type oracle_defined_severity: str
108
+
109
+ :param is_risk_modified:
110
+ The value to assign to the is_risk_modified property of this Finding.
111
+ :type is_risk_modified: bool
112
+
113
+ :param has_target_db_risk_level_changed:
114
+ The value to assign to the has_target_db_risk_level_changed property of this Finding.
115
+ :type has_target_db_risk_level_changed: bool
116
+
117
+ :param justification:
118
+ The value to assign to the justification property of this Finding.
119
+ :type justification: str
120
+
121
+ :param time_valid_until:
122
+ The value to assign to the time_valid_until property of this Finding.
123
+ :type time_valid_until: datetime
124
+
125
+ :param time_updated:
126
+ The value to assign to the time_updated property of this Finding.
127
+ :type time_updated: datetime
128
+
129
+ :param lifecycle_state:
130
+ The value to assign to the lifecycle_state property of this Finding.
131
+ Allowed values for this property are: "ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
132
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
133
+ :type lifecycle_state: str
134
+
135
+ :param lifecycle_details:
136
+ The value to assign to the lifecycle_details property of this Finding.
137
+ :type lifecycle_details: str
138
+
77
139
  """
78
140
  self.swagger_types = {
79
141
  'key': 'str',
80
142
  'severity': 'str',
143
+ 'assessment_id': 'str',
144
+ 'target_id': 'str',
81
145
  'title': 'str',
82
146
  'remarks': 'str',
83
147
  'details': 'object',
84
148
  'summary': 'str',
85
- 'references': 'References'
149
+ 'references': 'References',
150
+ 'oracle_defined_severity': 'str',
151
+ 'is_risk_modified': 'bool',
152
+ 'has_target_db_risk_level_changed': 'bool',
153
+ 'justification': 'str',
154
+ 'time_valid_until': 'datetime',
155
+ 'time_updated': 'datetime',
156
+ 'lifecycle_state': 'str',
157
+ 'lifecycle_details': 'str'
86
158
  }
87
159
 
88
160
  self.attribute_map = {
89
161
  'key': 'key',
90
162
  'severity': 'severity',
163
+ 'assessment_id': 'assessmentId',
164
+ 'target_id': 'targetId',
91
165
  'title': 'title',
92
166
  'remarks': 'remarks',
93
167
  'details': 'details',
94
168
  'summary': 'summary',
95
- 'references': 'references'
169
+ 'references': 'references',
170
+ 'oracle_defined_severity': 'oracleDefinedSeverity',
171
+ 'is_risk_modified': 'isRiskModified',
172
+ 'has_target_db_risk_level_changed': 'hasTargetDbRiskLevelChanged',
173
+ 'justification': 'justification',
174
+ 'time_valid_until': 'timeValidUntil',
175
+ 'time_updated': 'timeUpdated',
176
+ 'lifecycle_state': 'lifecycleState',
177
+ 'lifecycle_details': 'lifecycleDetails'
96
178
  }
97
179
 
98
180
  self._key = None
99
181
  self._severity = None
182
+ self._assessment_id = None
183
+ self._target_id = None
100
184
  self._title = None
101
185
  self._remarks = None
102
186
  self._details = None
103
187
  self._summary = None
104
188
  self._references = None
189
+ self._oracle_defined_severity = None
190
+ self._is_risk_modified = None
191
+ self._has_target_db_risk_level_changed = None
192
+ self._justification = None
193
+ self._time_valid_until = None
194
+ self._time_updated = None
195
+ self._lifecycle_state = None
196
+ self._lifecycle_details = None
105
197
 
106
198
  @property
107
199
  def key(self):
@@ -133,7 +225,7 @@ class Finding(object):
133
225
  Gets the severity of this Finding.
134
226
  The severity of the finding.
135
227
 
136
- Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", 'UNKNOWN_ENUM_VALUE'.
228
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
137
229
  Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
138
230
 
139
231
 
@@ -152,11 +244,59 @@ class Finding(object):
152
244
  :param severity: The severity of this Finding.
153
245
  :type: str
154
246
  """
155
- allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS"]
247
+ allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"]
156
248
  if not value_allowed_none_or_none_sentinel(severity, allowed_values):
157
249
  severity = 'UNKNOWN_ENUM_VALUE'
158
250
  self._severity = severity
159
251
 
252
+ @property
253
+ def assessment_id(self):
254
+ """
255
+ Gets the assessment_id of this Finding.
256
+ The OCID of the assessment that generated this finding.
257
+
258
+
259
+ :return: The assessment_id of this Finding.
260
+ :rtype: str
261
+ """
262
+ return self._assessment_id
263
+
264
+ @assessment_id.setter
265
+ def assessment_id(self, assessment_id):
266
+ """
267
+ Sets the assessment_id of this Finding.
268
+ The OCID of the assessment that generated this finding.
269
+
270
+
271
+ :param assessment_id: The assessment_id of this Finding.
272
+ :type: str
273
+ """
274
+ self._assessment_id = assessment_id
275
+
276
+ @property
277
+ def target_id(self):
278
+ """
279
+ Gets the target_id of this Finding.
280
+ The OCID of the target database.
281
+
282
+
283
+ :return: The target_id of this Finding.
284
+ :rtype: str
285
+ """
286
+ return self._target_id
287
+
288
+ @target_id.setter
289
+ def target_id(self, target_id):
290
+ """
291
+ Sets the target_id of this Finding.
292
+ The OCID of the target database.
293
+
294
+
295
+ :param target_id: The target_id of this Finding.
296
+ :type: str
297
+ """
298
+ self._target_id = target_id
299
+
160
300
  @property
161
301
  def title(self):
162
302
  """
@@ -277,6 +417,208 @@ class Finding(object):
277
417
  """
278
418
  self._references = references
279
419
 
420
+ @property
421
+ def oracle_defined_severity(self):
422
+ """
423
+ Gets the oracle_defined_severity of this Finding.
424
+ The severity of the finding as determined by security assessment. This cannot be modified by user.
425
+
426
+
427
+ :return: The oracle_defined_severity of this Finding.
428
+ :rtype: str
429
+ """
430
+ return self._oracle_defined_severity
431
+
432
+ @oracle_defined_severity.setter
433
+ def oracle_defined_severity(self, oracle_defined_severity):
434
+ """
435
+ Sets the oracle_defined_severity of this Finding.
436
+ The severity of the finding as determined by security assessment. This cannot be modified by user.
437
+
438
+
439
+ :param oracle_defined_severity: The oracle_defined_severity of this Finding.
440
+ :type: str
441
+ """
442
+ self._oracle_defined_severity = oracle_defined_severity
443
+
444
+ @property
445
+ def is_risk_modified(self):
446
+ """
447
+ Gets the is_risk_modified of this Finding.
448
+ Determines if this risk level was modified by user.
449
+
450
+
451
+ :return: The is_risk_modified of this Finding.
452
+ :rtype: bool
453
+ """
454
+ return self._is_risk_modified
455
+
456
+ @is_risk_modified.setter
457
+ def is_risk_modified(self, is_risk_modified):
458
+ """
459
+ Sets the is_risk_modified of this Finding.
460
+ Determines if this risk level was modified by user.
461
+
462
+
463
+ :param is_risk_modified: The is_risk_modified of this Finding.
464
+ :type: bool
465
+ """
466
+ self._is_risk_modified = is_risk_modified
467
+
468
+ @property
469
+ def has_target_db_risk_level_changed(self):
470
+ """
471
+ Gets the has_target_db_risk_level_changed of this Finding.
472
+ Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
473
+
474
+
475
+ :return: The has_target_db_risk_level_changed of this Finding.
476
+ :rtype: bool
477
+ """
478
+ return self._has_target_db_risk_level_changed
479
+
480
+ @has_target_db_risk_level_changed.setter
481
+ def has_target_db_risk_level_changed(self, has_target_db_risk_level_changed):
482
+ """
483
+ Sets the has_target_db_risk_level_changed of this Finding.
484
+ Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
485
+
486
+
487
+ :param has_target_db_risk_level_changed: The has_target_db_risk_level_changed of this Finding.
488
+ :type: bool
489
+ """
490
+ self._has_target_db_risk_level_changed = has_target_db_risk_level_changed
491
+
492
+ @property
493
+ def justification(self):
494
+ """
495
+ Gets the justification of this Finding.
496
+ User provided reason for accepting or modifying this finding if they choose to do so.
497
+
498
+
499
+ :return: The justification of this Finding.
500
+ :rtype: str
501
+ """
502
+ return self._justification
503
+
504
+ @justification.setter
505
+ def justification(self, justification):
506
+ """
507
+ Sets the justification of this Finding.
508
+ User provided reason for accepting or modifying this finding if they choose to do so.
509
+
510
+
511
+ :param justification: The justification of this Finding.
512
+ :type: str
513
+ """
514
+ self._justification = justification
515
+
516
+ @property
517
+ def time_valid_until(self):
518
+ """
519
+ Gets the time_valid_until of this Finding.
520
+ The time until which the change in severity(deferred/modified) of this finding is valid.
521
+
522
+
523
+ :return: The time_valid_until of this Finding.
524
+ :rtype: datetime
525
+ """
526
+ return self._time_valid_until
527
+
528
+ @time_valid_until.setter
529
+ def time_valid_until(self, time_valid_until):
530
+ """
531
+ Sets the time_valid_until of this Finding.
532
+ The time until which the change in severity(deferred/modified) of this finding is valid.
533
+
534
+
535
+ :param time_valid_until: The time_valid_until of this Finding.
536
+ :type: datetime
537
+ """
538
+ self._time_valid_until = time_valid_until
539
+
540
+ @property
541
+ def time_updated(self):
542
+ """
543
+ Gets the time_updated of this Finding.
544
+ The date and time the risk level of finding was last updated, in the format defined by `RFC3339`__.
545
+
546
+ __ https://tools.ietf.org/html/rfc3339
547
+
548
+
549
+ :return: The time_updated of this Finding.
550
+ :rtype: datetime
551
+ """
552
+ return self._time_updated
553
+
554
+ @time_updated.setter
555
+ def time_updated(self, time_updated):
556
+ """
557
+ Sets the time_updated of this Finding.
558
+ The date and time the risk level of finding was last updated, in the format defined by `RFC3339`__.
559
+
560
+ __ https://tools.ietf.org/html/rfc3339
561
+
562
+
563
+ :param time_updated: The time_updated of this Finding.
564
+ :type: datetime
565
+ """
566
+ self._time_updated = time_updated
567
+
568
+ @property
569
+ def lifecycle_state(self):
570
+ """
571
+ Gets the lifecycle_state of this Finding.
572
+ The current state of the finding.
573
+
574
+ Allowed values for this property are: "ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
575
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
576
+
577
+
578
+ :return: The lifecycle_state of this Finding.
579
+ :rtype: str
580
+ """
581
+ return self._lifecycle_state
582
+
583
+ @lifecycle_state.setter
584
+ def lifecycle_state(self, lifecycle_state):
585
+ """
586
+ Sets the lifecycle_state of this Finding.
587
+ The current state of the finding.
588
+
589
+
590
+ :param lifecycle_state: The lifecycle_state of this Finding.
591
+ :type: str
592
+ """
593
+ allowed_values = ["ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED"]
594
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
595
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
596
+ self._lifecycle_state = lifecycle_state
597
+
598
+ @property
599
+ def lifecycle_details(self):
600
+ """
601
+ Gets the lifecycle_details of this Finding.
602
+ Details about the current state of the finding.
603
+
604
+
605
+ :return: The lifecycle_details of this Finding.
606
+ :rtype: str
607
+ """
608
+ return self._lifecycle_details
609
+
610
+ @lifecycle_details.setter
611
+ def lifecycle_details(self, lifecycle_details):
612
+ """
613
+ Sets the lifecycle_details of this Finding.
614
+ Details about the current state of the finding.
615
+
616
+
617
+ :param lifecycle_details: The lifecycle_details of this Finding.
618
+ :type: str
619
+ """
620
+ self._lifecycle_details = lifecycle_details
621
+
280
622
  def __repr__(self):
281
623
  return formatted_flat_dict(self)
282
624
 
@@ -0,0 +1,72 @@
1
+ # coding: utf-8
2
+ # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
+ # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
+
5
+ # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
6
+
7
+
8
+ from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
9
+ from oci.decorators import init_model_state_from_kwargs
10
+
11
+
12
+ @init_model_state_from_kwargs
13
+ class FindingAnalyticsCollection(object):
14
+ """
15
+ The collection of the summary objects of the analytics data of findings or top findings.
16
+ """
17
+
18
+ def __init__(self, **kwargs):
19
+ """
20
+ Initializes a new FindingAnalyticsCollection object with values from keyword arguments.
21
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
22
+
23
+ :param items:
24
+ The value to assign to the items property of this FindingAnalyticsCollection.
25
+ :type items: list[oci.data_safe.models.FindingAnalyticsSummary]
26
+
27
+ """
28
+ self.swagger_types = {
29
+ 'items': 'list[FindingAnalyticsSummary]'
30
+ }
31
+
32
+ self.attribute_map = {
33
+ 'items': 'items'
34
+ }
35
+
36
+ self._items = None
37
+
38
+ @property
39
+ def items(self):
40
+ """
41
+ **[Required]** Gets the items of this FindingAnalyticsCollection.
42
+ The array of the summary objects of the analytics data of findings or top findings.
43
+
44
+
45
+ :return: The items of this FindingAnalyticsCollection.
46
+ :rtype: list[oci.data_safe.models.FindingAnalyticsSummary]
47
+ """
48
+ return self._items
49
+
50
+ @items.setter
51
+ def items(self, items):
52
+ """
53
+ Sets the items of this FindingAnalyticsCollection.
54
+ The array of the summary objects of the analytics data of findings or top findings.
55
+
56
+
57
+ :param items: The items of this FindingAnalyticsCollection.
58
+ :type: list[oci.data_safe.models.FindingAnalyticsSummary]
59
+ """
60
+ self._items = items
61
+
62
+ def __repr__(self):
63
+ return formatted_flat_dict(self)
64
+
65
+ def __eq__(self, other):
66
+ if other is None:
67
+ return False
68
+
69
+ return self.__dict__ == other.__dict__
70
+
71
+ def __ne__(self, other):
72
+ return not self == other