pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.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 +128 -0
- pulumi_oci/aivision/__init__.py +12 -0
- pulumi_oci/aivision/_inputs.py +787 -51
- pulumi_oci/aivision/get_model.py +4 -4
- pulumi_oci/aivision/get_models.py +11 -11
- pulumi_oci/aivision/get_project.py +15 -15
- pulumi_oci/aivision/get_projects.py +10 -10
- pulumi_oci/aivision/get_stream_group.py +268 -0
- pulumi_oci/aivision/get_stream_groups.py +177 -0
- pulumi_oci/aivision/get_stream_job.py +296 -0
- pulumi_oci/aivision/get_stream_jobs.py +199 -0
- pulumi_oci/aivision/get_stream_source.py +240 -0
- pulumi_oci/aivision/get_stream_sources.py +199 -0
- pulumi_oci/aivision/get_vision_private_endpoint.py +267 -0
- pulumi_oci/aivision/get_vision_private_endpoints.py +199 -0
- pulumi_oci/aivision/model.py +149 -157
- pulumi_oci/aivision/outputs.py +1920 -116
- pulumi_oci/aivision/project.py +61 -69
- pulumi_oci/aivision/stream_group.py +632 -0
- pulumi_oci/aivision/stream_job.py +744 -0
- pulumi_oci/aivision/stream_source.py +519 -0
- pulumi_oci/aivision/vision_private_endpoint.py +606 -0
- pulumi_oci/cloudguard/_inputs.py +1198 -72
- pulumi_oci/cloudguard/get_managed_list.py +15 -1
- pulumi_oci/cloudguard/managed_list.py +47 -0
- pulumi_oci/cloudguard/outputs.py +2104 -67
- pulumi_oci/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +298 -13
- 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 +126 -0
- 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 +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +696 -13
- 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_findings.py +73 -6
- 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 +68 -2
- 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 +6964 -192
- 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/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/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/mysql/_inputs.py +221 -0
- pulumi_oci/mysql/get_mysql_backup.py +40 -4
- pulumi_oci/mysql/get_mysql_backups.py +2 -2
- pulumi_oci/mysql/mysql_backup.py +119 -3
- pulumi_oci/mysql/outputs.py +343 -957
- pulumi_oci/oci/__init__.py +17 -0
- pulumi_oci/oci/_inputs.py +676 -15
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +103 -54
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +45 -45
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +42 -44
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +100 -72
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +74 -74
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +50 -50
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_identity_connector.py +924 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_key_ring.py +762 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +37 -15
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +26 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +30 -16
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +11 -11
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +41 -13
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +17 -17
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connector.py +366 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connectors.py +213 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key.py +295 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_ring.py +309 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_rings.py +229 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_keys.py +232 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- 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/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +2051 -142
- pulumi_oci/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/RECORD +194 -141
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/top_level.txt +0 -0
@@ -21,34 +21,44 @@ __all__ = ['AuditProfileArgs', 'AuditProfile']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class AuditProfileArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
target_id: pulumi.Input[_builtins.str],
|
26
|
+
target_type: pulumi.Input[_builtins.str],
|
25
27
|
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
26
|
-
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
27
28
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
29
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
29
30
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
30
31
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
31
|
-
|
32
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
33
|
+
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
34
|
+
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
35
|
+
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
36
|
+
online_months: Optional[pulumi.Input[_builtins.int]] = None):
|
32
37
|
"""
|
33
38
|
The set of arguments for constructing a AuditProfile resource.
|
34
|
-
:param pulumi.Input[_builtins.str]
|
39
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
40
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
|
41
|
+
:param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
|
35
42
|
:param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
36
43
|
|
37
44
|
|
38
45
|
** IMPORTANT **
|
39
46
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
40
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment that contains the audit.
|
41
47
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
42
48
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
43
49
|
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
|
44
50
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
51
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: (Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
52
|
+
:param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
45
53
|
:param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
|
54
|
+
:param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
55
|
+
:param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
46
56
|
"""
|
47
|
-
pulumi.set(__self__, "
|
57
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
58
|
+
pulumi.set(__self__, "target_id", target_id)
|
59
|
+
pulumi.set(__self__, "target_type", target_type)
|
48
60
|
if change_retention_trigger is not None:
|
49
61
|
pulumi.set(__self__, "change_retention_trigger", change_retention_trigger)
|
50
|
-
if compartment_id is not None:
|
51
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
52
62
|
if defined_tags is not None:
|
53
63
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
54
64
|
if description is not None:
|
@@ -57,20 +67,52 @@ class AuditProfileArgs:
|
|
57
67
|
pulumi.set(__self__, "display_name", display_name)
|
58
68
|
if freeform_tags is not None:
|
59
69
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
70
|
+
if is_override_global_paid_usage is not None:
|
71
|
+
pulumi.set(__self__, "is_override_global_paid_usage", is_override_global_paid_usage)
|
72
|
+
if is_override_global_retention_setting is not None:
|
73
|
+
pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
|
60
74
|
if is_paid_usage_enabled is not None:
|
61
75
|
pulumi.set(__self__, "is_paid_usage_enabled", is_paid_usage_enabled)
|
76
|
+
if offline_months is not None:
|
77
|
+
pulumi.set(__self__, "offline_months", offline_months)
|
78
|
+
if online_months is not None:
|
79
|
+
pulumi.set(__self__, "online_months", online_months)
|
80
|
+
|
81
|
+
@_builtins.property
|
82
|
+
@pulumi.getter(name="compartmentId")
|
83
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
84
|
+
"""
|
85
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "compartment_id")
|
88
|
+
|
89
|
+
@compartment_id.setter
|
90
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
91
|
+
pulumi.set(self, "compartment_id", value)
|
92
|
+
|
93
|
+
@_builtins.property
|
94
|
+
@pulumi.getter(name="targetId")
|
95
|
+
def target_id(self) -> pulumi.Input[_builtins.str]:
|
96
|
+
"""
|
97
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "target_id")
|
100
|
+
|
101
|
+
@target_id.setter
|
102
|
+
def target_id(self, value: pulumi.Input[_builtins.str]):
|
103
|
+
pulumi.set(self, "target_id", value)
|
62
104
|
|
63
105
|
@_builtins.property
|
64
|
-
@pulumi.getter(name="
|
65
|
-
def
|
106
|
+
@pulumi.getter(name="targetType")
|
107
|
+
def target_type(self) -> pulumi.Input[_builtins.str]:
|
66
108
|
"""
|
67
|
-
The
|
109
|
+
The resource type that is represented by the audit profile.
|
68
110
|
"""
|
69
|
-
return pulumi.get(self, "
|
111
|
+
return pulumi.get(self, "target_type")
|
70
112
|
|
71
|
-
@
|
72
|
-
def
|
73
|
-
pulumi.set(self, "
|
113
|
+
@target_type.setter
|
114
|
+
def target_type(self, value: pulumi.Input[_builtins.str]):
|
115
|
+
pulumi.set(self, "target_type", value)
|
74
116
|
|
75
117
|
@_builtins.property
|
76
118
|
@pulumi.getter(name="changeRetentionTrigger")
|
@@ -88,18 +130,6 @@ class AuditProfileArgs:
|
|
88
130
|
def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
|
89
131
|
pulumi.set(self, "change_retention_trigger", value)
|
90
132
|
|
91
|
-
@_builtins.property
|
92
|
-
@pulumi.getter(name="compartmentId")
|
93
|
-
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
94
|
-
"""
|
95
|
-
(Updatable) The OCID of the compartment that contains the audit.
|
96
|
-
"""
|
97
|
-
return pulumi.get(self, "compartment_id")
|
98
|
-
|
99
|
-
@compartment_id.setter
|
100
|
-
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
101
|
-
pulumi.set(self, "compartment_id", value)
|
102
|
-
|
103
133
|
@_builtins.property
|
104
134
|
@pulumi.getter(name="definedTags")
|
105
135
|
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
@@ -148,6 +178,30 @@ class AuditProfileArgs:
|
|
148
178
|
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
149
179
|
pulumi.set(self, "freeform_tags", value)
|
150
180
|
|
181
|
+
@_builtins.property
|
182
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
183
|
+
def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
184
|
+
"""
|
185
|
+
(Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "is_override_global_paid_usage")
|
188
|
+
|
189
|
+
@is_override_global_paid_usage.setter
|
190
|
+
def is_override_global_paid_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
191
|
+
pulumi.set(self, "is_override_global_paid_usage", value)
|
192
|
+
|
193
|
+
@_builtins.property
|
194
|
+
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
195
|
+
def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
196
|
+
"""
|
197
|
+
Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "is_override_global_retention_setting")
|
200
|
+
|
201
|
+
@is_override_global_retention_setting.setter
|
202
|
+
def is_override_global_retention_setting(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
203
|
+
pulumi.set(self, "is_override_global_retention_setting", value)
|
204
|
+
|
151
205
|
@_builtins.property
|
152
206
|
@pulumi.getter(name="isPaidUsageEnabled")
|
153
207
|
def is_paid_usage_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
@@ -160,12 +214,35 @@ class AuditProfileArgs:
|
|
160
214
|
def is_paid_usage_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
161
215
|
pulumi.set(self, "is_paid_usage_enabled", value)
|
162
216
|
|
217
|
+
@_builtins.property
|
218
|
+
@pulumi.getter(name="offlineMonths")
|
219
|
+
def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
220
|
+
"""
|
221
|
+
Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "offline_months")
|
224
|
+
|
225
|
+
@offline_months.setter
|
226
|
+
def offline_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
227
|
+
pulumi.set(self, "offline_months", value)
|
228
|
+
|
229
|
+
@_builtins.property
|
230
|
+
@pulumi.getter(name="onlineMonths")
|
231
|
+
def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
232
|
+
"""
|
233
|
+
Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "online_months")
|
236
|
+
|
237
|
+
@online_months.setter
|
238
|
+
def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
239
|
+
pulumi.set(self, "online_months", value)
|
240
|
+
|
163
241
|
|
164
242
|
@pulumi.input_type
|
165
243
|
class _AuditProfileState:
|
166
244
|
def __init__(__self__, *,
|
167
245
|
audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
|
168
|
-
audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
|
169
246
|
audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileAuditTrailArgs']]]] = None,
|
170
247
|
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
171
248
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -173,46 +250,53 @@ class _AuditProfileState:
|
|
173
250
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
174
251
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
175
252
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
253
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
176
254
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
177
255
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
178
256
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
179
257
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
258
|
+
offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
180
259
|
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
260
|
+
online_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
261
|
+
paid_usage_source: Optional[pulumi.Input[_builtins.str]] = None,
|
181
262
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
182
263
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
183
264
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
265
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
184
266
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
185
267
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
186
268
|
"""
|
187
269
|
Input properties used for looking up and filtering AuditProfile resources.
|
188
|
-
:param pulumi.Input[_builtins.str] audit_collected_volume:
|
189
|
-
:param pulumi.Input[
|
190
|
-
:param pulumi.Input[Sequence[pulumi.Input['AuditProfileAuditTrailArgs']]] audit_trails: Indicates the list of available audit trails on the target.
|
270
|
+
:param pulumi.Input[_builtins.str] audit_collected_volume: Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
|
271
|
+
:param pulumi.Input[Sequence[pulumi.Input['AuditProfileAuditTrailArgs']]] audit_trails: Contains the list of available audit trails on the target database.
|
191
272
|
:param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
192
273
|
|
193
274
|
|
194
275
|
** IMPORTANT **
|
195
276
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
196
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
277
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
197
278
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
198
279
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
199
280
|
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
|
200
281
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
201
|
-
:param pulumi.Input[_builtins.bool]
|
282
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: (Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
283
|
+
:param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
202
284
|
:param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
|
203
285
|
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
|
204
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
205
|
-
:param pulumi.Input[_builtins.
|
286
|
+
:param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
287
|
+
:param pulumi.Input[_builtins.str] offline_months_source: The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
|
288
|
+
:param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
289
|
+
:param pulumi.Input[_builtins.str] online_months_source: The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
|
290
|
+
:param pulumi.Input[_builtins.str] paid_usage_source: The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
|
206
291
|
:param pulumi.Input[_builtins.str] state: The current state of the audit profile.
|
207
292
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
208
|
-
:param pulumi.Input[_builtins.str] target_id: The OCID of the
|
293
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
|
294
|
+
:param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
|
209
295
|
:param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
|
210
296
|
:param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
|
211
297
|
"""
|
212
298
|
if audit_collected_volume is not None:
|
213
299
|
pulumi.set(__self__, "audit_collected_volume", audit_collected_volume)
|
214
|
-
if audit_profile_id is not None:
|
215
|
-
pulumi.set(__self__, "audit_profile_id", audit_profile_id)
|
216
300
|
if audit_trails is not None:
|
217
301
|
pulumi.set(__self__, "audit_trails", audit_trails)
|
218
302
|
if change_retention_trigger is not None:
|
@@ -227,6 +311,8 @@ class _AuditProfileState:
|
|
227
311
|
pulumi.set(__self__, "display_name", display_name)
|
228
312
|
if freeform_tags is not None:
|
229
313
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
314
|
+
if is_override_global_paid_usage is not None:
|
315
|
+
pulumi.set(__self__, "is_override_global_paid_usage", is_override_global_paid_usage)
|
230
316
|
if is_override_global_retention_setting is not None:
|
231
317
|
pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
|
232
318
|
if is_paid_usage_enabled is not None:
|
@@ -235,14 +321,22 @@ class _AuditProfileState:
|
|
235
321
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
236
322
|
if offline_months is not None:
|
237
323
|
pulumi.set(__self__, "offline_months", offline_months)
|
324
|
+
if offline_months_source is not None:
|
325
|
+
pulumi.set(__self__, "offline_months_source", offline_months_source)
|
238
326
|
if online_months is not None:
|
239
327
|
pulumi.set(__self__, "online_months", online_months)
|
328
|
+
if online_months_source is not None:
|
329
|
+
pulumi.set(__self__, "online_months_source", online_months_source)
|
330
|
+
if paid_usage_source is not None:
|
331
|
+
pulumi.set(__self__, "paid_usage_source", paid_usage_source)
|
240
332
|
if state is not None:
|
241
333
|
pulumi.set(__self__, "state", state)
|
242
334
|
if system_tags is not None:
|
243
335
|
pulumi.set(__self__, "system_tags", system_tags)
|
244
336
|
if target_id is not None:
|
245
337
|
pulumi.set(__self__, "target_id", target_id)
|
338
|
+
if target_type is not None:
|
339
|
+
pulumi.set(__self__, "target_type", target_type)
|
246
340
|
if time_created is not None:
|
247
341
|
pulumi.set(__self__, "time_created", time_created)
|
248
342
|
if time_updated is not None:
|
@@ -252,7 +346,7 @@ class _AuditProfileState:
|
|
252
346
|
@pulumi.getter(name="auditCollectedVolume")
|
253
347
|
def audit_collected_volume(self) -> Optional[pulumi.Input[_builtins.str]]:
|
254
348
|
"""
|
255
|
-
|
349
|
+
Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
|
256
350
|
"""
|
257
351
|
return pulumi.get(self, "audit_collected_volume")
|
258
352
|
|
@@ -260,23 +354,11 @@ class _AuditProfileState:
|
|
260
354
|
def audit_collected_volume(self, value: Optional[pulumi.Input[_builtins.str]]):
|
261
355
|
pulumi.set(self, "audit_collected_volume", value)
|
262
356
|
|
263
|
-
@_builtins.property
|
264
|
-
@pulumi.getter(name="auditProfileId")
|
265
|
-
def audit_profile_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
266
|
-
"""
|
267
|
-
The OCID of the audit.
|
268
|
-
"""
|
269
|
-
return pulumi.get(self, "audit_profile_id")
|
270
|
-
|
271
|
-
@audit_profile_id.setter
|
272
|
-
def audit_profile_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
273
|
-
pulumi.set(self, "audit_profile_id", value)
|
274
|
-
|
275
357
|
@_builtins.property
|
276
358
|
@pulumi.getter(name="auditTrails")
|
277
359
|
def audit_trails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileAuditTrailArgs']]]]:
|
278
360
|
"""
|
279
|
-
|
361
|
+
Contains the list of available audit trails on the target database.
|
280
362
|
"""
|
281
363
|
return pulumi.get(self, "audit_trails")
|
282
364
|
|
@@ -304,7 +386,7 @@ class _AuditProfileState:
|
|
304
386
|
@pulumi.getter(name="compartmentId")
|
305
387
|
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
306
388
|
"""
|
307
|
-
(Updatable) The OCID of the compartment
|
389
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
308
390
|
"""
|
309
391
|
return pulumi.get(self, "compartment_id")
|
310
392
|
|
@@ -360,11 +442,23 @@ class _AuditProfileState:
|
|
360
442
|
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
361
443
|
pulumi.set(self, "freeform_tags", value)
|
362
444
|
|
445
|
+
@_builtins.property
|
446
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
447
|
+
def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
448
|
+
"""
|
449
|
+
(Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
450
|
+
"""
|
451
|
+
return pulumi.get(self, "is_override_global_paid_usage")
|
452
|
+
|
453
|
+
@is_override_global_paid_usage.setter
|
454
|
+
def is_override_global_paid_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
455
|
+
pulumi.set(self, "is_override_global_paid_usage", value)
|
456
|
+
|
363
457
|
@_builtins.property
|
364
458
|
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
365
459
|
def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
366
460
|
"""
|
367
|
-
Indicates whether audit retention settings like online and offline months
|
461
|
+
Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
368
462
|
"""
|
369
463
|
return pulumi.get(self, "is_override_global_retention_setting")
|
370
464
|
|
@@ -400,7 +494,7 @@ class _AuditProfileState:
|
|
400
494
|
@pulumi.getter(name="offlineMonths")
|
401
495
|
def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
402
496
|
"""
|
403
|
-
|
497
|
+
Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
404
498
|
"""
|
405
499
|
return pulumi.get(self, "offline_months")
|
406
500
|
|
@@ -408,11 +502,23 @@ class _AuditProfileState:
|
|
408
502
|
def offline_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
409
503
|
pulumi.set(self, "offline_months", value)
|
410
504
|
|
505
|
+
@_builtins.property
|
506
|
+
@pulumi.getter(name="offlineMonthsSource")
|
507
|
+
def offline_months_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
508
|
+
"""
|
509
|
+
The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
|
510
|
+
"""
|
511
|
+
return pulumi.get(self, "offline_months_source")
|
512
|
+
|
513
|
+
@offline_months_source.setter
|
514
|
+
def offline_months_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
515
|
+
pulumi.set(self, "offline_months_source", value)
|
516
|
+
|
411
517
|
@_builtins.property
|
412
518
|
@pulumi.getter(name="onlineMonths")
|
413
519
|
def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
414
520
|
"""
|
415
|
-
|
521
|
+
Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
416
522
|
"""
|
417
523
|
return pulumi.get(self, "online_months")
|
418
524
|
|
@@ -420,6 +526,30 @@ class _AuditProfileState:
|
|
420
526
|
def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
421
527
|
pulumi.set(self, "online_months", value)
|
422
528
|
|
529
|
+
@_builtins.property
|
530
|
+
@pulumi.getter(name="onlineMonthsSource")
|
531
|
+
def online_months_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
532
|
+
"""
|
533
|
+
The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
|
534
|
+
"""
|
535
|
+
return pulumi.get(self, "online_months_source")
|
536
|
+
|
537
|
+
@online_months_source.setter
|
538
|
+
def online_months_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
539
|
+
pulumi.set(self, "online_months_source", value)
|
540
|
+
|
541
|
+
@_builtins.property
|
542
|
+
@pulumi.getter(name="paidUsageSource")
|
543
|
+
def paid_usage_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
544
|
+
"""
|
545
|
+
The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
|
546
|
+
"""
|
547
|
+
return pulumi.get(self, "paid_usage_source")
|
548
|
+
|
549
|
+
@paid_usage_source.setter
|
550
|
+
def paid_usage_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
551
|
+
pulumi.set(self, "paid_usage_source", value)
|
552
|
+
|
423
553
|
@_builtins.property
|
424
554
|
@pulumi.getter
|
425
555
|
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -448,7 +578,7 @@ class _AuditProfileState:
|
|
448
578
|
@pulumi.getter(name="targetId")
|
449
579
|
def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
450
580
|
"""
|
451
|
-
The OCID of the
|
581
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
452
582
|
"""
|
453
583
|
return pulumi.get(self, "target_id")
|
454
584
|
|
@@ -456,6 +586,18 @@ class _AuditProfileState:
|
|
456
586
|
def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
457
587
|
pulumi.set(self, "target_id", value)
|
458
588
|
|
589
|
+
@_builtins.property
|
590
|
+
@pulumi.getter(name="targetType")
|
591
|
+
def target_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
592
|
+
"""
|
593
|
+
The resource type that is represented by the audit profile.
|
594
|
+
"""
|
595
|
+
return pulumi.get(self, "target_type")
|
596
|
+
|
597
|
+
@target_type.setter
|
598
|
+
def target_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
599
|
+
pulumi.set(self, "target_type", value)
|
600
|
+
|
459
601
|
@_builtins.property
|
460
602
|
@pulumi.getter(name="timeCreated")
|
461
603
|
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -487,19 +629,50 @@ class AuditProfile(pulumi.CustomResource):
|
|
487
629
|
def __init__(__self__,
|
488
630
|
resource_name: str,
|
489
631
|
opts: Optional[pulumi.ResourceOptions] = None,
|
490
|
-
audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
|
491
632
|
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
492
633
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
493
634
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
494
635
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
495
636
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
496
637
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
638
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
639
|
+
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
497
640
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
641
|
+
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
642
|
+
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
643
|
+
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
644
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
498
645
|
__props__=None):
|
499
646
|
"""
|
500
647
|
This resource provides the Audit Profile resource in Oracle Cloud Infrastructure Data Safe service.
|
501
648
|
|
502
|
-
|
649
|
+
Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile
|
650
|
+
|
651
|
+
## Example Usage
|
652
|
+
|
653
|
+
```python
|
654
|
+
import pulumi
|
655
|
+
import pulumi_oci as oci
|
656
|
+
|
657
|
+
test_audit_profile = oci.datasafe.AuditProfile("test_audit_profile",
|
658
|
+
compartment_id=compartment_id,
|
659
|
+
target_id=test_target["id"],
|
660
|
+
target_type=audit_profile_target_type,
|
661
|
+
defined_tags={
|
662
|
+
"Operations.CostCenter": "42",
|
663
|
+
},
|
664
|
+
description=audit_profile_description,
|
665
|
+
display_name=audit_profile_display_name,
|
666
|
+
freeform_tags={
|
667
|
+
"Department": "Finance",
|
668
|
+
},
|
669
|
+
is_override_global_paid_usage=audit_profile_is_override_global_paid_usage,
|
670
|
+
is_paid_usage_enabled=audit_profile_is_paid_usage_enabled,
|
671
|
+
offline_months=audit_profile_offline_months,
|
672
|
+
online_months=audit_profile_online_months,
|
673
|
+
change_retention_trigger=retention_trigger,
|
674
|
+
is_override_global_retention_setting=True)
|
675
|
+
```
|
503
676
|
|
504
677
|
## Import
|
505
678
|
|
@@ -511,18 +684,23 @@ class AuditProfile(pulumi.CustomResource):
|
|
511
684
|
|
512
685
|
:param str resource_name: The name of the resource.
|
513
686
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
514
|
-
:param pulumi.Input[_builtins.str] audit_profile_id: The OCID of the audit.
|
515
687
|
:param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
516
688
|
|
517
689
|
|
518
690
|
** IMPORTANT **
|
519
691
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
520
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
692
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
521
693
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
522
694
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
523
695
|
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
|
524
696
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
697
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: (Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
698
|
+
:param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
525
699
|
:param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
|
700
|
+
:param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
701
|
+
:param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
702
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
|
703
|
+
:param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
|
526
704
|
"""
|
527
705
|
...
|
528
706
|
@overload
|
@@ -533,7 +711,33 @@ class AuditProfile(pulumi.CustomResource):
|
|
533
711
|
"""
|
534
712
|
This resource provides the Audit Profile resource in Oracle Cloud Infrastructure Data Safe service.
|
535
713
|
|
536
|
-
|
714
|
+
Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile
|
715
|
+
|
716
|
+
## Example Usage
|
717
|
+
|
718
|
+
```python
|
719
|
+
import pulumi
|
720
|
+
import pulumi_oci as oci
|
721
|
+
|
722
|
+
test_audit_profile = oci.datasafe.AuditProfile("test_audit_profile",
|
723
|
+
compartment_id=compartment_id,
|
724
|
+
target_id=test_target["id"],
|
725
|
+
target_type=audit_profile_target_type,
|
726
|
+
defined_tags={
|
727
|
+
"Operations.CostCenter": "42",
|
728
|
+
},
|
729
|
+
description=audit_profile_description,
|
730
|
+
display_name=audit_profile_display_name,
|
731
|
+
freeform_tags={
|
732
|
+
"Department": "Finance",
|
733
|
+
},
|
734
|
+
is_override_global_paid_usage=audit_profile_is_override_global_paid_usage,
|
735
|
+
is_paid_usage_enabled=audit_profile_is_paid_usage_enabled,
|
736
|
+
offline_months=audit_profile_offline_months,
|
737
|
+
online_months=audit_profile_online_months,
|
738
|
+
change_retention_trigger=retention_trigger,
|
739
|
+
is_override_global_retention_setting=True)
|
740
|
+
```
|
537
741
|
|
538
742
|
## Import
|
539
743
|
|
@@ -558,14 +762,19 @@ class AuditProfile(pulumi.CustomResource):
|
|
558
762
|
def _internal_init(__self__,
|
559
763
|
resource_name: str,
|
560
764
|
opts: Optional[pulumi.ResourceOptions] = None,
|
561
|
-
audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
|
562
765
|
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
563
766
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
564
767
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
565
768
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
566
769
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
567
770
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
771
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
772
|
+
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
568
773
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
774
|
+
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
775
|
+
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
776
|
+
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
777
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
569
778
|
__props__=None):
|
570
779
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
571
780
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -575,25 +784,33 @@ class AuditProfile(pulumi.CustomResource):
|
|
575
784
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
576
785
|
__props__ = AuditProfileArgs.__new__(AuditProfileArgs)
|
577
786
|
|
578
|
-
if audit_profile_id is None and not opts.urn:
|
579
|
-
raise TypeError("Missing required property 'audit_profile_id'")
|
580
|
-
__props__.__dict__["audit_profile_id"] = audit_profile_id
|
581
787
|
__props__.__dict__["change_retention_trigger"] = change_retention_trigger
|
788
|
+
if compartment_id is None and not opts.urn:
|
789
|
+
raise TypeError("Missing required property 'compartment_id'")
|
582
790
|
__props__.__dict__["compartment_id"] = compartment_id
|
583
791
|
__props__.__dict__["defined_tags"] = defined_tags
|
584
792
|
__props__.__dict__["description"] = description
|
585
793
|
__props__.__dict__["display_name"] = display_name
|
586
794
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
795
|
+
__props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
|
796
|
+
__props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
|
587
797
|
__props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
|
798
|
+
__props__.__dict__["offline_months"] = offline_months
|
799
|
+
__props__.__dict__["online_months"] = online_months
|
800
|
+
if target_id is None and not opts.urn:
|
801
|
+
raise TypeError("Missing required property 'target_id'")
|
802
|
+
__props__.__dict__["target_id"] = target_id
|
803
|
+
if target_type is None and not opts.urn:
|
804
|
+
raise TypeError("Missing required property 'target_type'")
|
805
|
+
__props__.__dict__["target_type"] = target_type
|
588
806
|
__props__.__dict__["audit_collected_volume"] = None
|
589
807
|
__props__.__dict__["audit_trails"] = None
|
590
|
-
__props__.__dict__["is_override_global_retention_setting"] = None
|
591
808
|
__props__.__dict__["lifecycle_details"] = None
|
592
|
-
__props__.__dict__["
|
593
|
-
__props__.__dict__["
|
809
|
+
__props__.__dict__["offline_months_source"] = None
|
810
|
+
__props__.__dict__["online_months_source"] = None
|
811
|
+
__props__.__dict__["paid_usage_source"] = None
|
594
812
|
__props__.__dict__["state"] = None
|
595
813
|
__props__.__dict__["system_tags"] = None
|
596
|
-
__props__.__dict__["target_id"] = None
|
597
814
|
__props__.__dict__["time_created"] = None
|
598
815
|
__props__.__dict__["time_updated"] = None
|
599
816
|
super(AuditProfile, __self__).__init__(
|
@@ -607,7 +824,6 @@ class AuditProfile(pulumi.CustomResource):
|
|
607
824
|
id: pulumi.Input[str],
|
608
825
|
opts: Optional[pulumi.ResourceOptions] = None,
|
609
826
|
audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
|
610
|
-
audit_profile_id: Optional[pulumi.Input[_builtins.str]] = None,
|
611
827
|
audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileAuditTrailArgs', 'AuditProfileAuditTrailArgsDict']]]]] = None,
|
612
828
|
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
613
829
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -615,14 +831,19 @@ class AuditProfile(pulumi.CustomResource):
|
|
615
831
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
616
832
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
617
833
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
834
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
618
835
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
619
836
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
620
837
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
621
838
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
839
|
+
offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
622
840
|
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
841
|
+
online_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
842
|
+
paid_usage_source: Optional[pulumi.Input[_builtins.str]] = None,
|
623
843
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
624
844
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
625
845
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
846
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
626
847
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
627
848
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuditProfile':
|
628
849
|
"""
|
@@ -632,27 +853,31 @@ class AuditProfile(pulumi.CustomResource):
|
|
632
853
|
:param str resource_name: The unique name of the resulting resource.
|
633
854
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
634
855
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
635
|
-
:param pulumi.Input[_builtins.str] audit_collected_volume:
|
636
|
-
:param pulumi.Input[
|
637
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileAuditTrailArgs', 'AuditProfileAuditTrailArgsDict']]]] audit_trails: Indicates the list of available audit trails on the target.
|
856
|
+
:param pulumi.Input[_builtins.str] audit_collected_volume: Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
|
857
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileAuditTrailArgs', 'AuditProfileAuditTrailArgsDict']]]] audit_trails: Contains the list of available audit trails on the target database.
|
638
858
|
:param pulumi.Input[_builtins.int] change_retention_trigger: (Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
639
859
|
|
640
860
|
|
641
861
|
** IMPORTANT **
|
642
862
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
643
|
-
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment
|
863
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
644
864
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
|
645
865
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
646
866
|
:param pulumi.Input[_builtins.str] display_name: (Updatable) The display name of the audit profile. The name does not have to be unique, and it's updatable.
|
647
867
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
|
648
|
-
:param pulumi.Input[_builtins.bool]
|
868
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: (Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
869
|
+
:param pulumi.Input[_builtins.bool] is_override_global_retention_setting: Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
649
870
|
:param pulumi.Input[_builtins.bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
|
650
871
|
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
|
651
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
652
|
-
:param pulumi.Input[_builtins.
|
872
|
+
:param pulumi.Input[_builtins.int] offline_months: Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
873
|
+
:param pulumi.Input[_builtins.str] offline_months_source: The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
|
874
|
+
:param pulumi.Input[_builtins.int] online_months: Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
875
|
+
:param pulumi.Input[_builtins.str] online_months_source: The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
|
876
|
+
:param pulumi.Input[_builtins.str] paid_usage_source: The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
|
653
877
|
:param pulumi.Input[_builtins.str] state: The current state of the audit profile.
|
654
878
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
655
|
-
:param pulumi.Input[_builtins.str] target_id: The OCID of the
|
879
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database or target database group for which the audit profile is created.
|
880
|
+
:param pulumi.Input[_builtins.str] target_type: The resource type that is represented by the audit profile.
|
656
881
|
:param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
|
657
882
|
:param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
|
658
883
|
"""
|
@@ -661,7 +886,6 @@ class AuditProfile(pulumi.CustomResource):
|
|
661
886
|
__props__ = _AuditProfileState.__new__(_AuditProfileState)
|
662
887
|
|
663
888
|
__props__.__dict__["audit_collected_volume"] = audit_collected_volume
|
664
|
-
__props__.__dict__["audit_profile_id"] = audit_profile_id
|
665
889
|
__props__.__dict__["audit_trails"] = audit_trails
|
666
890
|
__props__.__dict__["change_retention_trigger"] = change_retention_trigger
|
667
891
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -669,14 +893,19 @@ class AuditProfile(pulumi.CustomResource):
|
|
669
893
|
__props__.__dict__["description"] = description
|
670
894
|
__props__.__dict__["display_name"] = display_name
|
671
895
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
896
|
+
__props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
|
672
897
|
__props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
|
673
898
|
__props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
|
674
899
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
675
900
|
__props__.__dict__["offline_months"] = offline_months
|
901
|
+
__props__.__dict__["offline_months_source"] = offline_months_source
|
676
902
|
__props__.__dict__["online_months"] = online_months
|
903
|
+
__props__.__dict__["online_months_source"] = online_months_source
|
904
|
+
__props__.__dict__["paid_usage_source"] = paid_usage_source
|
677
905
|
__props__.__dict__["state"] = state
|
678
906
|
__props__.__dict__["system_tags"] = system_tags
|
679
907
|
__props__.__dict__["target_id"] = target_id
|
908
|
+
__props__.__dict__["target_type"] = target_type
|
680
909
|
__props__.__dict__["time_created"] = time_created
|
681
910
|
__props__.__dict__["time_updated"] = time_updated
|
682
911
|
return AuditProfile(resource_name, opts=opts, __props__=__props__)
|
@@ -685,23 +914,15 @@ class AuditProfile(pulumi.CustomResource):
|
|
685
914
|
@pulumi.getter(name="auditCollectedVolume")
|
686
915
|
def audit_collected_volume(self) -> pulumi.Output[_builtins.str]:
|
687
916
|
"""
|
688
|
-
|
917
|
+
Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
|
689
918
|
"""
|
690
919
|
return pulumi.get(self, "audit_collected_volume")
|
691
920
|
|
692
|
-
@_builtins.property
|
693
|
-
@pulumi.getter(name="auditProfileId")
|
694
|
-
def audit_profile_id(self) -> pulumi.Output[_builtins.str]:
|
695
|
-
"""
|
696
|
-
The OCID of the audit.
|
697
|
-
"""
|
698
|
-
return pulumi.get(self, "audit_profile_id")
|
699
|
-
|
700
921
|
@_builtins.property
|
701
922
|
@pulumi.getter(name="auditTrails")
|
702
923
|
def audit_trails(self) -> pulumi.Output[Sequence['outputs.AuditProfileAuditTrail']]:
|
703
924
|
"""
|
704
|
-
|
925
|
+
Contains the list of available audit trails on the target database.
|
705
926
|
"""
|
706
927
|
return pulumi.get(self, "audit_trails")
|
707
928
|
|
@@ -721,7 +942,7 @@ class AuditProfile(pulumi.CustomResource):
|
|
721
942
|
@pulumi.getter(name="compartmentId")
|
722
943
|
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
723
944
|
"""
|
724
|
-
(Updatable) The OCID of the compartment
|
945
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
725
946
|
"""
|
726
947
|
return pulumi.get(self, "compartment_id")
|
727
948
|
|
@@ -757,11 +978,19 @@ class AuditProfile(pulumi.CustomResource):
|
|
757
978
|
"""
|
758
979
|
return pulumi.get(self, "freeform_tags")
|
759
980
|
|
981
|
+
@_builtins.property
|
982
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
983
|
+
def is_override_global_paid_usage(self) -> pulumi.Output[_builtins.bool]:
|
984
|
+
"""
|
985
|
+
(Updatable) Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe).
|
986
|
+
"""
|
987
|
+
return pulumi.get(self, "is_override_global_paid_usage")
|
988
|
+
|
760
989
|
@_builtins.property
|
761
990
|
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
762
991
|
def is_override_global_retention_setting(self) -> pulumi.Output[_builtins.bool]:
|
763
992
|
"""
|
764
|
-
Indicates whether audit retention settings like online and offline months
|
993
|
+
Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
|
765
994
|
"""
|
766
995
|
return pulumi.get(self, "is_override_global_retention_setting")
|
767
996
|
|
@@ -785,18 +1014,42 @@ class AuditProfile(pulumi.CustomResource):
|
|
785
1014
|
@pulumi.getter(name="offlineMonths")
|
786
1015
|
def offline_months(self) -> pulumi.Output[_builtins.int]:
|
787
1016
|
"""
|
788
|
-
|
1017
|
+
Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
|
789
1018
|
"""
|
790
1019
|
return pulumi.get(self, "offline_months")
|
791
1020
|
|
1021
|
+
@_builtins.property
|
1022
|
+
@pulumi.getter(name="offlineMonthsSource")
|
1023
|
+
def offline_months_source(self) -> pulumi.Output[_builtins.str]:
|
1024
|
+
"""
|
1025
|
+
The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
|
1026
|
+
"""
|
1027
|
+
return pulumi.get(self, "offline_months_source")
|
1028
|
+
|
792
1029
|
@_builtins.property
|
793
1030
|
@pulumi.getter(name="onlineMonths")
|
794
1031
|
def online_months(self) -> pulumi.Output[_builtins.int]:
|
795
1032
|
"""
|
796
|
-
|
1033
|
+
Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
|
797
1034
|
"""
|
798
1035
|
return pulumi.get(self, "online_months")
|
799
1036
|
|
1037
|
+
@_builtins.property
|
1038
|
+
@pulumi.getter(name="onlineMonthsSource")
|
1039
|
+
def online_months_source(self) -> pulumi.Output[_builtins.str]:
|
1040
|
+
"""
|
1041
|
+
The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
|
1042
|
+
"""
|
1043
|
+
return pulumi.get(self, "online_months_source")
|
1044
|
+
|
1045
|
+
@_builtins.property
|
1046
|
+
@pulumi.getter(name="paidUsageSource")
|
1047
|
+
def paid_usage_source(self) -> pulumi.Output[_builtins.str]:
|
1048
|
+
"""
|
1049
|
+
The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
|
1050
|
+
"""
|
1051
|
+
return pulumi.get(self, "paid_usage_source")
|
1052
|
+
|
800
1053
|
@_builtins.property
|
801
1054
|
@pulumi.getter
|
802
1055
|
def state(self) -> pulumi.Output[_builtins.str]:
|
@@ -817,10 +1070,18 @@ class AuditProfile(pulumi.CustomResource):
|
|
817
1070
|
@pulumi.getter(name="targetId")
|
818
1071
|
def target_id(self) -> pulumi.Output[_builtins.str]:
|
819
1072
|
"""
|
820
|
-
The OCID of the
|
1073
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
821
1074
|
"""
|
822
1075
|
return pulumi.get(self, "target_id")
|
823
1076
|
|
1077
|
+
@_builtins.property
|
1078
|
+
@pulumi.getter(name="targetType")
|
1079
|
+
def target_type(self) -> pulumi.Output[_builtins.str]:
|
1080
|
+
"""
|
1081
|
+
The resource type that is represented by the audit profile.
|
1082
|
+
"""
|
1083
|
+
return pulumi.get(self, "target_type")
|
1084
|
+
|
824
1085
|
@_builtins.property
|
825
1086
|
@pulumi.getter(name="timeCreated")
|
826
1087
|
def time_created(self) -> pulumi.Output[_builtins.str]:
|