pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.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.
- pulumi_oci/__init__.py +248 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +376 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +396 -19
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +28 -0
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +1045 -83
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +75 -8
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +70 -4
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +7975 -1013
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +62 -10
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +12 -0
- pulumi_oci/oci/_inputs.py +566 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/{aianomalydetection/get_ai_private_endpoint.py → oci/get_managed_kafka_kafka_cluster_config.py} +63 -90
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/{aianomalydetection/ai_private_endpoint.py → oci/managed_kafka_kafka_cluster_config.py} +138 -232
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +1540 -164
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +302 -218
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,298 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetSecurityAssessmentTemplateAssociationAnalyticsResult',
|
21
|
+
'AwaitableGetSecurityAssessmentTemplateAssociationAnalyticsResult',
|
22
|
+
'get_security_assessment_template_association_analytics',
|
23
|
+
'get_security_assessment_template_association_analytics_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSecurityAssessmentTemplateAssociationAnalyticsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSecurityAssessmentTemplateAssociationAnalytics.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, target_database_group_id=None, target_id=None, template_assessment_id=None, template_association_analytics_collections=None, template_baseline_assessment_id=None):
|
32
|
+
if access_level and not isinstance(access_level, str):
|
33
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
34
|
+
pulumi.set(__self__, "access_level", access_level)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
39
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
40
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if target_database_group_id and not isinstance(target_database_group_id, str):
|
48
|
+
raise TypeError("Expected argument 'target_database_group_id' to be a str")
|
49
|
+
pulumi.set(__self__, "target_database_group_id", target_database_group_id)
|
50
|
+
if target_id and not isinstance(target_id, str):
|
51
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
52
|
+
pulumi.set(__self__, "target_id", target_id)
|
53
|
+
if template_assessment_id and not isinstance(template_assessment_id, str):
|
54
|
+
raise TypeError("Expected argument 'template_assessment_id' to be a str")
|
55
|
+
pulumi.set(__self__, "template_assessment_id", template_assessment_id)
|
56
|
+
if template_association_analytics_collections and not isinstance(template_association_analytics_collections, list):
|
57
|
+
raise TypeError("Expected argument 'template_association_analytics_collections' to be a list")
|
58
|
+
pulumi.set(__self__, "template_association_analytics_collections", template_association_analytics_collections)
|
59
|
+
if template_baseline_assessment_id and not isinstance(template_baseline_assessment_id, str):
|
60
|
+
raise TypeError("Expected argument 'template_baseline_assessment_id' to be a str")
|
61
|
+
pulumi.set(__self__, "template_baseline_assessment_id", template_baseline_assessment_id)
|
62
|
+
|
63
|
+
@_builtins.property
|
64
|
+
@pulumi.getter(name="accessLevel")
|
65
|
+
def access_level(self) -> Optional[_builtins.str]:
|
66
|
+
return pulumi.get(self, "access_level")
|
67
|
+
|
68
|
+
@_builtins.property
|
69
|
+
@pulumi.getter(name="compartmentId")
|
70
|
+
def compartment_id(self) -> _builtins.str:
|
71
|
+
return pulumi.get(self, "compartment_id")
|
72
|
+
|
73
|
+
@_builtins.property
|
74
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
75
|
+
def compartment_id_in_subtree(self) -> Optional[_builtins.bool]:
|
76
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
77
|
+
|
78
|
+
@_builtins.property
|
79
|
+
@pulumi.getter
|
80
|
+
def filters(self) -> Optional[Sequence['outputs.GetSecurityAssessmentTemplateAssociationAnalyticsFilterResult']]:
|
81
|
+
return pulumi.get(self, "filters")
|
82
|
+
|
83
|
+
@_builtins.property
|
84
|
+
@pulumi.getter
|
85
|
+
def id(self) -> _builtins.str:
|
86
|
+
"""
|
87
|
+
The provider-assigned unique ID for this managed resource.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "id")
|
90
|
+
|
91
|
+
@_builtins.property
|
92
|
+
@pulumi.getter(name="targetDatabaseGroupId")
|
93
|
+
def target_database_group_id(self) -> Optional[_builtins.str]:
|
94
|
+
"""
|
95
|
+
The OCID of the target database group that the group assessment is created for. This field will be in the response if the template was applied on a target group.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "target_database_group_id")
|
98
|
+
|
99
|
+
@_builtins.property
|
100
|
+
@pulumi.getter(name="targetId")
|
101
|
+
def target_id(self) -> Optional[_builtins.str]:
|
102
|
+
"""
|
103
|
+
The OCID of the target database. If the template was applied on a target group, this field will be the OCID of the target members of the target group. If the template was applied on an individual target, this field will contain that targetId.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "target_id")
|
106
|
+
|
107
|
+
@_builtins.property
|
108
|
+
@pulumi.getter(name="templateAssessmentId")
|
109
|
+
def template_assessment_id(self) -> Optional[_builtins.str]:
|
110
|
+
"""
|
111
|
+
The OCID of the security assessment of type TEMPLATE.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "template_assessment_id")
|
114
|
+
|
115
|
+
@_builtins.property
|
116
|
+
@pulumi.getter(name="templateAssociationAnalyticsCollections")
|
117
|
+
def template_association_analytics_collections(self) -> Sequence['outputs.GetSecurityAssessmentTemplateAssociationAnalyticsTemplateAssociationAnalyticsCollectionResult']:
|
118
|
+
"""
|
119
|
+
The list of template_association_analytics_collection.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "template_association_analytics_collections")
|
122
|
+
|
123
|
+
@_builtins.property
|
124
|
+
@pulumi.getter(name="templateBaselineAssessmentId")
|
125
|
+
def template_baseline_assessment_id(self) -> Optional[_builtins.str]:
|
126
|
+
"""
|
127
|
+
The OCID of the security assessment of type TEMPLATE_BASELINE.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "template_baseline_assessment_id")
|
130
|
+
|
131
|
+
|
132
|
+
class AwaitableGetSecurityAssessmentTemplateAssociationAnalyticsResult(GetSecurityAssessmentTemplateAssociationAnalyticsResult):
|
133
|
+
# pylint: disable=using-constant-test
|
134
|
+
def __await__(self):
|
135
|
+
if False:
|
136
|
+
yield self
|
137
|
+
return GetSecurityAssessmentTemplateAssociationAnalyticsResult(
|
138
|
+
access_level=self.access_level,
|
139
|
+
compartment_id=self.compartment_id,
|
140
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
141
|
+
filters=self.filters,
|
142
|
+
id=self.id,
|
143
|
+
target_database_group_id=self.target_database_group_id,
|
144
|
+
target_id=self.target_id,
|
145
|
+
template_assessment_id=self.template_assessment_id,
|
146
|
+
template_association_analytics_collections=self.template_association_analytics_collections,
|
147
|
+
template_baseline_assessment_id=self.template_baseline_assessment_id)
|
148
|
+
|
149
|
+
|
150
|
+
def get_security_assessment_template_association_analytics(access_level: Optional[_builtins.str] = None,
|
151
|
+
compartment_id: Optional[_builtins.str] = None,
|
152
|
+
compartment_id_in_subtree: Optional[_builtins.bool] = None,
|
153
|
+
filters: Optional[Sequence[Union['GetSecurityAssessmentTemplateAssociationAnalyticsFilterArgs', 'GetSecurityAssessmentTemplateAssociationAnalyticsFilterArgsDict']]] = None,
|
154
|
+
target_database_group_id: Optional[_builtins.str] = None,
|
155
|
+
target_id: Optional[_builtins.str] = None,
|
156
|
+
template_assessment_id: Optional[_builtins.str] = None,
|
157
|
+
template_baseline_assessment_id: Optional[_builtins.str] = None,
|
158
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAssessmentTemplateAssociationAnalyticsResult:
|
159
|
+
"""
|
160
|
+
This data source provides the list of Security Assessment Template Association Analytics in Oracle Cloud Infrastructure Data Safe service.
|
161
|
+
|
162
|
+
Gets a list of template association details in the specified compartment. This provides information about the
|
163
|
+
overall template usage, by returning the count of the target databases/target groups using the templates.
|
164
|
+
|
165
|
+
If the template baseline is created for a target group which contains several targets, we will have each individual target
|
166
|
+
listed there as targetId field together with targetDatabaseGroupId. And if the template baseline is created for an individual target,
|
167
|
+
it will have targetId field only.
|
168
|
+
|
169
|
+
By leveraging the targetId filter, you will be able to know all the template or template baseline that this target has something to do with.
|
170
|
+
No matter if they are directly applied or created for this target, or they are for the target group the target belongs to.
|
171
|
+
|
172
|
+
When you perform the ListTemplateAssociationAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
|
173
|
+
parameter accessLevel is set to ACCESSIBLE, then the operation returns statistics from the compartments in which the requestor has INSPECT
|
174
|
+
permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
175
|
+
root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
176
|
+
compartmentId, then "Not Authorized" is returned.
|
177
|
+
|
178
|
+
## Example Usage
|
179
|
+
|
180
|
+
```python
|
181
|
+
import pulumi
|
182
|
+
import pulumi_oci as oci
|
183
|
+
|
184
|
+
test_security_assessment_template_association_analytics = oci.DataSafe.get_security_assessment_template_association_analytics(compartment_id=compartment_id,
|
185
|
+
access_level=security_assessment_template_association_analytic_access_level,
|
186
|
+
compartment_id_in_subtree=security_assessment_template_association_analytic_compartment_id_in_subtree,
|
187
|
+
target_database_group_id=test_target_database_group["id"],
|
188
|
+
target_id=test_target["id"],
|
189
|
+
template_assessment_id=test_template_assessment["id"],
|
190
|
+
template_baseline_assessment_id=test_template_baseline_assessment["id"])
|
191
|
+
```
|
192
|
+
|
193
|
+
|
194
|
+
:param _builtins.str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
195
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
196
|
+
:param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
197
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
198
|
+
:param _builtins.str target_id: A filter to return only items related to a specific target OCID.
|
199
|
+
:param _builtins.str template_assessment_id: The OCID of the security assessment of type TEMPLATE.
|
200
|
+
:param _builtins.str template_baseline_assessment_id: The OCID of the security assessment of type TEMPLATE_BASELINE.
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['accessLevel'] = access_level
|
204
|
+
__args__['compartmentId'] = compartment_id
|
205
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
206
|
+
__args__['filters'] = filters
|
207
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
208
|
+
__args__['targetId'] = target_id
|
209
|
+
__args__['templateAssessmentId'] = template_assessment_id
|
210
|
+
__args__['templateBaselineAssessmentId'] = template_baseline_assessment_id
|
211
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
212
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityAssessmentTemplateAssociationAnalytics:getSecurityAssessmentTemplateAssociationAnalytics', __args__, opts=opts, typ=GetSecurityAssessmentTemplateAssociationAnalyticsResult).value
|
213
|
+
|
214
|
+
return AwaitableGetSecurityAssessmentTemplateAssociationAnalyticsResult(
|
215
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
216
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
217
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
218
|
+
filters=pulumi.get(__ret__, 'filters'),
|
219
|
+
id=pulumi.get(__ret__, 'id'),
|
220
|
+
target_database_group_id=pulumi.get(__ret__, 'target_database_group_id'),
|
221
|
+
target_id=pulumi.get(__ret__, 'target_id'),
|
222
|
+
template_assessment_id=pulumi.get(__ret__, 'template_assessment_id'),
|
223
|
+
template_association_analytics_collections=pulumi.get(__ret__, 'template_association_analytics_collections'),
|
224
|
+
template_baseline_assessment_id=pulumi.get(__ret__, 'template_baseline_assessment_id'))
|
225
|
+
def get_security_assessment_template_association_analytics_output(access_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
226
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
227
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
228
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSecurityAssessmentTemplateAssociationAnalyticsFilterArgs', 'GetSecurityAssessmentTemplateAssociationAnalyticsFilterArgsDict']]]]] = None,
|
229
|
+
target_database_group_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
230
|
+
target_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
231
|
+
template_assessment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
232
|
+
template_baseline_assessment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
233
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityAssessmentTemplateAssociationAnalyticsResult]:
|
234
|
+
"""
|
235
|
+
This data source provides the list of Security Assessment Template Association Analytics in Oracle Cloud Infrastructure Data Safe service.
|
236
|
+
|
237
|
+
Gets a list of template association details in the specified compartment. This provides information about the
|
238
|
+
overall template usage, by returning the count of the target databases/target groups using the templates.
|
239
|
+
|
240
|
+
If the template baseline is created for a target group which contains several targets, we will have each individual target
|
241
|
+
listed there as targetId field together with targetDatabaseGroupId. And if the template baseline is created for an individual target,
|
242
|
+
it will have targetId field only.
|
243
|
+
|
244
|
+
By leveraging the targetId filter, you will be able to know all the template or template baseline that this target has something to do with.
|
245
|
+
No matter if they are directly applied or created for this target, or they are for the target group the target belongs to.
|
246
|
+
|
247
|
+
When you perform the ListTemplateAssociationAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
|
248
|
+
parameter accessLevel is set to ACCESSIBLE, then the operation returns statistics from the compartments in which the requestor has INSPECT
|
249
|
+
permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
250
|
+
root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
251
|
+
compartmentId, then "Not Authorized" is returned.
|
252
|
+
|
253
|
+
## Example Usage
|
254
|
+
|
255
|
+
```python
|
256
|
+
import pulumi
|
257
|
+
import pulumi_oci as oci
|
258
|
+
|
259
|
+
test_security_assessment_template_association_analytics = oci.DataSafe.get_security_assessment_template_association_analytics(compartment_id=compartment_id,
|
260
|
+
access_level=security_assessment_template_association_analytic_access_level,
|
261
|
+
compartment_id_in_subtree=security_assessment_template_association_analytic_compartment_id_in_subtree,
|
262
|
+
target_database_group_id=test_target_database_group["id"],
|
263
|
+
target_id=test_target["id"],
|
264
|
+
template_assessment_id=test_template_assessment["id"],
|
265
|
+
template_baseline_assessment_id=test_template_baseline_assessment["id"])
|
266
|
+
```
|
267
|
+
|
268
|
+
|
269
|
+
:param _builtins.str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
270
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
271
|
+
:param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
272
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
273
|
+
:param _builtins.str target_id: A filter to return only items related to a specific target OCID.
|
274
|
+
:param _builtins.str template_assessment_id: The OCID of the security assessment of type TEMPLATE.
|
275
|
+
:param _builtins.str template_baseline_assessment_id: The OCID of the security assessment of type TEMPLATE_BASELINE.
|
276
|
+
"""
|
277
|
+
__args__ = dict()
|
278
|
+
__args__['accessLevel'] = access_level
|
279
|
+
__args__['compartmentId'] = compartment_id
|
280
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
281
|
+
__args__['filters'] = filters
|
282
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
283
|
+
__args__['targetId'] = target_id
|
284
|
+
__args__['templateAssessmentId'] = template_assessment_id
|
285
|
+
__args__['templateBaselineAssessmentId'] = template_baseline_assessment_id
|
286
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
287
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSecurityAssessmentTemplateAssociationAnalytics:getSecurityAssessmentTemplateAssociationAnalytics', __args__, opts=opts, typ=GetSecurityAssessmentTemplateAssociationAnalyticsResult)
|
288
|
+
return __ret__.apply(lambda __response__: GetSecurityAssessmentTemplateAssociationAnalyticsResult(
|
289
|
+
access_level=pulumi.get(__response__, 'access_level'),
|
290
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
291
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
292
|
+
filters=pulumi.get(__response__, 'filters'),
|
293
|
+
id=pulumi.get(__response__, 'id'),
|
294
|
+
target_database_group_id=pulumi.get(__response__, 'target_database_group_id'),
|
295
|
+
target_id=pulumi.get(__response__, 'target_id'),
|
296
|
+
template_assessment_id=pulumi.get(__response__, 'template_assessment_id'),
|
297
|
+
template_association_analytics_collections=pulumi.get(__response__, 'template_association_analytics_collections'),
|
298
|
+
template_baseline_assessment_id=pulumi.get(__response__, 'template_baseline_assessment_id')))
|
@@ -0,0 +1,347 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetSecurityAssessmentTemplateBaselineComparisonResult',
|
20
|
+
'AwaitableGetSecurityAssessmentTemplateBaselineComparisonResult',
|
21
|
+
'get_security_assessment_template_baseline_comparison',
|
22
|
+
'get_security_assessment_template_baseline_comparison_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetSecurityAssessmentTemplateBaselineComparisonResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getSecurityAssessmentTemplateBaselineComparison.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, auditings=None, authorization_controls=None, category=None, comparison_security_assessment_id=None, data_encryptions=None, db_configurations=None, finding_key=None, fine_grained_access_controls=None, id=None, privileges_and_roles=None, security_assessment_id=None, state=None, target_id=None, template_baseline_id=None, template_baseline_name=None, time_created=None, user_accounts=None):
|
31
|
+
if auditings and not isinstance(auditings, list):
|
32
|
+
raise TypeError("Expected argument 'auditings' to be a list")
|
33
|
+
pulumi.set(__self__, "auditings", auditings)
|
34
|
+
if authorization_controls and not isinstance(authorization_controls, list):
|
35
|
+
raise TypeError("Expected argument 'authorization_controls' to be a list")
|
36
|
+
pulumi.set(__self__, "authorization_controls", authorization_controls)
|
37
|
+
if category and not isinstance(category, str):
|
38
|
+
raise TypeError("Expected argument 'category' to be a str")
|
39
|
+
pulumi.set(__self__, "category", category)
|
40
|
+
if comparison_security_assessment_id and not isinstance(comparison_security_assessment_id, str):
|
41
|
+
raise TypeError("Expected argument 'comparison_security_assessment_id' to be a str")
|
42
|
+
pulumi.set(__self__, "comparison_security_assessment_id", comparison_security_assessment_id)
|
43
|
+
if data_encryptions and not isinstance(data_encryptions, list):
|
44
|
+
raise TypeError("Expected argument 'data_encryptions' to be a list")
|
45
|
+
pulumi.set(__self__, "data_encryptions", data_encryptions)
|
46
|
+
if db_configurations and not isinstance(db_configurations, list):
|
47
|
+
raise TypeError("Expected argument 'db_configurations' to be a list")
|
48
|
+
pulumi.set(__self__, "db_configurations", db_configurations)
|
49
|
+
if finding_key and not isinstance(finding_key, str):
|
50
|
+
raise TypeError("Expected argument 'finding_key' to be a str")
|
51
|
+
pulumi.set(__self__, "finding_key", finding_key)
|
52
|
+
if fine_grained_access_controls and not isinstance(fine_grained_access_controls, list):
|
53
|
+
raise TypeError("Expected argument 'fine_grained_access_controls' to be a list")
|
54
|
+
pulumi.set(__self__, "fine_grained_access_controls", fine_grained_access_controls)
|
55
|
+
if id and not isinstance(id, str):
|
56
|
+
raise TypeError("Expected argument 'id' to be a str")
|
57
|
+
pulumi.set(__self__, "id", id)
|
58
|
+
if privileges_and_roles and not isinstance(privileges_and_roles, list):
|
59
|
+
raise TypeError("Expected argument 'privileges_and_roles' to be a list")
|
60
|
+
pulumi.set(__self__, "privileges_and_roles", privileges_and_roles)
|
61
|
+
if security_assessment_id and not isinstance(security_assessment_id, str):
|
62
|
+
raise TypeError("Expected argument 'security_assessment_id' to be a str")
|
63
|
+
pulumi.set(__self__, "security_assessment_id", security_assessment_id)
|
64
|
+
if state and not isinstance(state, str):
|
65
|
+
raise TypeError("Expected argument 'state' to be a str")
|
66
|
+
pulumi.set(__self__, "state", state)
|
67
|
+
if target_id and not isinstance(target_id, str):
|
68
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
69
|
+
pulumi.set(__self__, "target_id", target_id)
|
70
|
+
if template_baseline_id and not isinstance(template_baseline_id, str):
|
71
|
+
raise TypeError("Expected argument 'template_baseline_id' to be a str")
|
72
|
+
pulumi.set(__self__, "template_baseline_id", template_baseline_id)
|
73
|
+
if template_baseline_name and not isinstance(template_baseline_name, str):
|
74
|
+
raise TypeError("Expected argument 'template_baseline_name' to be a str")
|
75
|
+
pulumi.set(__self__, "template_baseline_name", template_baseline_name)
|
76
|
+
if time_created and not isinstance(time_created, str):
|
77
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
78
|
+
pulumi.set(__self__, "time_created", time_created)
|
79
|
+
if user_accounts and not isinstance(user_accounts, list):
|
80
|
+
raise TypeError("Expected argument 'user_accounts' to be a list")
|
81
|
+
pulumi.set(__self__, "user_accounts", user_accounts)
|
82
|
+
|
83
|
+
@_builtins.property
|
84
|
+
@pulumi.getter
|
85
|
+
def auditings(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonAuditingResult']:
|
86
|
+
"""
|
87
|
+
A comparison between findings belonging to Auditing category.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "auditings")
|
90
|
+
|
91
|
+
@_builtins.property
|
92
|
+
@pulumi.getter(name="authorizationControls")
|
93
|
+
def authorization_controls(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonAuthorizationControlResult']:
|
94
|
+
"""
|
95
|
+
A comparison between findings belonging to Authorization Control category.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "authorization_controls")
|
98
|
+
|
99
|
+
@_builtins.property
|
100
|
+
@pulumi.getter
|
101
|
+
def category(self) -> Optional[_builtins.str]:
|
102
|
+
return pulumi.get(self, "category")
|
103
|
+
|
104
|
+
@_builtins.property
|
105
|
+
@pulumi.getter(name="comparisonSecurityAssessmentId")
|
106
|
+
def comparison_security_assessment_id(self) -> _builtins.str:
|
107
|
+
return pulumi.get(self, "comparison_security_assessment_id")
|
108
|
+
|
109
|
+
@_builtins.property
|
110
|
+
@pulumi.getter(name="dataEncryptions")
|
111
|
+
def data_encryptions(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonDataEncryptionResult']:
|
112
|
+
"""
|
113
|
+
Comparison between findings belonging to Data Encryption category.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "data_encryptions")
|
116
|
+
|
117
|
+
@_builtins.property
|
118
|
+
@pulumi.getter(name="dbConfigurations")
|
119
|
+
def db_configurations(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonDbConfigurationResult']:
|
120
|
+
"""
|
121
|
+
Comparison between findings belonging to Database Configuration category.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "db_configurations")
|
124
|
+
|
125
|
+
@_builtins.property
|
126
|
+
@pulumi.getter(name="findingKey")
|
127
|
+
def finding_key(self) -> Optional[_builtins.str]:
|
128
|
+
return pulumi.get(self, "finding_key")
|
129
|
+
|
130
|
+
@_builtins.property
|
131
|
+
@pulumi.getter(name="fineGrainedAccessControls")
|
132
|
+
def fine_grained_access_controls(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonFineGrainedAccessControlResult']:
|
133
|
+
"""
|
134
|
+
Comparison between findings belonging to Fine-Grained Access Control category.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "fine_grained_access_controls")
|
137
|
+
|
138
|
+
@_builtins.property
|
139
|
+
@pulumi.getter
|
140
|
+
def id(self) -> _builtins.str:
|
141
|
+
"""
|
142
|
+
The provider-assigned unique ID for this managed resource.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "id")
|
145
|
+
|
146
|
+
@_builtins.property
|
147
|
+
@pulumi.getter(name="privilegesAndRoles")
|
148
|
+
def privileges_and_roles(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonPrivilegesAndRoleResult']:
|
149
|
+
"""
|
150
|
+
Comparison between findings belonging to Privileges and Roles category.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "privileges_and_roles")
|
153
|
+
|
154
|
+
@_builtins.property
|
155
|
+
@pulumi.getter(name="securityAssessmentId")
|
156
|
+
def security_assessment_id(self) -> _builtins.str:
|
157
|
+
return pulumi.get(self, "security_assessment_id")
|
158
|
+
|
159
|
+
@_builtins.property
|
160
|
+
@pulumi.getter
|
161
|
+
def state(self) -> _builtins.str:
|
162
|
+
"""
|
163
|
+
The current state of the finding.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "state")
|
166
|
+
|
167
|
+
@_builtins.property
|
168
|
+
@pulumi.getter(name="targetId")
|
169
|
+
def target_id(self) -> Optional[_builtins.str]:
|
170
|
+
"""
|
171
|
+
The OCID of the target database.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "target_id")
|
174
|
+
|
175
|
+
@_builtins.property
|
176
|
+
@pulumi.getter(name="templateBaselineId")
|
177
|
+
def template_baseline_id(self) -> _builtins.str:
|
178
|
+
"""
|
179
|
+
The OCID of the security assessment that is set as a template baseline.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "template_baseline_id")
|
182
|
+
|
183
|
+
@_builtins.property
|
184
|
+
@pulumi.getter(name="templateBaselineName")
|
185
|
+
def template_baseline_name(self) -> _builtins.str:
|
186
|
+
"""
|
187
|
+
The display name of the security assessment that is set as a template baseline.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "template_baseline_name")
|
190
|
+
|
191
|
+
@_builtins.property
|
192
|
+
@pulumi.getter(name="timeCreated")
|
193
|
+
def time_created(self) -> _builtins.str:
|
194
|
+
"""
|
195
|
+
The date and time when the security assessment comparison was created. Conforms to the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "time_created")
|
198
|
+
|
199
|
+
@_builtins.property
|
200
|
+
@pulumi.getter(name="userAccounts")
|
201
|
+
def user_accounts(self) -> Sequence['outputs.GetSecurityAssessmentTemplateBaselineComparisonUserAccountResult']:
|
202
|
+
"""
|
203
|
+
Comparison between findings belonging to User Accounts category.
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "user_accounts")
|
206
|
+
|
207
|
+
|
208
|
+
class AwaitableGetSecurityAssessmentTemplateBaselineComparisonResult(GetSecurityAssessmentTemplateBaselineComparisonResult):
|
209
|
+
# pylint: disable=using-constant-test
|
210
|
+
def __await__(self):
|
211
|
+
if False:
|
212
|
+
yield self
|
213
|
+
return GetSecurityAssessmentTemplateBaselineComparisonResult(
|
214
|
+
auditings=self.auditings,
|
215
|
+
authorization_controls=self.authorization_controls,
|
216
|
+
category=self.category,
|
217
|
+
comparison_security_assessment_id=self.comparison_security_assessment_id,
|
218
|
+
data_encryptions=self.data_encryptions,
|
219
|
+
db_configurations=self.db_configurations,
|
220
|
+
finding_key=self.finding_key,
|
221
|
+
fine_grained_access_controls=self.fine_grained_access_controls,
|
222
|
+
id=self.id,
|
223
|
+
privileges_and_roles=self.privileges_and_roles,
|
224
|
+
security_assessment_id=self.security_assessment_id,
|
225
|
+
state=self.state,
|
226
|
+
target_id=self.target_id,
|
227
|
+
template_baseline_id=self.template_baseline_id,
|
228
|
+
template_baseline_name=self.template_baseline_name,
|
229
|
+
time_created=self.time_created,
|
230
|
+
user_accounts=self.user_accounts)
|
231
|
+
|
232
|
+
|
233
|
+
def get_security_assessment_template_baseline_comparison(category: Optional[_builtins.str] = None,
|
234
|
+
comparison_security_assessment_id: Optional[_builtins.str] = None,
|
235
|
+
finding_key: Optional[_builtins.str] = None,
|
236
|
+
security_assessment_id: Optional[_builtins.str] = None,
|
237
|
+
target_id: Optional[_builtins.str] = None,
|
238
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAssessmentTemplateBaselineComparisonResult:
|
239
|
+
"""
|
240
|
+
This data source provides details about a specific Security Assessment Template Baseline Comparison resource in Oracle Cloud Infrastructure Data Safe service.
|
241
|
+
|
242
|
+
Gets the details of the comparison report for the security assessments submitted for comparison.
|
243
|
+
|
244
|
+
## Example Usage
|
245
|
+
|
246
|
+
```python
|
247
|
+
import pulumi
|
248
|
+
import pulumi_oci as oci
|
249
|
+
|
250
|
+
test_security_assessment_template_baseline_comparison = oci.DataSafe.get_security_assessment_template_baseline_comparison(comparison_security_assessment_id=test_security_assessment["id"],
|
251
|
+
security_assessment_id=test_security_assessment["id"],
|
252
|
+
category=security_assessment_template_baseline_comparison_category,
|
253
|
+
finding_key=security_assessment_template_baseline_comparison_finding_key,
|
254
|
+
target_id=test_target["id"])
|
255
|
+
```
|
256
|
+
|
257
|
+
|
258
|
+
:param _builtins.str category: The category of the finding.
|
259
|
+
:param _builtins.str comparison_security_assessment_id: The OCID of the security assessment baseline.
|
260
|
+
:param _builtins.str finding_key: The unique key that identifies the finding. It is a string and unique within a security assessment.
|
261
|
+
:param _builtins.str security_assessment_id: The OCID of the security assessment.
|
262
|
+
:param _builtins.str target_id: A filter to return only items related to a specific target OCID.
|
263
|
+
"""
|
264
|
+
__args__ = dict()
|
265
|
+
__args__['category'] = category
|
266
|
+
__args__['comparisonSecurityAssessmentId'] = comparison_security_assessment_id
|
267
|
+
__args__['findingKey'] = finding_key
|
268
|
+
__args__['securityAssessmentId'] = security_assessment_id
|
269
|
+
__args__['targetId'] = target_id
|
270
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
271
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityAssessmentTemplateBaselineComparison:getSecurityAssessmentTemplateBaselineComparison', __args__, opts=opts, typ=GetSecurityAssessmentTemplateBaselineComparisonResult).value
|
272
|
+
|
273
|
+
return AwaitableGetSecurityAssessmentTemplateBaselineComparisonResult(
|
274
|
+
auditings=pulumi.get(__ret__, 'auditings'),
|
275
|
+
authorization_controls=pulumi.get(__ret__, 'authorization_controls'),
|
276
|
+
category=pulumi.get(__ret__, 'category'),
|
277
|
+
comparison_security_assessment_id=pulumi.get(__ret__, 'comparison_security_assessment_id'),
|
278
|
+
data_encryptions=pulumi.get(__ret__, 'data_encryptions'),
|
279
|
+
db_configurations=pulumi.get(__ret__, 'db_configurations'),
|
280
|
+
finding_key=pulumi.get(__ret__, 'finding_key'),
|
281
|
+
fine_grained_access_controls=pulumi.get(__ret__, 'fine_grained_access_controls'),
|
282
|
+
id=pulumi.get(__ret__, 'id'),
|
283
|
+
privileges_and_roles=pulumi.get(__ret__, 'privileges_and_roles'),
|
284
|
+
security_assessment_id=pulumi.get(__ret__, 'security_assessment_id'),
|
285
|
+
state=pulumi.get(__ret__, 'state'),
|
286
|
+
target_id=pulumi.get(__ret__, 'target_id'),
|
287
|
+
template_baseline_id=pulumi.get(__ret__, 'template_baseline_id'),
|
288
|
+
template_baseline_name=pulumi.get(__ret__, 'template_baseline_name'),
|
289
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
290
|
+
user_accounts=pulumi.get(__ret__, 'user_accounts'))
|
291
|
+
def get_security_assessment_template_baseline_comparison_output(category: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
292
|
+
comparison_security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
293
|
+
finding_key: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
294
|
+
security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
295
|
+
target_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
296
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityAssessmentTemplateBaselineComparisonResult]:
|
297
|
+
"""
|
298
|
+
This data source provides details about a specific Security Assessment Template Baseline Comparison resource in Oracle Cloud Infrastructure Data Safe service.
|
299
|
+
|
300
|
+
Gets the details of the comparison report for the security assessments submitted for comparison.
|
301
|
+
|
302
|
+
## Example Usage
|
303
|
+
|
304
|
+
```python
|
305
|
+
import pulumi
|
306
|
+
import pulumi_oci as oci
|
307
|
+
|
308
|
+
test_security_assessment_template_baseline_comparison = oci.DataSafe.get_security_assessment_template_baseline_comparison(comparison_security_assessment_id=test_security_assessment["id"],
|
309
|
+
security_assessment_id=test_security_assessment["id"],
|
310
|
+
category=security_assessment_template_baseline_comparison_category,
|
311
|
+
finding_key=security_assessment_template_baseline_comparison_finding_key,
|
312
|
+
target_id=test_target["id"])
|
313
|
+
```
|
314
|
+
|
315
|
+
|
316
|
+
:param _builtins.str category: The category of the finding.
|
317
|
+
:param _builtins.str comparison_security_assessment_id: The OCID of the security assessment baseline.
|
318
|
+
:param _builtins.str finding_key: The unique key that identifies the finding. It is a string and unique within a security assessment.
|
319
|
+
:param _builtins.str security_assessment_id: The OCID of the security assessment.
|
320
|
+
:param _builtins.str target_id: A filter to return only items related to a specific target OCID.
|
321
|
+
"""
|
322
|
+
__args__ = dict()
|
323
|
+
__args__['category'] = category
|
324
|
+
__args__['comparisonSecurityAssessmentId'] = comparison_security_assessment_id
|
325
|
+
__args__['findingKey'] = finding_key
|
326
|
+
__args__['securityAssessmentId'] = security_assessment_id
|
327
|
+
__args__['targetId'] = target_id
|
328
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
329
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSecurityAssessmentTemplateBaselineComparison:getSecurityAssessmentTemplateBaselineComparison', __args__, opts=opts, typ=GetSecurityAssessmentTemplateBaselineComparisonResult)
|
330
|
+
return __ret__.apply(lambda __response__: GetSecurityAssessmentTemplateBaselineComparisonResult(
|
331
|
+
auditings=pulumi.get(__response__, 'auditings'),
|
332
|
+
authorization_controls=pulumi.get(__response__, 'authorization_controls'),
|
333
|
+
category=pulumi.get(__response__, 'category'),
|
334
|
+
comparison_security_assessment_id=pulumi.get(__response__, 'comparison_security_assessment_id'),
|
335
|
+
data_encryptions=pulumi.get(__response__, 'data_encryptions'),
|
336
|
+
db_configurations=pulumi.get(__response__, 'db_configurations'),
|
337
|
+
finding_key=pulumi.get(__response__, 'finding_key'),
|
338
|
+
fine_grained_access_controls=pulumi.get(__response__, 'fine_grained_access_controls'),
|
339
|
+
id=pulumi.get(__response__, 'id'),
|
340
|
+
privileges_and_roles=pulumi.get(__response__, 'privileges_and_roles'),
|
341
|
+
security_assessment_id=pulumi.get(__response__, 'security_assessment_id'),
|
342
|
+
state=pulumi.get(__response__, 'state'),
|
343
|
+
target_id=pulumi.get(__response__, 'target_id'),
|
344
|
+
template_baseline_id=pulumi.get(__response__, 'template_baseline_id'),
|
345
|
+
template_baseline_name=pulumi.get(__response__, 'template_baseline_name'),
|
346
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
347
|
+
user_accounts=pulumi.get(__response__, 'user_accounts')))
|