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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +100 -47
- oci/adm/application_dependency_management_client_composite_operations.py +10 -5
- oci/adm/models/application_dependency.py +36 -3
- oci/adm/models/application_dependency_recommendation_summary.py +64 -2
- oci/adm/models/application_dependency_vulnerability_summary.py +35 -2
- oci/adm/models/create_vulnerability_audit_details.py +3 -3
- oci/adm/models/detect_configuration.py +65 -2
- oci/adm/models/usage_data_details.py +2 -1
- oci/adm/models/usage_data_via_object_storage_tuple_details.py +2 -1
- oci/adm/models/vulnerability.py +92 -2
- oci/adm/models/vulnerability_audit.py +133 -11
- oci/adm/models/vulnerability_audit_configuration.py +63 -0
- oci/adm/models/vulnerability_audit_summary.py +124 -6
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +25 -20
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +147 -147
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +4081 -1170
- oci/data_safe/data_safe_client_composite_operations.py +257 -0
- oci/data_safe/models/__init__.py +60 -0
- oci/data_safe/models/audit_event_summary.py +109 -0
- oci/data_safe/models/audit_trail.py +191 -0
- oci/data_safe/models/audit_trail_summary.py +31 -0
- oci/data_safe/models/available_audit_volume_summary.py +62 -0
- oci/data_safe/models/calculate_audit_volume_available_details.py +34 -3
- oci/data_safe/models/create_peer_target_database_details.py +188 -0
- oci/data_safe/models/create_target_database_details.py +31 -0
- oci/data_safe/models/database_table_access_entry.py +837 -0
- oci/data_safe/models/database_table_access_entry_collection.py +72 -0
- oci/data_safe/models/database_table_access_entry_summary.py +835 -0
- oci/data_safe/models/database_view_access_entry.py +772 -0
- oci/data_safe/models/database_view_access_entry_collection.py +72 -0
- oci/data_safe/models/database_view_access_entry_summary.py +771 -0
- oci/data_safe/models/diffs.py +7 -3
- oci/data_safe/models/finding.py +347 -5
- oci/data_safe/models/finding_analytics_collection.py +72 -0
- oci/data_safe/models/finding_analytics_dimensions.py +299 -0
- oci/data_safe/models/finding_analytics_summary.py +148 -0
- oci/data_safe/models/finding_summary.py +316 -5
- oci/data_safe/models/findings_change_audit_log_collection.py +72 -0
- oci/data_safe/models/findings_change_audit_log_summary.py +458 -0
- oci/data_safe/models/peer_target_database.py +414 -0
- oci/data_safe/models/peer_target_database_collection.py +134 -0
- oci/data_safe/models/peer_target_database_summary.py +360 -0
- oci/data_safe/models/role_grant_path_collection.py +72 -0
- oci/data_safe/models/role_grant_path_summary.py +169 -0
- oci/data_safe/models/security_assessment_statistics.py +29 -2
- oci/data_safe/models/security_feature_analytics_collection.py +72 -0
- oci/data_safe/models/security_feature_analytics_dimensions.py +124 -0
- oci/data_safe/models/security_feature_analytics_summary.py +142 -0
- oci/data_safe/models/security_feature_collection.py +72 -0
- oci/data_safe/models/security_feature_summary.py +773 -0
- oci/data_safe/models/security_policy_report.py +475 -0
- oci/data_safe/models/security_policy_report_collection.py +72 -0
- oci/data_safe/models/security_policy_report_summary.py +442 -0
- oci/data_safe/models/target_database.py +31 -0
- oci/data_safe/models/update_finding_details.py +134 -0
- oci/data_safe/models/update_peer_target_database_details.py +157 -0
- oci/data_safe/models/update_report_details.py +119 -0
- oci/data_safe/models/user_access_analytics_collection.py +72 -0
- oci/data_safe/models/user_access_analytics_summary.py +103 -0
- oci/data_safe/models/user_summary.py +64 -2
- oci/data_safe/models/work_request.py +35 -3
- oci/data_safe/models/work_request_summary.py +35 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +558 -558
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +18 -0
- oci/monitoring/models/aggregated_datapoint.py +2 -2
- oci/monitoring/models/alarm.py +8 -10
- oci/monitoring/models/alarm_history_entry.py +4 -4
- oci/monitoring/models/alarm_status_summary.py +4 -4
- oci/monitoring/models/alarm_summary.py +43 -6
- oci/monitoring/models/alarm_suppression.py +506 -0
- oci/monitoring/models/alarm_suppression_alarm_target.py +86 -0
- oci/monitoring/models/alarm_suppression_collection.py +72 -0
- oci/monitoring/models/alarm_suppression_history_item.py +335 -0
- oci/monitoring/models/alarm_suppression_history_item_collection.py +72 -0
- oci/monitoring/models/alarm_suppression_summary.py +490 -0
- oci/monitoring/models/alarm_suppression_target.py +101 -0
- oci/monitoring/models/create_alarm_details.py +2 -4
- oci/monitoring/models/create_alarm_suppression_details.py +327 -0
- oci/monitoring/models/datapoint.py +2 -2
- oci/monitoring/models/list_metrics_details.py +2 -2
- oci/monitoring/models/metric.py +2 -2
- oci/monitoring/models/metric_data.py +2 -2
- oci/monitoring/models/metric_data_details.py +6 -6
- oci/monitoring/models/summarize_alarm_suppression_history_details.py +164 -0
- oci/monitoring/models/summarize_metrics_data_details.py +12 -6
- oci/monitoring/models/suppression.py +6 -5
- oci/monitoring/models/update_alarm_details.py +2 -4
- oci/monitoring/monitoring_client.py +737 -89
- oci/monitoring/monitoring_client_composite_operations.py +105 -0
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +28 -28
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/METADATA +1 -1
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/RECORD +321 -282
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/WHEEL +0 -0
- {oci-2.118.2.dist-info → oci-2.119.0.dist-info}/top_level.txt +0 -0
@@ -1149,6 +1149,47 @@ class DataSafeClientCompositeOperations(object):
|
|
1149
1149
|
except Exception as e:
|
1150
1150
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1151
1151
|
|
1152
|
+
def create_peer_target_database_and_wait_for_state(self, target_database_id, create_peer_target_database_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1153
|
+
"""
|
1154
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.create_peer_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
1155
|
+
to enter the given state(s).
|
1156
|
+
|
1157
|
+
:param str target_database_id: (required)
|
1158
|
+
The OCID of the Data Safe target database.
|
1159
|
+
|
1160
|
+
:param oci.data_safe.models.CreatePeerTargetDatabaseDetails create_peer_target_database_details: (required)
|
1161
|
+
Database details used to create the peer target database under the primary target database.
|
1162
|
+
|
1163
|
+
:param list[str] wait_for_states:
|
1164
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
1165
|
+
|
1166
|
+
:param dict operation_kwargs:
|
1167
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.create_peer_target_database`
|
1168
|
+
|
1169
|
+
:param dict waiter_kwargs:
|
1170
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1171
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1172
|
+
"""
|
1173
|
+
operation_result = self.client.create_peer_target_database(target_database_id, create_peer_target_database_details, **operation_kwargs)
|
1174
|
+
if not wait_for_states:
|
1175
|
+
return operation_result
|
1176
|
+
|
1177
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1178
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1179
|
+
|
1180
|
+
try:
|
1181
|
+
waiter_result = oci.wait_until(
|
1182
|
+
self.client,
|
1183
|
+
self.client.get_work_request(wait_for_resource_id),
|
1184
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1185
|
+
**waiter_kwargs
|
1186
|
+
)
|
1187
|
+
result_to_return = waiter_result
|
1188
|
+
|
1189
|
+
return result_to_return
|
1190
|
+
except Exception as e:
|
1191
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1192
|
+
|
1152
1193
|
def create_report_definition_and_wait_for_state(self, create_report_definition_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1153
1194
|
"""
|
1154
1195
|
Calls :py:func:`~oci.data_safe.DataSafeClient.create_report_definition` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -1906,6 +1947,55 @@ class DataSafeClientCompositeOperations(object):
|
|
1906
1947
|
except Exception as e:
|
1907
1948
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1908
1949
|
|
1950
|
+
def delete_peer_target_database_and_wait_for_state(self, target_database_id, peer_target_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1951
|
+
"""
|
1952
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_peer_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
1953
|
+
to enter the given state(s).
|
1954
|
+
|
1955
|
+
:param str target_database_id: (required)
|
1956
|
+
The OCID of the Data Safe target database.
|
1957
|
+
|
1958
|
+
:param int peer_target_database_id: (required)
|
1959
|
+
The unique id of the peer target database.
|
1960
|
+
|
1961
|
+
:param list[str] wait_for_states:
|
1962
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
1963
|
+
|
1964
|
+
:param dict operation_kwargs:
|
1965
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_peer_target_database`
|
1966
|
+
|
1967
|
+
:param dict waiter_kwargs:
|
1968
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1969
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1970
|
+
"""
|
1971
|
+
operation_result = None
|
1972
|
+
try:
|
1973
|
+
operation_result = self.client.delete_peer_target_database(target_database_id, peer_target_database_id, **operation_kwargs)
|
1974
|
+
except oci.exceptions.ServiceError as e:
|
1975
|
+
if e.status == 404:
|
1976
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1977
|
+
else:
|
1978
|
+
raise e
|
1979
|
+
|
1980
|
+
if not wait_for_states:
|
1981
|
+
return operation_result
|
1982
|
+
|
1983
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1984
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1985
|
+
|
1986
|
+
try:
|
1987
|
+
waiter_result = oci.wait_until(
|
1988
|
+
self.client,
|
1989
|
+
self.client.get_work_request(wait_for_resource_id),
|
1990
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1991
|
+
**waiter_kwargs
|
1992
|
+
)
|
1993
|
+
result_to_return = waiter_result
|
1994
|
+
|
1995
|
+
return result_to_return
|
1996
|
+
except Exception as e:
|
1997
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1998
|
+
|
1909
1999
|
def delete_report_definition_and_wait_for_state(self, report_definition_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1910
2000
|
"""
|
1911
2001
|
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_report_definition` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -3299,6 +3389,44 @@ class DataSafeClientCompositeOperations(object):
|
|
3299
3389
|
except Exception as e:
|
3300
3390
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3301
3391
|
|
3392
|
+
def refresh_target_database_and_wait_for_state(self, target_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3393
|
+
"""
|
3394
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
3395
|
+
to enter the given state(s).
|
3396
|
+
|
3397
|
+
:param str target_database_id: (required)
|
3398
|
+
The OCID of the Data Safe target database.
|
3399
|
+
|
3400
|
+
:param list[str] wait_for_states:
|
3401
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
3402
|
+
|
3403
|
+
:param dict operation_kwargs:
|
3404
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.refresh_target_database`
|
3405
|
+
|
3406
|
+
:param dict waiter_kwargs:
|
3407
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
3408
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3409
|
+
"""
|
3410
|
+
operation_result = self.client.refresh_target_database(target_database_id, **operation_kwargs)
|
3411
|
+
if not wait_for_states:
|
3412
|
+
return operation_result
|
3413
|
+
|
3414
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
3415
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
3416
|
+
|
3417
|
+
try:
|
3418
|
+
waiter_result = oci.wait_until(
|
3419
|
+
self.client,
|
3420
|
+
self.client.get_work_request(wait_for_resource_id),
|
3421
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
3422
|
+
**waiter_kwargs
|
3423
|
+
)
|
3424
|
+
result_to_return = waiter_result
|
3425
|
+
|
3426
|
+
return result_to_return
|
3427
|
+
except Exception as e:
|
3428
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3429
|
+
|
3302
3430
|
def refresh_user_assessment_and_wait_for_state(self, user_assessment_id, run_user_assessment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3303
3431
|
"""
|
3304
3432
|
Calls :py:func:`~oci.data_safe.DataSafeClient.refresh_user_assessment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -4094,6 +4222,50 @@ class DataSafeClientCompositeOperations(object):
|
|
4094
4222
|
except Exception as e:
|
4095
4223
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4096
4224
|
|
4225
|
+
def update_finding_and_wait_for_state(self, security_assessment_id, finding_key, update_finding_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4226
|
+
"""
|
4227
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.update_finding` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
4228
|
+
to enter the given state(s).
|
4229
|
+
|
4230
|
+
:param str security_assessment_id: (required)
|
4231
|
+
The OCID of the security assessment.
|
4232
|
+
|
4233
|
+
:param str finding_key: (required)
|
4234
|
+
The unique key that identifies the finding. It is a string and unique within a security assessment.
|
4235
|
+
|
4236
|
+
:param oci.data_safe.models.UpdateFindingDetails update_finding_details: (required)
|
4237
|
+
Details to change risk of a finding.
|
4238
|
+
|
4239
|
+
:param list[str] wait_for_states:
|
4240
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
4241
|
+
|
4242
|
+
:param dict operation_kwargs:
|
4243
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_finding`
|
4244
|
+
|
4245
|
+
:param dict waiter_kwargs:
|
4246
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
4247
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
4248
|
+
"""
|
4249
|
+
operation_result = self.client.update_finding(security_assessment_id, finding_key, update_finding_details, **operation_kwargs)
|
4250
|
+
if not wait_for_states:
|
4251
|
+
return operation_result
|
4252
|
+
|
4253
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
4254
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
4255
|
+
|
4256
|
+
try:
|
4257
|
+
waiter_result = oci.wait_until(
|
4258
|
+
self.client,
|
4259
|
+
self.client.get_work_request(wait_for_resource_id),
|
4260
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
4261
|
+
**waiter_kwargs
|
4262
|
+
)
|
4263
|
+
result_to_return = waiter_result
|
4264
|
+
|
4265
|
+
return result_to_return
|
4266
|
+
except Exception as e:
|
4267
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4268
|
+
|
4097
4269
|
def update_library_masking_format_and_wait_for_state(self, library_masking_format_id, update_library_masking_format_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4098
4270
|
"""
|
4099
4271
|
Calls :py:func:`~oci.data_safe.DataSafeClient.update_library_masking_format` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -4302,6 +4474,91 @@ class DataSafeClientCompositeOperations(object):
|
|
4302
4474
|
except Exception as e:
|
4303
4475
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4304
4476
|
|
4477
|
+
def update_peer_target_database_and_wait_for_state(self, target_database_id, peer_target_database_id, update_peer_target_database_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4478
|
+
"""
|
4479
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.update_peer_target_database` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
4480
|
+
to enter the given state(s).
|
4481
|
+
|
4482
|
+
:param str target_database_id: (required)
|
4483
|
+
The OCID of the Data Safe target database.
|
4484
|
+
|
4485
|
+
:param int peer_target_database_id: (required)
|
4486
|
+
The unique id of the peer target database.
|
4487
|
+
|
4488
|
+
:param oci.data_safe.models.UpdatePeerTargetDatabaseDetails update_peer_target_database_details: (required)
|
4489
|
+
Database details to be used to update the peer target database.
|
4490
|
+
|
4491
|
+
:param list[str] wait_for_states:
|
4492
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
4493
|
+
|
4494
|
+
:param dict operation_kwargs:
|
4495
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_peer_target_database`
|
4496
|
+
|
4497
|
+
:param dict waiter_kwargs:
|
4498
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
4499
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
4500
|
+
"""
|
4501
|
+
operation_result = self.client.update_peer_target_database(target_database_id, peer_target_database_id, update_peer_target_database_details, **operation_kwargs)
|
4502
|
+
if not wait_for_states:
|
4503
|
+
return operation_result
|
4504
|
+
|
4505
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
4506
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
4507
|
+
|
4508
|
+
try:
|
4509
|
+
waiter_result = oci.wait_until(
|
4510
|
+
self.client,
|
4511
|
+
self.client.get_work_request(wait_for_resource_id),
|
4512
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
4513
|
+
**waiter_kwargs
|
4514
|
+
)
|
4515
|
+
result_to_return = waiter_result
|
4516
|
+
|
4517
|
+
return result_to_return
|
4518
|
+
except Exception as e:
|
4519
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4520
|
+
|
4521
|
+
def update_report_and_wait_for_state(self, report_id, update_report_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4522
|
+
"""
|
4523
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.update_report` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
4524
|
+
to enter the given state(s).
|
4525
|
+
|
4526
|
+
:param str report_id: (required)
|
4527
|
+
Unique report identifier
|
4528
|
+
|
4529
|
+
:param oci.data_safe.models.UpdateReportDetails update_report_details: (required)
|
4530
|
+
Details for the modified report.
|
4531
|
+
|
4532
|
+
:param list[str] wait_for_states:
|
4533
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
4534
|
+
|
4535
|
+
:param dict operation_kwargs:
|
4536
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_report`
|
4537
|
+
|
4538
|
+
:param dict waiter_kwargs:
|
4539
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
4540
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
4541
|
+
"""
|
4542
|
+
operation_result = self.client.update_report(report_id, update_report_details, **operation_kwargs)
|
4543
|
+
if not wait_for_states:
|
4544
|
+
return operation_result
|
4545
|
+
|
4546
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
4547
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
4548
|
+
|
4549
|
+
try:
|
4550
|
+
waiter_result = oci.wait_until(
|
4551
|
+
self.client,
|
4552
|
+
self.client.get_work_request(wait_for_resource_id),
|
4553
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
4554
|
+
**waiter_kwargs
|
4555
|
+
)
|
4556
|
+
result_to_return = waiter_result
|
4557
|
+
|
4558
|
+
return result_to_return
|
4559
|
+
except Exception as e:
|
4560
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4561
|
+
|
4305
4562
|
def update_report_definition_and_wait_for_state(self, report_definition_id, update_report_definition_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4306
4563
|
"""
|
4307
4564
|
Calls :py:func:`~oci.data_safe.DataSafeClient.update_report_definition` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
oci/data_safe/models/__init__.py
CHANGED
@@ -108,6 +108,7 @@ from .create_library_masking_format_details import CreateLibraryMaskingFormatDet
|
|
108
108
|
from .create_masking_column_details import CreateMaskingColumnDetails
|
109
109
|
from .create_masking_policy_details import CreateMaskingPolicyDetails
|
110
110
|
from .create_on_prem_connector_details import CreateOnPremConnectorDetails
|
111
|
+
from .create_peer_target_database_details import CreatePeerTargetDatabaseDetails
|
111
112
|
from .create_report_definition_details import CreateReportDefinitionDetails
|
112
113
|
from .create_sdm_masking_policy_difference_details import CreateSdmMaskingPolicyDifferenceDetails
|
113
114
|
from .create_security_assessment_details import CreateSecurityAssessmentDetails
|
@@ -129,6 +130,12 @@ from .database_details import DatabaseDetails
|
|
129
130
|
from .database_security_config import DatabaseSecurityConfig
|
130
131
|
from .database_security_config_collection import DatabaseSecurityConfigCollection
|
131
132
|
from .database_security_config_summary import DatabaseSecurityConfigSummary
|
133
|
+
from .database_table_access_entry import DatabaseTableAccessEntry
|
134
|
+
from .database_table_access_entry_collection import DatabaseTableAccessEntryCollection
|
135
|
+
from .database_table_access_entry_summary import DatabaseTableAccessEntrySummary
|
136
|
+
from .database_view_access_entry import DatabaseViewAccessEntry
|
137
|
+
from .database_view_access_entry_collection import DatabaseViewAccessEntryCollection
|
138
|
+
from .database_view_access_entry_summary import DatabaseViewAccessEntrySummary
|
132
139
|
from .delete_rows_format_entry import DeleteRowsFormatEntry
|
133
140
|
from .deterministic_encryption_date_format_entry import DeterministicEncryptionDateFormatEntry
|
134
141
|
from .deterministic_encryption_format_entry import DeterministicEncryptionFormatEntry
|
@@ -156,7 +163,12 @@ from .enable_conditions import EnableConditions
|
|
156
163
|
from .enable_data_safe_configuration_details import EnableDataSafeConfigurationDetails
|
157
164
|
from .entry_details import EntryDetails
|
158
165
|
from .finding import Finding
|
166
|
+
from .finding_analytics_collection import FindingAnalyticsCollection
|
167
|
+
from .finding_analytics_dimensions import FindingAnalyticsDimensions
|
168
|
+
from .finding_analytics_summary import FindingAnalyticsSummary
|
159
169
|
from .finding_summary import FindingSummary
|
170
|
+
from .findings_change_audit_log_collection import FindingsChangeAuditLogCollection
|
171
|
+
from .findings_change_audit_log_summary import FindingsChangeAuditLogSummary
|
160
172
|
from .firewall_policy_entry_details import FirewallPolicyEntryDetails
|
161
173
|
from .fixed_number_format_entry import FixedNumberFormatEntry
|
162
174
|
from .fixed_string_format_entry import FixedStringFormatEntry
|
@@ -219,6 +231,9 @@ from .patch_sdm_masking_policy_difference_columns_details import PatchSdmMasking
|
|
219
231
|
from .patch_sensitive_column_details import PatchSensitiveColumnDetails
|
220
232
|
from .patch_target_alert_policy_association_details import PatchTargetAlertPolicyAssociationDetails
|
221
233
|
from .pattern_format_entry import PatternFormatEntry
|
234
|
+
from .peer_target_database import PeerTargetDatabase
|
235
|
+
from .peer_target_database_collection import PeerTargetDatabaseCollection
|
236
|
+
from .peer_target_database_summary import PeerTargetDatabaseSummary
|
222
237
|
from .preserve_original_data_format_entry import PreserveOriginalDataFormatEntry
|
223
238
|
from .private_endpoint import PrivateEndpoint
|
224
239
|
from .profile import Profile
|
@@ -243,6 +258,8 @@ from .report_definition_collection import ReportDefinitionCollection
|
|
243
258
|
from .report_definition_summary import ReportDefinitionSummary
|
244
259
|
from .report_details import ReportDetails
|
245
260
|
from .report_summary import ReportSummary
|
261
|
+
from .role_grant_path_collection import RoleGrantPathCollection
|
262
|
+
from .role_grant_path_summary import RoleGrantPathSummary
|
246
263
|
from .role_summary import RoleSummary
|
247
264
|
from .run_security_assessment_details import RunSecurityAssessmentDetails
|
248
265
|
from .run_user_assessment_details import RunUserAssessmentDetails
|
@@ -261,6 +278,11 @@ from .security_assessment_comparison import SecurityAssessmentComparison
|
|
261
278
|
from .security_assessment_comparison_per_target import SecurityAssessmentComparisonPerTarget
|
262
279
|
from .security_assessment_statistics import SecurityAssessmentStatistics
|
263
280
|
from .security_assessment_summary import SecurityAssessmentSummary
|
281
|
+
from .security_feature_analytics_collection import SecurityFeatureAnalyticsCollection
|
282
|
+
from .security_feature_analytics_dimensions import SecurityFeatureAnalyticsDimensions
|
283
|
+
from .security_feature_analytics_summary import SecurityFeatureAnalyticsSummary
|
284
|
+
from .security_feature_collection import SecurityFeatureCollection
|
285
|
+
from .security_feature_summary import SecurityFeatureSummary
|
264
286
|
from .security_policy import SecurityPolicy
|
265
287
|
from .security_policy_collection import SecurityPolicyCollection
|
266
288
|
from .security_policy_deployment import SecurityPolicyDeployment
|
@@ -269,6 +291,9 @@ from .security_policy_deployment_summary import SecurityPolicyDeploymentSummary
|
|
269
291
|
from .security_policy_entry_state import SecurityPolicyEntryState
|
270
292
|
from .security_policy_entry_state_collection import SecurityPolicyEntryStateCollection
|
271
293
|
from .security_policy_entry_state_summary import SecurityPolicyEntryStateSummary
|
294
|
+
from .security_policy_report import SecurityPolicyReport
|
295
|
+
from .security_policy_report_collection import SecurityPolicyReportCollection
|
296
|
+
from .security_policy_report_summary import SecurityPolicyReportSummary
|
272
297
|
from .security_policy_summary import SecurityPolicySummary
|
273
298
|
from .sensitive_category import SensitiveCategory
|
274
299
|
from .sensitive_column import SensitiveColumn
|
@@ -335,12 +360,15 @@ from .update_column_source_sdm_details import UpdateColumnSourceSdmDetails
|
|
335
360
|
from .update_column_source_target_details import UpdateColumnSourceTargetDetails
|
336
361
|
from .update_data_safe_private_endpoint_details import UpdateDataSafePrivateEndpointDetails
|
337
362
|
from .update_database_security_config_details import UpdateDatabaseSecurityConfigDetails
|
363
|
+
from .update_finding_details import UpdateFindingDetails
|
338
364
|
from .update_library_masking_format_details import UpdateLibraryMaskingFormatDetails
|
339
365
|
from .update_masking_column_details import UpdateMaskingColumnDetails
|
340
366
|
from .update_masking_policy_details import UpdateMaskingPolicyDetails
|
341
367
|
from .update_on_prem_connector_details import UpdateOnPremConnectorDetails
|
342
368
|
from .update_on_prem_connector_wallet_details import UpdateOnPremConnectorWalletDetails
|
369
|
+
from .update_peer_target_database_details import UpdatePeerTargetDatabaseDetails
|
343
370
|
from .update_report_definition_details import UpdateReportDefinitionDetails
|
371
|
+
from .update_report_details import UpdateReportDetails
|
344
372
|
from .update_sdm_masking_policy_difference_details import UpdateSdmMaskingPolicyDifferenceDetails
|
345
373
|
from .update_security_assessment_details import UpdateSecurityAssessmentDetails
|
346
374
|
from .update_security_policy_deployment_details import UpdateSecurityPolicyDeploymentDetails
|
@@ -356,6 +384,8 @@ from .update_sql_firewall_policy_details import UpdateSqlFirewallPolicyDetails
|
|
356
384
|
from .update_target_alert_policy_association_details import UpdateTargetAlertPolicyAssociationDetails
|
357
385
|
from .update_target_database_details import UpdateTargetDatabaseDetails
|
358
386
|
from .update_user_assessment_details import UpdateUserAssessmentDetails
|
387
|
+
from .user_access_analytics_collection import UserAccessAnalyticsCollection
|
388
|
+
from .user_access_analytics_summary import UserAccessAnalyticsSummary
|
359
389
|
from .user_aggregation import UserAggregation
|
360
390
|
from .user_assessment import UserAssessment
|
361
391
|
from .user_assessment_base_line_details import UserAssessmentBaseLineDetails
|
@@ -473,6 +503,7 @@ data_safe_type_mapping = {
|
|
473
503
|
"CreateMaskingColumnDetails": CreateMaskingColumnDetails,
|
474
504
|
"CreateMaskingPolicyDetails": CreateMaskingPolicyDetails,
|
475
505
|
"CreateOnPremConnectorDetails": CreateOnPremConnectorDetails,
|
506
|
+
"CreatePeerTargetDatabaseDetails": CreatePeerTargetDatabaseDetails,
|
476
507
|
"CreateReportDefinitionDetails": CreateReportDefinitionDetails,
|
477
508
|
"CreateSdmMaskingPolicyDifferenceDetails": CreateSdmMaskingPolicyDifferenceDetails,
|
478
509
|
"CreateSecurityAssessmentDetails": CreateSecurityAssessmentDetails,
|
@@ -494,6 +525,12 @@ data_safe_type_mapping = {
|
|
494
525
|
"DatabaseSecurityConfig": DatabaseSecurityConfig,
|
495
526
|
"DatabaseSecurityConfigCollection": DatabaseSecurityConfigCollection,
|
496
527
|
"DatabaseSecurityConfigSummary": DatabaseSecurityConfigSummary,
|
528
|
+
"DatabaseTableAccessEntry": DatabaseTableAccessEntry,
|
529
|
+
"DatabaseTableAccessEntryCollection": DatabaseTableAccessEntryCollection,
|
530
|
+
"DatabaseTableAccessEntrySummary": DatabaseTableAccessEntrySummary,
|
531
|
+
"DatabaseViewAccessEntry": DatabaseViewAccessEntry,
|
532
|
+
"DatabaseViewAccessEntryCollection": DatabaseViewAccessEntryCollection,
|
533
|
+
"DatabaseViewAccessEntrySummary": DatabaseViewAccessEntrySummary,
|
497
534
|
"DeleteRowsFormatEntry": DeleteRowsFormatEntry,
|
498
535
|
"DeterministicEncryptionDateFormatEntry": DeterministicEncryptionDateFormatEntry,
|
499
536
|
"DeterministicEncryptionFormatEntry": DeterministicEncryptionFormatEntry,
|
@@ -521,7 +558,12 @@ data_safe_type_mapping = {
|
|
521
558
|
"EnableDataSafeConfigurationDetails": EnableDataSafeConfigurationDetails,
|
522
559
|
"EntryDetails": EntryDetails,
|
523
560
|
"Finding": Finding,
|
561
|
+
"FindingAnalyticsCollection": FindingAnalyticsCollection,
|
562
|
+
"FindingAnalyticsDimensions": FindingAnalyticsDimensions,
|
563
|
+
"FindingAnalyticsSummary": FindingAnalyticsSummary,
|
524
564
|
"FindingSummary": FindingSummary,
|
565
|
+
"FindingsChangeAuditLogCollection": FindingsChangeAuditLogCollection,
|
566
|
+
"FindingsChangeAuditLogSummary": FindingsChangeAuditLogSummary,
|
525
567
|
"FirewallPolicyEntryDetails": FirewallPolicyEntryDetails,
|
526
568
|
"FixedNumberFormatEntry": FixedNumberFormatEntry,
|
527
569
|
"FixedStringFormatEntry": FixedStringFormatEntry,
|
@@ -584,6 +626,9 @@ data_safe_type_mapping = {
|
|
584
626
|
"PatchSensitiveColumnDetails": PatchSensitiveColumnDetails,
|
585
627
|
"PatchTargetAlertPolicyAssociationDetails": PatchTargetAlertPolicyAssociationDetails,
|
586
628
|
"PatternFormatEntry": PatternFormatEntry,
|
629
|
+
"PeerTargetDatabase": PeerTargetDatabase,
|
630
|
+
"PeerTargetDatabaseCollection": PeerTargetDatabaseCollection,
|
631
|
+
"PeerTargetDatabaseSummary": PeerTargetDatabaseSummary,
|
587
632
|
"PreserveOriginalDataFormatEntry": PreserveOriginalDataFormatEntry,
|
588
633
|
"PrivateEndpoint": PrivateEndpoint,
|
589
634
|
"Profile": Profile,
|
@@ -608,6 +653,8 @@ data_safe_type_mapping = {
|
|
608
653
|
"ReportDefinitionSummary": ReportDefinitionSummary,
|
609
654
|
"ReportDetails": ReportDetails,
|
610
655
|
"ReportSummary": ReportSummary,
|
656
|
+
"RoleGrantPathCollection": RoleGrantPathCollection,
|
657
|
+
"RoleGrantPathSummary": RoleGrantPathSummary,
|
611
658
|
"RoleSummary": RoleSummary,
|
612
659
|
"RunSecurityAssessmentDetails": RunSecurityAssessmentDetails,
|
613
660
|
"RunUserAssessmentDetails": RunUserAssessmentDetails,
|
@@ -626,6 +673,11 @@ data_safe_type_mapping = {
|
|
626
673
|
"SecurityAssessmentComparisonPerTarget": SecurityAssessmentComparisonPerTarget,
|
627
674
|
"SecurityAssessmentStatistics": SecurityAssessmentStatistics,
|
628
675
|
"SecurityAssessmentSummary": SecurityAssessmentSummary,
|
676
|
+
"SecurityFeatureAnalyticsCollection": SecurityFeatureAnalyticsCollection,
|
677
|
+
"SecurityFeatureAnalyticsDimensions": SecurityFeatureAnalyticsDimensions,
|
678
|
+
"SecurityFeatureAnalyticsSummary": SecurityFeatureAnalyticsSummary,
|
679
|
+
"SecurityFeatureCollection": SecurityFeatureCollection,
|
680
|
+
"SecurityFeatureSummary": SecurityFeatureSummary,
|
629
681
|
"SecurityPolicy": SecurityPolicy,
|
630
682
|
"SecurityPolicyCollection": SecurityPolicyCollection,
|
631
683
|
"SecurityPolicyDeployment": SecurityPolicyDeployment,
|
@@ -634,6 +686,9 @@ data_safe_type_mapping = {
|
|
634
686
|
"SecurityPolicyEntryState": SecurityPolicyEntryState,
|
635
687
|
"SecurityPolicyEntryStateCollection": SecurityPolicyEntryStateCollection,
|
636
688
|
"SecurityPolicyEntryStateSummary": SecurityPolicyEntryStateSummary,
|
689
|
+
"SecurityPolicyReport": SecurityPolicyReport,
|
690
|
+
"SecurityPolicyReportCollection": SecurityPolicyReportCollection,
|
691
|
+
"SecurityPolicyReportSummary": SecurityPolicyReportSummary,
|
637
692
|
"SecurityPolicySummary": SecurityPolicySummary,
|
638
693
|
"SensitiveCategory": SensitiveCategory,
|
639
694
|
"SensitiveColumn": SensitiveColumn,
|
@@ -700,12 +755,15 @@ data_safe_type_mapping = {
|
|
700
755
|
"UpdateColumnSourceTargetDetails": UpdateColumnSourceTargetDetails,
|
701
756
|
"UpdateDataSafePrivateEndpointDetails": UpdateDataSafePrivateEndpointDetails,
|
702
757
|
"UpdateDatabaseSecurityConfigDetails": UpdateDatabaseSecurityConfigDetails,
|
758
|
+
"UpdateFindingDetails": UpdateFindingDetails,
|
703
759
|
"UpdateLibraryMaskingFormatDetails": UpdateLibraryMaskingFormatDetails,
|
704
760
|
"UpdateMaskingColumnDetails": UpdateMaskingColumnDetails,
|
705
761
|
"UpdateMaskingPolicyDetails": UpdateMaskingPolicyDetails,
|
706
762
|
"UpdateOnPremConnectorDetails": UpdateOnPremConnectorDetails,
|
707
763
|
"UpdateOnPremConnectorWalletDetails": UpdateOnPremConnectorWalletDetails,
|
764
|
+
"UpdatePeerTargetDatabaseDetails": UpdatePeerTargetDatabaseDetails,
|
708
765
|
"UpdateReportDefinitionDetails": UpdateReportDefinitionDetails,
|
766
|
+
"UpdateReportDetails": UpdateReportDetails,
|
709
767
|
"UpdateSdmMaskingPolicyDifferenceDetails": UpdateSdmMaskingPolicyDifferenceDetails,
|
710
768
|
"UpdateSecurityAssessmentDetails": UpdateSecurityAssessmentDetails,
|
711
769
|
"UpdateSecurityPolicyDeploymentDetails": UpdateSecurityPolicyDeploymentDetails,
|
@@ -721,6 +779,8 @@ data_safe_type_mapping = {
|
|
721
779
|
"UpdateTargetAlertPolicyAssociationDetails": UpdateTargetAlertPolicyAssociationDetails,
|
722
780
|
"UpdateTargetDatabaseDetails": UpdateTargetDatabaseDetails,
|
723
781
|
"UpdateUserAssessmentDetails": UpdateUserAssessmentDetails,
|
782
|
+
"UserAccessAnalyticsCollection": UserAccessAnalyticsCollection,
|
783
|
+
"UserAccessAnalyticsSummary": UserAccessAnalyticsSummary,
|
724
784
|
"UserAggregation": UserAggregation,
|
725
785
|
"UserAssessment": UserAssessment,
|
726
786
|
"UserAssessmentBaseLineDetails": UserAssessmentBaseLineDetails,
|
@@ -75,6 +75,14 @@ class AuditEventSummary(object):
|
|
75
75
|
#: This constant has a value of "DIRECT_PATH_API"
|
76
76
|
AUDIT_TYPE_DIRECT_PATH_API = "DIRECT_PATH_API"
|
77
77
|
|
78
|
+
#: A constant which can be used with the trail_source property of a AuditEventSummary.
|
79
|
+
#: This constant has a value of "TABLE"
|
80
|
+
TRAIL_SOURCE_TABLE = "TABLE"
|
81
|
+
|
82
|
+
#: A constant which can be used with the trail_source property of a AuditEventSummary.
|
83
|
+
#: This constant has a value of "FILE"
|
84
|
+
TRAIL_SOURCE_FILE = "FILE"
|
85
|
+
|
78
86
|
def __init__(self, **kwargs):
|
79
87
|
"""
|
80
88
|
Initializes a new AuditEventSummary object with values from keyword arguments.
|
@@ -218,6 +226,20 @@ class AuditEventSummary(object):
|
|
218
226
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
219
227
|
:type audit_type: str
|
220
228
|
|
229
|
+
:param peer_target_database_key:
|
230
|
+
The value to assign to the peer_target_database_key property of this AuditEventSummary.
|
231
|
+
:type peer_target_database_key: int
|
232
|
+
|
233
|
+
:param trail_source:
|
234
|
+
The value to assign to the trail_source property of this AuditEventSummary.
|
235
|
+
Allowed values for this property are: "TABLE", "FILE", 'UNKNOWN_ENUM_VALUE'.
|
236
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
237
|
+
:type trail_source: str
|
238
|
+
|
239
|
+
:param database_unique_name:
|
240
|
+
The value to assign to the database_unique_name property of this AuditEventSummary.
|
241
|
+
:type database_unique_name: str
|
242
|
+
|
221
243
|
:param freeform_tags:
|
222
244
|
The value to assign to the freeform_tags property of this AuditEventSummary.
|
223
245
|
:type freeform_tags: dict(str, str)
|
@@ -260,6 +282,9 @@ class AuditEventSummary(object):
|
|
260
282
|
'client_id': 'str',
|
261
283
|
'audit_policies': 'str',
|
262
284
|
'audit_type': 'str',
|
285
|
+
'peer_target_database_key': 'int',
|
286
|
+
'trail_source': 'str',
|
287
|
+
'database_unique_name': 'str',
|
263
288
|
'freeform_tags': 'dict(str, str)',
|
264
289
|
'defined_tags': 'dict(str, dict(str, object))'
|
265
290
|
}
|
@@ -297,6 +322,9 @@ class AuditEventSummary(object):
|
|
297
322
|
'client_id': 'clientId',
|
298
323
|
'audit_policies': 'auditPolicies',
|
299
324
|
'audit_type': 'auditType',
|
325
|
+
'peer_target_database_key': 'peerTargetDatabaseKey',
|
326
|
+
'trail_source': 'trailSource',
|
327
|
+
'database_unique_name': 'databaseUniqueName',
|
300
328
|
'freeform_tags': 'freeformTags',
|
301
329
|
'defined_tags': 'definedTags'
|
302
330
|
}
|
@@ -333,6 +361,9 @@ class AuditEventSummary(object):
|
|
333
361
|
self._client_id = None
|
334
362
|
self._audit_policies = None
|
335
363
|
self._audit_type = None
|
364
|
+
self._peer_target_database_key = None
|
365
|
+
self._trail_source = None
|
366
|
+
self._database_unique_name = None
|
336
367
|
self._freeform_tags = None
|
337
368
|
self._defined_tags = None
|
338
369
|
|
@@ -1140,6 +1171,84 @@ class AuditEventSummary(object):
|
|
1140
1171
|
audit_type = 'UNKNOWN_ENUM_VALUE'
|
1141
1172
|
self._audit_type = audit_type
|
1142
1173
|
|
1174
|
+
@property
|
1175
|
+
def peer_target_database_key(self):
|
1176
|
+
"""
|
1177
|
+
Gets the peer_target_database_key of this AuditEventSummary.
|
1178
|
+
The secondary id assigned for the peer database registered with Data Safe.
|
1179
|
+
|
1180
|
+
|
1181
|
+
:return: The peer_target_database_key of this AuditEventSummary.
|
1182
|
+
:rtype: int
|
1183
|
+
"""
|
1184
|
+
return self._peer_target_database_key
|
1185
|
+
|
1186
|
+
@peer_target_database_key.setter
|
1187
|
+
def peer_target_database_key(self, peer_target_database_key):
|
1188
|
+
"""
|
1189
|
+
Sets the peer_target_database_key of this AuditEventSummary.
|
1190
|
+
The secondary id assigned for the peer database registered with Data Safe.
|
1191
|
+
|
1192
|
+
|
1193
|
+
:param peer_target_database_key: The peer_target_database_key of this AuditEventSummary.
|
1194
|
+
:type: int
|
1195
|
+
"""
|
1196
|
+
self._peer_target_database_key = peer_target_database_key
|
1197
|
+
|
1198
|
+
@property
|
1199
|
+
def trail_source(self):
|
1200
|
+
"""
|
1201
|
+
Gets the trail_source of this AuditEventSummary.
|
1202
|
+
The underlying source of unified audit trail.
|
1203
|
+
|
1204
|
+
Allowed values for this property are: "TABLE", "FILE", 'UNKNOWN_ENUM_VALUE'.
|
1205
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
1206
|
+
|
1207
|
+
|
1208
|
+
:return: The trail_source of this AuditEventSummary.
|
1209
|
+
:rtype: str
|
1210
|
+
"""
|
1211
|
+
return self._trail_source
|
1212
|
+
|
1213
|
+
@trail_source.setter
|
1214
|
+
def trail_source(self, trail_source):
|
1215
|
+
"""
|
1216
|
+
Sets the trail_source of this AuditEventSummary.
|
1217
|
+
The underlying source of unified audit trail.
|
1218
|
+
|
1219
|
+
|
1220
|
+
:param trail_source: The trail_source of this AuditEventSummary.
|
1221
|
+
:type: str
|
1222
|
+
"""
|
1223
|
+
allowed_values = ["TABLE", "FILE"]
|
1224
|
+
if not value_allowed_none_or_none_sentinel(trail_source, allowed_values):
|
1225
|
+
trail_source = 'UNKNOWN_ENUM_VALUE'
|
1226
|
+
self._trail_source = trail_source
|
1227
|
+
|
1228
|
+
@property
|
1229
|
+
def database_unique_name(self):
|
1230
|
+
"""
|
1231
|
+
Gets the database_unique_name of this AuditEventSummary.
|
1232
|
+
Unique name of the database associated to the peer target database.
|
1233
|
+
|
1234
|
+
|
1235
|
+
:return: The database_unique_name of this AuditEventSummary.
|
1236
|
+
:rtype: str
|
1237
|
+
"""
|
1238
|
+
return self._database_unique_name
|
1239
|
+
|
1240
|
+
@database_unique_name.setter
|
1241
|
+
def database_unique_name(self, database_unique_name):
|
1242
|
+
"""
|
1243
|
+
Sets the database_unique_name of this AuditEventSummary.
|
1244
|
+
Unique name of the database associated to the peer target database.
|
1245
|
+
|
1246
|
+
|
1247
|
+
:param database_unique_name: The database_unique_name of this AuditEventSummary.
|
1248
|
+
:type: str
|
1249
|
+
"""
|
1250
|
+
self._database_unique_name = database_unique_name
|
1251
|
+
|
1143
1252
|
@property
|
1144
1253
|
def freeform_tags(self):
|
1145
1254
|
"""
|