pulumi-oci 3.4.0a1755922408__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 +80 -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/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +257 -12
- 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_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/outputs.py +575 -8
- 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/oci/__init__.py +9 -0
- pulumi_oci/oci/_inputs.py +420 -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 +1009 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +133 -100
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -13,44 +13,52 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
16
18
|
|
17
19
|
__all__ = ['AuditProfileManagementArgs', 'AuditProfileManagement']
|
18
20
|
|
19
21
|
@pulumi.input_type
|
20
22
|
class AuditProfileManagementArgs:
|
21
23
|
def __init__(__self__, *,
|
22
|
-
|
23
|
-
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
target_id: pulumi.Input[_builtins.str],
|
26
|
+
target_type: pulumi.Input[_builtins.str],
|
27
|
+
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
24
28
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
25
29
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
26
30
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
27
31
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
32
|
+
is_override_global_paid_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
28
33
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
29
34
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
30
35
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
31
|
-
online_months: Optional[pulumi.Input[_builtins.int]] = None
|
32
|
-
target_id: Optional[pulumi.Input[_builtins.str]] = None):
|
36
|
+
online_months: Optional[pulumi.Input[_builtins.int]] = None):
|
33
37
|
"""
|
34
38
|
The set of arguments for constructing a AuditProfileManagement resource.
|
35
|
-
:param pulumi.Input[_builtins.
|
36
|
-
: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.
|
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.
|
43
|
+
|
44
|
+
|
45
|
+
** IMPORTANT **
|
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
|
37
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"}`
|
38
48
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
39
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.
|
40
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"}`
|
41
|
-
:param pulumi.Input[_builtins.bool]
|
51
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: 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.
|
42
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.
|
43
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
44
|
-
:param pulumi.Input[_builtins.int] online_months:
|
45
|
-
|
46
|
-
** IMPORTANT **
|
47
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
48
|
-
:param pulumi.Input[_builtins.str] target_id: The OCID of the target.
|
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
|
49
56
|
"""
|
57
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
58
|
+
pulumi.set(__self__, "target_id", target_id)
|
59
|
+
pulumi.set(__self__, "target_type", target_type)
|
50
60
|
if change_retention_trigger is not None:
|
51
61
|
pulumi.set(__self__, "change_retention_trigger", change_retention_trigger)
|
52
|
-
if compartment_id is not None:
|
53
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
54
62
|
if defined_tags is not None:
|
55
63
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
56
64
|
if description is not None:
|
@@ -59,6 +67,8 @@ class AuditProfileManagementArgs:
|
|
59
67
|
pulumi.set(__self__, "display_name", display_name)
|
60
68
|
if freeform_tags is not None:
|
61
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)
|
62
72
|
if is_override_global_retention_setting is not None:
|
63
73
|
pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
|
64
74
|
if is_paid_usage_enabled is not None:
|
@@ -67,32 +77,58 @@ class AuditProfileManagementArgs:
|
|
67
77
|
pulumi.set(__self__, "offline_months", offline_months)
|
68
78
|
if online_months is not None:
|
69
79
|
pulumi.set(__self__, "online_months", online_months)
|
70
|
-
if target_id is not None:
|
71
|
-
pulumi.set(__self__, "target_id", target_id)
|
72
80
|
|
73
81
|
@_builtins.property
|
74
|
-
@pulumi.getter(name="
|
75
|
-
def
|
82
|
+
@pulumi.getter(name="compartmentId")
|
83
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
76
84
|
"""
|
77
|
-
(Updatable)
|
85
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
78
86
|
"""
|
79
|
-
return pulumi.get(self, "
|
87
|
+
return pulumi.get(self, "compartment_id")
|
80
88
|
|
81
|
-
@
|
82
|
-
def
|
83
|
-
pulumi.set(self, "
|
89
|
+
@compartment_id.setter
|
90
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
91
|
+
pulumi.set(self, "compartment_id", value)
|
84
92
|
|
85
93
|
@_builtins.property
|
86
|
-
@pulumi.getter(name="
|
87
|
-
def
|
94
|
+
@pulumi.getter(name="targetId")
|
95
|
+
def target_id(self) -> pulumi.Input[_builtins.str]:
|
88
96
|
"""
|
89
|
-
|
97
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
90
98
|
"""
|
91
|
-
return pulumi.get(self, "
|
99
|
+
return pulumi.get(self, "target_id")
|
92
100
|
|
93
|
-
@
|
94
|
-
def
|
95
|
-
pulumi.set(self, "
|
101
|
+
@target_id.setter
|
102
|
+
def target_id(self, value: pulumi.Input[_builtins.str]):
|
103
|
+
pulumi.set(self, "target_id", value)
|
104
|
+
|
105
|
+
@_builtins.property
|
106
|
+
@pulumi.getter(name="targetType")
|
107
|
+
def target_type(self) -> pulumi.Input[_builtins.str]:
|
108
|
+
"""
|
109
|
+
The resource type that is represented by the audit profile.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "target_type")
|
112
|
+
|
113
|
+
@target_type.setter
|
114
|
+
def target_type(self, value: pulumi.Input[_builtins.str]):
|
115
|
+
pulumi.set(self, "target_type", value)
|
116
|
+
|
117
|
+
@_builtins.property
|
118
|
+
@pulumi.getter(name="changeRetentionTrigger")
|
119
|
+
def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
|
120
|
+
"""
|
121
|
+
(Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
122
|
+
|
123
|
+
|
124
|
+
** IMPORTANT **
|
125
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "change_retention_trigger")
|
128
|
+
|
129
|
+
@change_retention_trigger.setter
|
130
|
+
def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
|
131
|
+
pulumi.set(self, "change_retention_trigger", value)
|
96
132
|
|
97
133
|
@_builtins.property
|
98
134
|
@pulumi.getter(name="definedTags")
|
@@ -142,11 +178,23 @@ class AuditProfileManagementArgs:
|
|
142
178
|
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
143
179
|
pulumi.set(self, "freeform_tags", value)
|
144
180
|
|
181
|
+
@_builtins.property
|
182
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
183
|
+
def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
184
|
+
"""
|
185
|
+
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
|
+
|
145
193
|
@_builtins.property
|
146
194
|
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
147
195
|
def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
148
196
|
"""
|
149
|
-
Indicates whether audit retention settings like online and offline months
|
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.
|
150
198
|
"""
|
151
199
|
return pulumi.get(self, "is_override_global_retention_setting")
|
152
200
|
|
@@ -170,7 +218,7 @@ class AuditProfileManagementArgs:
|
|
170
218
|
@pulumi.getter(name="offlineMonths")
|
171
219
|
def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
172
220
|
"""
|
173
|
-
|
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.
|
174
222
|
"""
|
175
223
|
return pulumi.get(self, "offline_months")
|
176
224
|
|
@@ -182,10 +230,7 @@ class AuditProfileManagementArgs:
|
|
182
230
|
@pulumi.getter(name="onlineMonths")
|
183
231
|
def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
184
232
|
"""
|
185
|
-
|
186
|
-
|
187
|
-
** IMPORTANT **
|
188
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
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
|
189
234
|
"""
|
190
235
|
return pulumi.get(self, "online_months")
|
191
236
|
|
@@ -193,62 +238,67 @@ class AuditProfileManagementArgs:
|
|
193
238
|
def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
194
239
|
pulumi.set(self, "online_months", value)
|
195
240
|
|
196
|
-
@_builtins.property
|
197
|
-
@pulumi.getter(name="targetId")
|
198
|
-
def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
199
|
-
"""
|
200
|
-
The OCID of the target.
|
201
|
-
"""
|
202
|
-
return pulumi.get(self, "target_id")
|
203
|
-
|
204
|
-
@target_id.setter
|
205
|
-
def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
206
|
-
pulumi.set(self, "target_id", value)
|
207
|
-
|
208
241
|
|
209
242
|
@pulumi.input_type
|
210
243
|
class _AuditProfileManagementState:
|
211
244
|
def __init__(__self__, *,
|
212
245
|
audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
|
213
|
-
|
246
|
+
audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]] = None,
|
247
|
+
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
214
248
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
215
249
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
216
250
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
217
251
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
218
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,
|
219
254
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
220
255
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
221
256
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
222
257
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
258
|
+
offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
223
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,
|
224
262
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
263
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
225
264
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
265
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
226
266
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
227
267
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
228
268
|
"""
|
229
269
|
Input properties used for looking up and filtering AuditProfileManagement resources.
|
230
|
-
:param pulumi.Input[_builtins.str] audit_collected_volume:
|
231
|
-
:param pulumi.Input[
|
232
|
-
:param pulumi.Input[_builtins.
|
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['AuditProfileManagementAuditTrailArgs']]] audit_trails: Contains the list of available audit trails on the target database.
|
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.
|
273
|
+
|
274
|
+
|
275
|
+
** IMPORTANT **
|
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
|
277
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
233
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"}`
|
234
279
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
235
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.
|
236
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"}`
|
237
|
-
:param pulumi.Input[_builtins.bool]
|
282
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: 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.
|
238
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.
|
239
285
|
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
|
240
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
241
|
-
:param pulumi.Input[_builtins.
|
242
|
-
|
243
|
-
|
244
|
-
|
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.
|
245
291
|
:param pulumi.Input[_builtins.str] state: The current state of the audit profile.
|
246
|
-
:param pulumi.Input[_builtins.str]
|
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"}`
|
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.
|
247
295
|
:param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
|
248
296
|
:param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
|
249
297
|
"""
|
250
298
|
if audit_collected_volume is not None:
|
251
299
|
pulumi.set(__self__, "audit_collected_volume", audit_collected_volume)
|
300
|
+
if audit_trails is not None:
|
301
|
+
pulumi.set(__self__, "audit_trails", audit_trails)
|
252
302
|
if change_retention_trigger is not None:
|
253
303
|
pulumi.set(__self__, "change_retention_trigger", change_retention_trigger)
|
254
304
|
if compartment_id is not None:
|
@@ -261,6 +311,8 @@ class _AuditProfileManagementState:
|
|
261
311
|
pulumi.set(__self__, "display_name", display_name)
|
262
312
|
if freeform_tags is not None:
|
263
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)
|
264
316
|
if is_override_global_retention_setting is not None:
|
265
317
|
pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting)
|
266
318
|
if is_paid_usage_enabled is not None:
|
@@ -269,12 +321,22 @@ class _AuditProfileManagementState:
|
|
269
321
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
270
322
|
if offline_months is not None:
|
271
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)
|
272
326
|
if online_months is not None:
|
273
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)
|
274
332
|
if state is not None:
|
275
333
|
pulumi.set(__self__, "state", state)
|
334
|
+
if system_tags is not None:
|
335
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
276
336
|
if target_id is not None:
|
277
337
|
pulumi.set(__self__, "target_id", target_id)
|
338
|
+
if target_type is not None:
|
339
|
+
pulumi.set(__self__, "target_type", target_type)
|
278
340
|
if time_created is not None:
|
279
341
|
pulumi.set(__self__, "time_created", time_created)
|
280
342
|
if time_updated is not None:
|
@@ -284,7 +346,7 @@ class _AuditProfileManagementState:
|
|
284
346
|
@pulumi.getter(name="auditCollectedVolume")
|
285
347
|
def audit_collected_volume(self) -> Optional[pulumi.Input[_builtins.str]]:
|
286
348
|
"""
|
287
|
-
|
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.
|
288
350
|
"""
|
289
351
|
return pulumi.get(self, "audit_collected_volume")
|
290
352
|
|
@@ -292,23 +354,39 @@ class _AuditProfileManagementState:
|
|
292
354
|
def audit_collected_volume(self, value: Optional[pulumi.Input[_builtins.str]]):
|
293
355
|
pulumi.set(self, "audit_collected_volume", value)
|
294
356
|
|
357
|
+
@_builtins.property
|
358
|
+
@pulumi.getter(name="auditTrails")
|
359
|
+
def audit_trails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]]:
|
360
|
+
"""
|
361
|
+
Contains the list of available audit trails on the target database.
|
362
|
+
"""
|
363
|
+
return pulumi.get(self, "audit_trails")
|
364
|
+
|
365
|
+
@audit_trails.setter
|
366
|
+
def audit_trails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileManagementAuditTrailArgs']]]]):
|
367
|
+
pulumi.set(self, "audit_trails", value)
|
368
|
+
|
295
369
|
@_builtins.property
|
296
370
|
@pulumi.getter(name="changeRetentionTrigger")
|
297
|
-
def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.
|
371
|
+
def change_retention_trigger(self) -> Optional[pulumi.Input[_builtins.int]]:
|
298
372
|
"""
|
299
|
-
(Updatable) An optional property when
|
373
|
+
(Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
374
|
+
|
375
|
+
|
376
|
+
** IMPORTANT **
|
377
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
300
378
|
"""
|
301
379
|
return pulumi.get(self, "change_retention_trigger")
|
302
380
|
|
303
381
|
@change_retention_trigger.setter
|
304
|
-
def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.
|
382
|
+
def change_retention_trigger(self, value: Optional[pulumi.Input[_builtins.int]]):
|
305
383
|
pulumi.set(self, "change_retention_trigger", value)
|
306
384
|
|
307
385
|
@_builtins.property
|
308
386
|
@pulumi.getter(name="compartmentId")
|
309
387
|
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
310
388
|
"""
|
311
|
-
(Updatable) The OCID of the compartment
|
389
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
312
390
|
"""
|
313
391
|
return pulumi.get(self, "compartment_id")
|
314
392
|
|
@@ -364,11 +442,23 @@ class _AuditProfileManagementState:
|
|
364
442
|
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
365
443
|
pulumi.set(self, "freeform_tags", value)
|
366
444
|
|
445
|
+
@_builtins.property
|
446
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
447
|
+
def is_override_global_paid_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
448
|
+
"""
|
449
|
+
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
|
+
|
367
457
|
@_builtins.property
|
368
458
|
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
369
459
|
def is_override_global_retention_setting(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
370
460
|
"""
|
371
|
-
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.
|
372
462
|
"""
|
373
463
|
return pulumi.get(self, "is_override_global_retention_setting")
|
374
464
|
|
@@ -404,7 +494,7 @@ class _AuditProfileManagementState:
|
|
404
494
|
@pulumi.getter(name="offlineMonths")
|
405
495
|
def offline_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
406
496
|
"""
|
407
|
-
|
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.
|
408
498
|
"""
|
409
499
|
return pulumi.get(self, "offline_months")
|
410
500
|
|
@@ -412,14 +502,23 @@ class _AuditProfileManagementState:
|
|
412
502
|
def offline_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
413
503
|
pulumi.set(self, "offline_months", value)
|
414
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
|
+
|
415
517
|
@_builtins.property
|
416
518
|
@pulumi.getter(name="onlineMonths")
|
417
519
|
def online_months(self) -> Optional[pulumi.Input[_builtins.int]]:
|
418
520
|
"""
|
419
|
-
|
420
|
-
|
421
|
-
** IMPORTANT **
|
422
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
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
|
423
522
|
"""
|
424
523
|
return pulumi.get(self, "online_months")
|
425
524
|
|
@@ -427,6 +526,30 @@ class _AuditProfileManagementState:
|
|
427
526
|
def online_months(self, value: Optional[pulumi.Input[_builtins.int]]):
|
428
527
|
pulumi.set(self, "online_months", value)
|
429
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
|
+
|
430
553
|
@_builtins.property
|
431
554
|
@pulumi.getter
|
432
555
|
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -439,11 +562,23 @@ class _AuditProfileManagementState:
|
|
439
562
|
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
440
563
|
pulumi.set(self, "state", value)
|
441
564
|
|
565
|
+
@_builtins.property
|
566
|
+
@pulumi.getter(name="systemTags")
|
567
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
568
|
+
"""
|
569
|
+
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"}`
|
570
|
+
"""
|
571
|
+
return pulumi.get(self, "system_tags")
|
572
|
+
|
573
|
+
@system_tags.setter
|
574
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
575
|
+
pulumi.set(self, "system_tags", value)
|
576
|
+
|
442
577
|
@_builtins.property
|
443
578
|
@pulumi.getter(name="targetId")
|
444
579
|
def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
445
580
|
"""
|
446
|
-
The OCID of the target.
|
581
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
447
582
|
"""
|
448
583
|
return pulumi.get(self, "target_id")
|
449
584
|
|
@@ -451,6 +586,18 @@ class _AuditProfileManagementState:
|
|
451
586
|
def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
452
587
|
pulumi.set(self, "target_id", value)
|
453
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
|
+
|
454
601
|
@_builtins.property
|
455
602
|
@pulumi.getter(name="timeCreated")
|
456
603
|
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -482,22 +629,24 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
482
629
|
def __init__(__self__,
|
483
630
|
resource_name: str,
|
484
631
|
opts: Optional[pulumi.ResourceOptions] = None,
|
485
|
-
change_retention_trigger: Optional[pulumi.Input[_builtins.
|
632
|
+
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
486
633
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
487
634
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
488
635
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
489
636
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
490
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,
|
491
639
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
492
640
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
493
641
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
494
642
|
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
495
643
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
644
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
496
645
|
__props__=None):
|
497
646
|
"""
|
498
647
|
This resource provides the Audit Profile Management resource in Oracle Cloud Infrastructure Data Safe service.
|
499
648
|
|
500
|
-
|
649
|
+
Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile by fetching the Audit profile.
|
501
650
|
|
502
651
|
## Example Usage
|
503
652
|
|
@@ -507,52 +656,62 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
507
656
|
|
508
657
|
test_audit_profile_management = oci.datasafe.AuditProfileManagement("test_audit_profile_management",
|
509
658
|
compartment_id=compartment_id,
|
510
|
-
target_id=
|
659
|
+
target_id=test_target["id"],
|
660
|
+
target_type=audit_profile_target_type,
|
511
661
|
defined_tags={
|
512
662
|
"Operations.CostCenter": "42",
|
513
663
|
},
|
514
|
-
description=
|
515
|
-
display_name=
|
664
|
+
description=audit_profile_description,
|
665
|
+
display_name=audit_profile_display_name,
|
516
666
|
freeform_tags={
|
517
667
|
"Department": "Finance",
|
518
668
|
},
|
519
|
-
|
520
|
-
|
521
|
-
offline_months=
|
522
|
-
online_months=
|
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)
|
523
675
|
```
|
524
676
|
|
525
677
|
## Import
|
526
678
|
|
527
|
-
|
679
|
+
AuditProfiles can be imported using the `id`, e.g.
|
680
|
+
|
681
|
+
```sh
|
682
|
+
$ pulumi import oci:DataSafe/auditProfileManagement:AuditProfileManagement test_audit_profile_management "id"
|
683
|
+
```
|
528
684
|
|
529
685
|
:param str resource_name: The name of the resource.
|
530
686
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
531
|
-
:param pulumi.Input[_builtins.
|
532
|
-
|
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.
|
688
|
+
|
689
|
+
|
690
|
+
** IMPORTANT **
|
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
|
692
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
533
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"}`
|
534
694
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
535
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.
|
536
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"}`
|
537
|
-
:param pulumi.Input[_builtins.bool]
|
697
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: 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.
|
538
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.
|
539
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
540
|
-
:param pulumi.Input[_builtins.int] online_months:
|
541
|
-
|
542
|
-
|
543
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
544
|
-
:param pulumi.Input[_builtins.str] target_id: The OCID of the target.
|
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.
|
545
704
|
"""
|
546
705
|
...
|
547
706
|
@overload
|
548
707
|
def __init__(__self__,
|
549
708
|
resource_name: str,
|
550
|
-
args:
|
709
|
+
args: AuditProfileManagementArgs,
|
551
710
|
opts: Optional[pulumi.ResourceOptions] = None):
|
552
711
|
"""
|
553
712
|
This resource provides the Audit Profile Management resource in Oracle Cloud Infrastructure Data Safe service.
|
554
713
|
|
555
|
-
|
714
|
+
Create a new audit profile resource for a target group. For a target database, it will update the auto created audit profile by fetching the Audit profile.
|
556
715
|
|
557
716
|
## Example Usage
|
558
717
|
|
@@ -562,24 +721,31 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
562
721
|
|
563
722
|
test_audit_profile_management = oci.datasafe.AuditProfileManagement("test_audit_profile_management",
|
564
723
|
compartment_id=compartment_id,
|
565
|
-
target_id=
|
724
|
+
target_id=test_target["id"],
|
725
|
+
target_type=audit_profile_target_type,
|
566
726
|
defined_tags={
|
567
727
|
"Operations.CostCenter": "42",
|
568
728
|
},
|
569
|
-
description=
|
570
|
-
display_name=
|
729
|
+
description=audit_profile_description,
|
730
|
+
display_name=audit_profile_display_name,
|
571
731
|
freeform_tags={
|
572
732
|
"Department": "Finance",
|
573
733
|
},
|
574
|
-
|
575
|
-
|
576
|
-
offline_months=
|
577
|
-
online_months=
|
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)
|
578
740
|
```
|
579
741
|
|
580
742
|
## Import
|
581
743
|
|
582
|
-
|
744
|
+
AuditProfiles can be imported using the `id`, e.g.
|
745
|
+
|
746
|
+
```sh
|
747
|
+
$ pulumi import oci:DataSafe/auditProfileManagement:AuditProfileManagement test_audit_profile_management "id"
|
748
|
+
```
|
583
749
|
|
584
750
|
:param str resource_name: The name of the resource.
|
585
751
|
:param AuditProfileManagementArgs args: The arguments to use to populate this resource's properties.
|
@@ -596,17 +762,19 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
596
762
|
def _internal_init(__self__,
|
597
763
|
resource_name: str,
|
598
764
|
opts: Optional[pulumi.ResourceOptions] = None,
|
599
|
-
change_retention_trigger: Optional[pulumi.Input[_builtins.
|
765
|
+
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
600
766
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
601
767
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
602
768
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
603
769
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
604
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,
|
605
772
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
606
773
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
607
774
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
608
775
|
online_months: Optional[pulumi.Input[_builtins.int]] = None,
|
609
776
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
777
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
610
778
|
__props__=None):
|
611
779
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
612
780
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -617,19 +785,32 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
617
785
|
__props__ = AuditProfileManagementArgs.__new__(AuditProfileManagementArgs)
|
618
786
|
|
619
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'")
|
620
790
|
__props__.__dict__["compartment_id"] = compartment_id
|
621
791
|
__props__.__dict__["defined_tags"] = defined_tags
|
622
792
|
__props__.__dict__["description"] = description
|
623
793
|
__props__.__dict__["display_name"] = display_name
|
624
794
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
795
|
+
__props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
|
625
796
|
__props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
|
626
797
|
__props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
|
627
798
|
__props__.__dict__["offline_months"] = offline_months
|
628
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'")
|
629
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
|
630
806
|
__props__.__dict__["audit_collected_volume"] = None
|
807
|
+
__props__.__dict__["audit_trails"] = None
|
631
808
|
__props__.__dict__["lifecycle_details"] = None
|
809
|
+
__props__.__dict__["offline_months_source"] = None
|
810
|
+
__props__.__dict__["online_months_source"] = None
|
811
|
+
__props__.__dict__["paid_usage_source"] = None
|
632
812
|
__props__.__dict__["state"] = None
|
813
|
+
__props__.__dict__["system_tags"] = None
|
633
814
|
__props__.__dict__["time_created"] = None
|
634
815
|
__props__.__dict__["time_updated"] = None
|
635
816
|
super(AuditProfileManagement, __self__).__init__(
|
@@ -643,19 +824,26 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
643
824
|
id: pulumi.Input[str],
|
644
825
|
opts: Optional[pulumi.ResourceOptions] = None,
|
645
826
|
audit_collected_volume: Optional[pulumi.Input[_builtins.str]] = None,
|
646
|
-
|
827
|
+
audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuditProfileManagementAuditTrailArgs', 'AuditProfileManagementAuditTrailArgsDict']]]]] = None,
|
828
|
+
change_retention_trigger: Optional[pulumi.Input[_builtins.int]] = None,
|
647
829
|
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
648
830
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
649
831
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
650
832
|
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
651
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,
|
652
835
|
is_override_global_retention_setting: Optional[pulumi.Input[_builtins.bool]] = None,
|
653
836
|
is_paid_usage_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
654
837
|
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
655
838
|
offline_months: Optional[pulumi.Input[_builtins.int]] = None,
|
839
|
+
offline_months_source: Optional[pulumi.Input[_builtins.str]] = None,
|
656
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,
|
657
843
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
844
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
658
845
|
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
846
|
+
target_type: Optional[pulumi.Input[_builtins.str]] = None,
|
659
847
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
660
848
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'AuditProfileManagement':
|
661
849
|
"""
|
@@ -665,23 +853,31 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
665
853
|
:param str resource_name: The unique name of the resulting resource.
|
666
854
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
667
855
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
668
|
-
:param pulumi.Input[_builtins.str] audit_collected_volume:
|
669
|
-
:param pulumi.Input[
|
670
|
-
:param pulumi.Input[_builtins.
|
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['AuditProfileManagementAuditTrailArgs', 'AuditProfileManagementAuditTrailArgsDict']]]] audit_trails: Contains the list of available audit trails on the target database.
|
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.
|
859
|
+
|
860
|
+
|
861
|
+
** IMPORTANT **
|
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
|
863
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment where you want to create the audit profile.
|
671
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"}`
|
672
865
|
:param pulumi.Input[_builtins.str] description: (Updatable) The description of the audit profile.
|
673
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.
|
674
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"}`
|
675
|
-
:param pulumi.Input[_builtins.bool]
|
868
|
+
:param pulumi.Input[_builtins.bool] is_override_global_paid_usage: 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.
|
676
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.
|
677
871
|
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the audit profile in Data Safe.
|
678
|
-
:param pulumi.Input[_builtins.int] offline_months:
|
679
|
-
:param pulumi.Input[_builtins.
|
680
|
-
|
681
|
-
|
682
|
-
|
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.
|
683
877
|
:param pulumi.Input[_builtins.str] state: The current state of the audit profile.
|
684
|
-
:param pulumi.Input[_builtins.str]
|
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"}`
|
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.
|
685
881
|
:param pulumi.Input[_builtins.str] time_created: The date and time the audit profile was created, in the format defined by RFC3339.
|
686
882
|
:param pulumi.Input[_builtins.str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339.
|
687
883
|
"""
|
@@ -690,19 +886,26 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
690
886
|
__props__ = _AuditProfileManagementState.__new__(_AuditProfileManagementState)
|
691
887
|
|
692
888
|
__props__.__dict__["audit_collected_volume"] = audit_collected_volume
|
889
|
+
__props__.__dict__["audit_trails"] = audit_trails
|
693
890
|
__props__.__dict__["change_retention_trigger"] = change_retention_trigger
|
694
891
|
__props__.__dict__["compartment_id"] = compartment_id
|
695
892
|
__props__.__dict__["defined_tags"] = defined_tags
|
696
893
|
__props__.__dict__["description"] = description
|
697
894
|
__props__.__dict__["display_name"] = display_name
|
698
895
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
896
|
+
__props__.__dict__["is_override_global_paid_usage"] = is_override_global_paid_usage
|
699
897
|
__props__.__dict__["is_override_global_retention_setting"] = is_override_global_retention_setting
|
700
898
|
__props__.__dict__["is_paid_usage_enabled"] = is_paid_usage_enabled
|
701
899
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
702
900
|
__props__.__dict__["offline_months"] = offline_months
|
901
|
+
__props__.__dict__["offline_months_source"] = offline_months_source
|
703
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
|
704
905
|
__props__.__dict__["state"] = state
|
906
|
+
__props__.__dict__["system_tags"] = system_tags
|
705
907
|
__props__.__dict__["target_id"] = target_id
|
908
|
+
__props__.__dict__["target_type"] = target_type
|
706
909
|
__props__.__dict__["time_created"] = time_created
|
707
910
|
__props__.__dict__["time_updated"] = time_updated
|
708
911
|
return AuditProfileManagement(resource_name, opts=opts, __props__=__props__)
|
@@ -711,15 +914,27 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
711
914
|
@pulumi.getter(name="auditCollectedVolume")
|
712
915
|
def audit_collected_volume(self) -> pulumi.Output[_builtins.str]:
|
713
916
|
"""
|
714
|
-
|
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.
|
715
918
|
"""
|
716
919
|
return pulumi.get(self, "audit_collected_volume")
|
717
920
|
|
921
|
+
@_builtins.property
|
922
|
+
@pulumi.getter(name="auditTrails")
|
923
|
+
def audit_trails(self) -> pulumi.Output[Sequence['outputs.AuditProfileManagementAuditTrail']]:
|
924
|
+
"""
|
925
|
+
Contains the list of available audit trails on the target database.
|
926
|
+
"""
|
927
|
+
return pulumi.get(self, "audit_trails")
|
928
|
+
|
718
929
|
@_builtins.property
|
719
930
|
@pulumi.getter(name="changeRetentionTrigger")
|
720
|
-
def change_retention_trigger(self) -> pulumi.Output[Optional[_builtins.
|
931
|
+
def change_retention_trigger(self) -> pulumi.Output[Optional[_builtins.int]]:
|
721
932
|
"""
|
722
|
-
(Updatable) An optional property when
|
933
|
+
(Updatable) An optional property when incremented triggers Change Retention. Could be set to any integer value.
|
934
|
+
|
935
|
+
|
936
|
+
** IMPORTANT **
|
937
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
723
938
|
"""
|
724
939
|
return pulumi.get(self, "change_retention_trigger")
|
725
940
|
|
@@ -727,7 +942,7 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
727
942
|
@pulumi.getter(name="compartmentId")
|
728
943
|
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
729
944
|
"""
|
730
|
-
(Updatable) The OCID of the compartment
|
945
|
+
(Updatable) The OCID of the compartment where you want to create the audit profile.
|
731
946
|
"""
|
732
947
|
return pulumi.get(self, "compartment_id")
|
733
948
|
|
@@ -763,17 +978,25 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
763
978
|
"""
|
764
979
|
return pulumi.get(self, "freeform_tags")
|
765
980
|
|
981
|
+
@_builtins.property
|
982
|
+
@pulumi.getter(name="isOverrideGlobalPaidUsage")
|
983
|
+
def is_override_global_paid_usage(self) -> pulumi.Output[_builtins.bool]:
|
984
|
+
"""
|
985
|
+
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
|
+
|
766
989
|
@_builtins.property
|
767
990
|
@pulumi.getter(name="isOverrideGlobalRetentionSetting")
|
768
|
-
def is_override_global_retention_setting(self) -> pulumi.Output[
|
991
|
+
def is_override_global_retention_setting(self) -> pulumi.Output[_builtins.bool]:
|
769
992
|
"""
|
770
|
-
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.
|
771
994
|
"""
|
772
995
|
return pulumi.get(self, "is_override_global_retention_setting")
|
773
996
|
|
774
997
|
@_builtins.property
|
775
998
|
@pulumi.getter(name="isPaidUsageEnabled")
|
776
|
-
def is_paid_usage_enabled(self) -> pulumi.Output[
|
999
|
+
def is_paid_usage_enabled(self) -> pulumi.Output[_builtins.bool]:
|
777
1000
|
"""
|
778
1001
|
(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.
|
779
1002
|
"""
|
@@ -789,23 +1012,44 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
789
1012
|
|
790
1013
|
@_builtins.property
|
791
1014
|
@pulumi.getter(name="offlineMonths")
|
792
|
-
def offline_months(self) -> pulumi.Output[
|
1015
|
+
def offline_months(self) -> pulumi.Output[_builtins.int]:
|
793
1016
|
"""
|
794
|
-
|
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.
|
795
1018
|
"""
|
796
1019
|
return pulumi.get(self, "offline_months")
|
797
1020
|
|
798
1021
|
@_builtins.property
|
799
|
-
@pulumi.getter(name="
|
800
|
-
def
|
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.
|
801
1026
|
"""
|
802
|
-
|
1027
|
+
return pulumi.get(self, "offline_months_source")
|
803
1028
|
|
804
|
-
|
805
|
-
|
1029
|
+
@_builtins.property
|
1030
|
+
@pulumi.getter(name="onlineMonths")
|
1031
|
+
def online_months(self) -> pulumi.Output[_builtins.int]:
|
1032
|
+
"""
|
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
|
806
1034
|
"""
|
807
1035
|
return pulumi.get(self, "online_months")
|
808
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
|
+
|
809
1053
|
@_builtins.property
|
810
1054
|
@pulumi.getter
|
811
1055
|
def state(self) -> pulumi.Output[_builtins.str]:
|
@@ -814,14 +1058,30 @@ class AuditProfileManagement(pulumi.CustomResource):
|
|
814
1058
|
"""
|
815
1059
|
return pulumi.get(self, "state")
|
816
1060
|
|
1061
|
+
@_builtins.property
|
1062
|
+
@pulumi.getter(name="systemTags")
|
1063
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
1064
|
+
"""
|
1065
|
+
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"}`
|
1066
|
+
"""
|
1067
|
+
return pulumi.get(self, "system_tags")
|
1068
|
+
|
817
1069
|
@_builtins.property
|
818
1070
|
@pulumi.getter(name="targetId")
|
819
|
-
def target_id(self) -> pulumi.Output[
|
1071
|
+
def target_id(self) -> pulumi.Output[_builtins.str]:
|
820
1072
|
"""
|
821
|
-
The OCID of the target.
|
1073
|
+
The OCID of the target database or target database group for which the audit profile is created.
|
822
1074
|
"""
|
823
1075
|
return pulumi.get(self, "target_id")
|
824
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
|
+
|
825
1085
|
@_builtins.property
|
826
1086
|
@pulumi.getter(name="timeCreated")
|
827
1087
|
def time_created(self) -> pulumi.Output[_builtins.str]:
|