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
@@ -0,0 +1,299 @@
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 FindingAnalyticsDimensions(object):
14
+ """
15
+ The scope of analytics data.
16
+ """
17
+
18
+ #: A constant which can be used with the top_finding_status property of a FindingAnalyticsDimensions.
19
+ #: This constant has a value of "RISK"
20
+ TOP_FINDING_STATUS_RISK = "RISK"
21
+
22
+ #: A constant which can be used with the top_finding_status property of a FindingAnalyticsDimensions.
23
+ #: This constant has a value of "EVALUATE"
24
+ TOP_FINDING_STATUS_EVALUATE = "EVALUATE"
25
+
26
+ #: A constant which can be used with the top_finding_status property of a FindingAnalyticsDimensions.
27
+ #: This constant has a value of "ADVISORY"
28
+ TOP_FINDING_STATUS_ADVISORY = "ADVISORY"
29
+
30
+ #: A constant which can be used with the top_finding_status property of a FindingAnalyticsDimensions.
31
+ #: This constant has a value of "PASS"
32
+ TOP_FINDING_STATUS_PASS = "PASS"
33
+
34
+ #: A constant which can be used with the top_finding_status property of a FindingAnalyticsDimensions.
35
+ #: This constant has a value of "DEFERRED"
36
+ TOP_FINDING_STATUS_DEFERRED = "DEFERRED"
37
+
38
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
39
+ #: This constant has a value of "HIGH"
40
+ SEVERITY_HIGH = "HIGH"
41
+
42
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
43
+ #: This constant has a value of "MEDIUM"
44
+ SEVERITY_MEDIUM = "MEDIUM"
45
+
46
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
47
+ #: This constant has a value of "LOW"
48
+ SEVERITY_LOW = "LOW"
49
+
50
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
51
+ #: This constant has a value of "EVALUATE"
52
+ SEVERITY_EVALUATE = "EVALUATE"
53
+
54
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
55
+ #: This constant has a value of "ADVISORY"
56
+ SEVERITY_ADVISORY = "ADVISORY"
57
+
58
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
59
+ #: This constant has a value of "PASS"
60
+ SEVERITY_PASS = "PASS"
61
+
62
+ #: A constant which can be used with the severity property of a FindingAnalyticsDimensions.
63
+ #: This constant has a value of "DEFERRED"
64
+ SEVERITY_DEFERRED = "DEFERRED"
65
+
66
+ def __init__(self, **kwargs):
67
+ """
68
+ Initializes a new FindingAnalyticsDimensions object with values from keyword arguments.
69
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
70
+
71
+ :param key:
72
+ The value to assign to the key property of this FindingAnalyticsDimensions.
73
+ :type key: str
74
+
75
+ :param top_finding_category:
76
+ The value to assign to the top_finding_category property of this FindingAnalyticsDimensions.
77
+ :type top_finding_category: str
78
+
79
+ :param title:
80
+ The value to assign to the title property of this FindingAnalyticsDimensions.
81
+ :type title: str
82
+
83
+ :param top_finding_status:
84
+ The value to assign to the top_finding_status property of this FindingAnalyticsDimensions.
85
+ Allowed values for this property are: "RISK", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
86
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
87
+ :type top_finding_status: str
88
+
89
+ :param severity:
90
+ The value to assign to the severity property of this FindingAnalyticsDimensions.
91
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
92
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
93
+ :type severity: str
94
+
95
+ :param target_id:
96
+ The value to assign to the target_id property of this FindingAnalyticsDimensions.
97
+ :type target_id: str
98
+
99
+ """
100
+ self.swagger_types = {
101
+ 'key': 'str',
102
+ 'top_finding_category': 'str',
103
+ 'title': 'str',
104
+ 'top_finding_status': 'str',
105
+ 'severity': 'str',
106
+ 'target_id': 'str'
107
+ }
108
+
109
+ self.attribute_map = {
110
+ 'key': 'key',
111
+ 'top_finding_category': 'topFindingCategory',
112
+ 'title': 'title',
113
+ 'top_finding_status': 'topFindingStatus',
114
+ 'severity': 'severity',
115
+ 'target_id': 'targetId'
116
+ }
117
+
118
+ self._key = None
119
+ self._top_finding_category = None
120
+ self._title = None
121
+ self._top_finding_status = None
122
+ self._severity = None
123
+ self._target_id = None
124
+
125
+ @property
126
+ def key(self):
127
+ """
128
+ Gets the key of this FindingAnalyticsDimensions.
129
+ Each finding in security assessment has an associated key (think of key as a finding's name).
130
+ For a given finding, the key will be the same across targets. The user can use these keys to filter the findings.
131
+
132
+
133
+ :return: The key of this FindingAnalyticsDimensions.
134
+ :rtype: str
135
+ """
136
+ return self._key
137
+
138
+ @key.setter
139
+ def key(self, key):
140
+ """
141
+ Sets the key of this FindingAnalyticsDimensions.
142
+ Each finding in security assessment has an associated key (think of key as a finding's name).
143
+ For a given finding, the key will be the same across targets. The user can use these keys to filter the findings.
144
+
145
+
146
+ :param key: The key of this FindingAnalyticsDimensions.
147
+ :type: str
148
+ """
149
+ self._key = key
150
+
151
+ @property
152
+ def top_finding_category(self):
153
+ """
154
+ Gets the top_finding_category of this FindingAnalyticsDimensions.
155
+ The category of the top finding.
156
+
157
+
158
+ :return: The top_finding_category of this FindingAnalyticsDimensions.
159
+ :rtype: str
160
+ """
161
+ return self._top_finding_category
162
+
163
+ @top_finding_category.setter
164
+ def top_finding_category(self, top_finding_category):
165
+ """
166
+ Sets the top_finding_category of this FindingAnalyticsDimensions.
167
+ The category of the top finding.
168
+
169
+
170
+ :param top_finding_category: The top_finding_category of this FindingAnalyticsDimensions.
171
+ :type: str
172
+ """
173
+ self._top_finding_category = top_finding_category
174
+
175
+ @property
176
+ def title(self):
177
+ """
178
+ Gets the title of this FindingAnalyticsDimensions.
179
+ The short title of the finding.
180
+
181
+
182
+ :return: The title of this FindingAnalyticsDimensions.
183
+ :rtype: str
184
+ """
185
+ return self._title
186
+
187
+ @title.setter
188
+ def title(self, title):
189
+ """
190
+ Sets the title of this FindingAnalyticsDimensions.
191
+ The short title of the finding.
192
+
193
+
194
+ :param title: The title of this FindingAnalyticsDimensions.
195
+ :type: str
196
+ """
197
+ self._title = title
198
+
199
+ @property
200
+ def top_finding_status(self):
201
+ """
202
+ Gets the top_finding_status of this FindingAnalyticsDimensions.
203
+ The status of the top finding.
204
+ All findings will have \"severity\" to indicate the risk level, but only top findings will have \"status\".
205
+ Possible status: Pass / Risk (Low, Medium, High)/ Evaluate / Advisory / Deferred
206
+ Instead of having \"Low, Medium, High\" in severity, \"Risk\" will include these three situations in status.
207
+
208
+ Allowed values for this property are: "RISK", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
209
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
210
+
211
+
212
+ :return: The top_finding_status of this FindingAnalyticsDimensions.
213
+ :rtype: str
214
+ """
215
+ return self._top_finding_status
216
+
217
+ @top_finding_status.setter
218
+ def top_finding_status(self, top_finding_status):
219
+ """
220
+ Sets the top_finding_status of this FindingAnalyticsDimensions.
221
+ The status of the top finding.
222
+ All findings will have \"severity\" to indicate the risk level, but only top findings will have \"status\".
223
+ Possible status: Pass / Risk (Low, Medium, High)/ Evaluate / Advisory / Deferred
224
+ Instead of having \"Low, Medium, High\" in severity, \"Risk\" will include these three situations in status.
225
+
226
+
227
+ :param top_finding_status: The top_finding_status of this FindingAnalyticsDimensions.
228
+ :type: str
229
+ """
230
+ allowed_values = ["RISK", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"]
231
+ if not value_allowed_none_or_none_sentinel(top_finding_status, allowed_values):
232
+ top_finding_status = 'UNKNOWN_ENUM_VALUE'
233
+ self._top_finding_status = top_finding_status
234
+
235
+ @property
236
+ def severity(self):
237
+ """
238
+ Gets the severity of this FindingAnalyticsDimensions.
239
+ The severity (risk level) of the finding.
240
+
241
+ Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
242
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
243
+
244
+
245
+ :return: The severity of this FindingAnalyticsDimensions.
246
+ :rtype: str
247
+ """
248
+ return self._severity
249
+
250
+ @severity.setter
251
+ def severity(self, severity):
252
+ """
253
+ Sets the severity of this FindingAnalyticsDimensions.
254
+ The severity (risk level) of the finding.
255
+
256
+
257
+ :param severity: The severity of this FindingAnalyticsDimensions.
258
+ :type: str
259
+ """
260
+ allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"]
261
+ if not value_allowed_none_or_none_sentinel(severity, allowed_values):
262
+ severity = 'UNKNOWN_ENUM_VALUE'
263
+ self._severity = severity
264
+
265
+ @property
266
+ def target_id(self):
267
+ """
268
+ Gets the target_id of this FindingAnalyticsDimensions.
269
+ The OCID of the target database.
270
+
271
+
272
+ :return: The target_id of this FindingAnalyticsDimensions.
273
+ :rtype: str
274
+ """
275
+ return self._target_id
276
+
277
+ @target_id.setter
278
+ def target_id(self, target_id):
279
+ """
280
+ Sets the target_id of this FindingAnalyticsDimensions.
281
+ The OCID of the target database.
282
+
283
+
284
+ :param target_id: The target_id of this FindingAnalyticsDimensions.
285
+ :type: str
286
+ """
287
+ self._target_id = target_id
288
+
289
+ def __repr__(self):
290
+ return formatted_flat_dict(self)
291
+
292
+ def __eq__(self, other):
293
+ if other is None:
294
+ return False
295
+
296
+ return self.__dict__ == other.__dict__
297
+
298
+ def __ne__(self, other):
299
+ return not self == other
@@ -0,0 +1,148 @@
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 FindingAnalyticsSummary(object):
14
+ """
15
+ The summary of information about the analytics data of findings or top findings.
16
+ It includes details such as metric name, findinKey,
17
+ title (topFindingCategory for top finding), severity (topFindingStatus for top finding) and targetId.
18
+ """
19
+
20
+ #: A constant which can be used with the metric_name property of a FindingAnalyticsSummary.
21
+ #: This constant has a value of "TOP_FINDING_STATS"
22
+ METRIC_NAME_TOP_FINDING_STATS = "TOP_FINDING_STATS"
23
+
24
+ #: A constant which can be used with the metric_name property of a FindingAnalyticsSummary.
25
+ #: This constant has a value of "FINDING_STATS"
26
+ METRIC_NAME_FINDING_STATS = "FINDING_STATS"
27
+
28
+ def __init__(self, **kwargs):
29
+ """
30
+ Initializes a new FindingAnalyticsSummary object with values from keyword arguments.
31
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
32
+
33
+ :param metric_name:
34
+ The value to assign to the metric_name property of this FindingAnalyticsSummary.
35
+ Allowed values for this property are: "TOP_FINDING_STATS", "FINDING_STATS", 'UNKNOWN_ENUM_VALUE'.
36
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
37
+ :type metric_name: str
38
+
39
+ :param dimensions:
40
+ The value to assign to the dimensions property of this FindingAnalyticsSummary.
41
+ :type dimensions: oci.data_safe.models.FindingAnalyticsDimensions
42
+
43
+ :param count:
44
+ The value to assign to the count property of this FindingAnalyticsSummary.
45
+ :type count: int
46
+
47
+ """
48
+ self.swagger_types = {
49
+ 'metric_name': 'str',
50
+ 'dimensions': 'FindingAnalyticsDimensions',
51
+ 'count': 'int'
52
+ }
53
+
54
+ self.attribute_map = {
55
+ 'metric_name': 'metricName',
56
+ 'dimensions': 'dimensions',
57
+ 'count': 'count'
58
+ }
59
+
60
+ self._metric_name = None
61
+ self._dimensions = None
62
+ self._count = None
63
+
64
+ @property
65
+ def metric_name(self):
66
+ """
67
+ **[Required]** Gets the metric_name of this FindingAnalyticsSummary.
68
+ The name of the aggregation metric.
69
+
70
+ Allowed values for this property are: "TOP_FINDING_STATS", "FINDING_STATS", 'UNKNOWN_ENUM_VALUE'.
71
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
72
+
73
+
74
+ :return: The metric_name of this FindingAnalyticsSummary.
75
+ :rtype: str
76
+ """
77
+ return self._metric_name
78
+
79
+ @metric_name.setter
80
+ def metric_name(self, metric_name):
81
+ """
82
+ Sets the metric_name of this FindingAnalyticsSummary.
83
+ The name of the aggregation metric.
84
+
85
+
86
+ :param metric_name: The metric_name of this FindingAnalyticsSummary.
87
+ :type: str
88
+ """
89
+ allowed_values = ["TOP_FINDING_STATS", "FINDING_STATS"]
90
+ if not value_allowed_none_or_none_sentinel(metric_name, allowed_values):
91
+ metric_name = 'UNKNOWN_ENUM_VALUE'
92
+ self._metric_name = metric_name
93
+
94
+ @property
95
+ def dimensions(self):
96
+ """
97
+ Gets the dimensions of this FindingAnalyticsSummary.
98
+
99
+ :return: The dimensions of this FindingAnalyticsSummary.
100
+ :rtype: oci.data_safe.models.FindingAnalyticsDimensions
101
+ """
102
+ return self._dimensions
103
+
104
+ @dimensions.setter
105
+ def dimensions(self, dimensions):
106
+ """
107
+ Sets the dimensions of this FindingAnalyticsSummary.
108
+
109
+ :param dimensions: The dimensions of this FindingAnalyticsSummary.
110
+ :type: oci.data_safe.models.FindingAnalyticsDimensions
111
+ """
112
+ self._dimensions = dimensions
113
+
114
+ @property
115
+ def count(self):
116
+ """
117
+ **[Required]** Gets the count of this FindingAnalyticsSummary.
118
+ The total count for the aggregation metric.
119
+
120
+
121
+ :return: The count of this FindingAnalyticsSummary.
122
+ :rtype: int
123
+ """
124
+ return self._count
125
+
126
+ @count.setter
127
+ def count(self, count):
128
+ """
129
+ Sets the count of this FindingAnalyticsSummary.
130
+ The total count for the aggregation metric.
131
+
132
+
133
+ :param count: The count of this FindingAnalyticsSummary.
134
+ :type: int
135
+ """
136
+ self._count = count
137
+
138
+ def __repr__(self):
139
+ return formatted_flat_dict(self)
140
+
141
+ def __eq__(self, other):
142
+ if other is None:
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other):
148
+ return not self == other