pulumi-oci 2.26.0a1741415311__py3-none-any.whl → 2.26.0a1741943394__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 +67 -0
- pulumi_oci/containerengine/_inputs.py +34 -35
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +110 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +704 -0
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +1084 -42
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/METADATA +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/RECORD +135 -106
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,370 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetSensitiveColumnAnalyticsResult',
|
21
|
+
'AwaitableGetSensitiveColumnAnalyticsResult',
|
22
|
+
'get_sensitive_column_analytics',
|
23
|
+
'get_sensitive_column_analytics_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSensitiveColumnAnalyticsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSensitiveColumnAnalytics.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, access_level=None, column_names=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, group_bies=None, id=None, objects=None, schema_names=None, sensitive_column_analytics_collections=None, sensitive_data_model_id=None, sensitive_type_group_id=None, sensitive_type_ids=None, target_id=None):
|
32
|
+
if access_level and not isinstance(access_level, str):
|
33
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
34
|
+
pulumi.set(__self__, "access_level", access_level)
|
35
|
+
if column_names and not isinstance(column_names, list):
|
36
|
+
raise TypeError("Expected argument 'column_names' to be a list")
|
37
|
+
pulumi.set(__self__, "column_names", column_names)
|
38
|
+
if compartment_id and not isinstance(compartment_id, str):
|
39
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
42
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
43
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if group_bies and not isinstance(group_bies, list):
|
48
|
+
raise TypeError("Expected argument 'group_bies' to be a list")
|
49
|
+
pulumi.set(__self__, "group_bies", group_bies)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if objects and not isinstance(objects, list):
|
54
|
+
raise TypeError("Expected argument 'objects' to be a list")
|
55
|
+
pulumi.set(__self__, "objects", objects)
|
56
|
+
if schema_names and not isinstance(schema_names, list):
|
57
|
+
raise TypeError("Expected argument 'schema_names' to be a list")
|
58
|
+
pulumi.set(__self__, "schema_names", schema_names)
|
59
|
+
if sensitive_column_analytics_collections and not isinstance(sensitive_column_analytics_collections, list):
|
60
|
+
raise TypeError("Expected argument 'sensitive_column_analytics_collections' to be a list")
|
61
|
+
pulumi.set(__self__, "sensitive_column_analytics_collections", sensitive_column_analytics_collections)
|
62
|
+
if sensitive_data_model_id and not isinstance(sensitive_data_model_id, str):
|
63
|
+
raise TypeError("Expected argument 'sensitive_data_model_id' to be a str")
|
64
|
+
pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
|
65
|
+
if sensitive_type_group_id and not isinstance(sensitive_type_group_id, str):
|
66
|
+
raise TypeError("Expected argument 'sensitive_type_group_id' to be a str")
|
67
|
+
pulumi.set(__self__, "sensitive_type_group_id", sensitive_type_group_id)
|
68
|
+
if sensitive_type_ids and not isinstance(sensitive_type_ids, list):
|
69
|
+
raise TypeError("Expected argument 'sensitive_type_ids' to be a list")
|
70
|
+
pulumi.set(__self__, "sensitive_type_ids", sensitive_type_ids)
|
71
|
+
if target_id and not isinstance(target_id, str):
|
72
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
73
|
+
pulumi.set(__self__, "target_id", target_id)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="accessLevel")
|
77
|
+
def access_level(self) -> Optional[str]:
|
78
|
+
return pulumi.get(self, "access_level")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="columnNames")
|
82
|
+
def column_names(self) -> Optional[Sequence[str]]:
|
83
|
+
"""
|
84
|
+
The name of the sensitive column.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "column_names")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="compartmentId")
|
90
|
+
def compartment_id(self) -> str:
|
91
|
+
return pulumi.get(self, "compartment_id")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
95
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
96
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def filters(self) -> Optional[Sequence['outputs.GetSensitiveColumnAnalyticsFilterResult']]:
|
101
|
+
return pulumi.get(self, "filters")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="groupBies")
|
105
|
+
def group_bies(self) -> Optional[Sequence[str]]:
|
106
|
+
return pulumi.get(self, "group_bies")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def id(self) -> str:
|
111
|
+
"""
|
112
|
+
The provider-assigned unique ID for this managed resource.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def objects(self) -> Optional[Sequence[str]]:
|
119
|
+
"""
|
120
|
+
The database object that contains the sensitive column.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "objects")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="schemaNames")
|
126
|
+
def schema_names(self) -> Optional[Sequence[str]]:
|
127
|
+
"""
|
128
|
+
The database schema that contains the sensitive column.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "schema_names")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="sensitiveColumnAnalyticsCollections")
|
134
|
+
def sensitive_column_analytics_collections(self) -> Sequence['outputs.GetSensitiveColumnAnalyticsSensitiveColumnAnalyticsCollectionResult']:
|
135
|
+
"""
|
136
|
+
The list of sensitive_column_analytics_collection.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "sensitive_column_analytics_collections")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="sensitiveDataModelId")
|
142
|
+
def sensitive_data_model_id(self) -> Optional[str]:
|
143
|
+
"""
|
144
|
+
The OCID of the sensitive data model which contains the sensitive column.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "sensitive_data_model_id")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="sensitiveTypeGroupId")
|
150
|
+
def sensitive_type_group_id(self) -> Optional[str]:
|
151
|
+
return pulumi.get(self, "sensitive_type_group_id")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="sensitiveTypeIds")
|
155
|
+
def sensitive_type_ids(self) -> Optional[Sequence[str]]:
|
156
|
+
"""
|
157
|
+
The OCID of the sensitive type associated with the sensitive column.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "sensitive_type_ids")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="targetId")
|
163
|
+
def target_id(self) -> Optional[str]:
|
164
|
+
"""
|
165
|
+
The OCID of the target database associated with the sensitive column.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "target_id")
|
168
|
+
|
169
|
+
|
170
|
+
class AwaitableGetSensitiveColumnAnalyticsResult(GetSensitiveColumnAnalyticsResult):
|
171
|
+
# pylint: disable=using-constant-test
|
172
|
+
def __await__(self):
|
173
|
+
if False:
|
174
|
+
yield self
|
175
|
+
return GetSensitiveColumnAnalyticsResult(
|
176
|
+
access_level=self.access_level,
|
177
|
+
column_names=self.column_names,
|
178
|
+
compartment_id=self.compartment_id,
|
179
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
180
|
+
filters=self.filters,
|
181
|
+
group_bies=self.group_bies,
|
182
|
+
id=self.id,
|
183
|
+
objects=self.objects,
|
184
|
+
schema_names=self.schema_names,
|
185
|
+
sensitive_column_analytics_collections=self.sensitive_column_analytics_collections,
|
186
|
+
sensitive_data_model_id=self.sensitive_data_model_id,
|
187
|
+
sensitive_type_group_id=self.sensitive_type_group_id,
|
188
|
+
sensitive_type_ids=self.sensitive_type_ids,
|
189
|
+
target_id=self.target_id)
|
190
|
+
|
191
|
+
|
192
|
+
def get_sensitive_column_analytics(access_level: Optional[str] = None,
|
193
|
+
column_names: Optional[Sequence[str]] = None,
|
194
|
+
compartment_id: Optional[str] = None,
|
195
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
196
|
+
filters: Optional[Sequence[Union['GetSensitiveColumnAnalyticsFilterArgs', 'GetSensitiveColumnAnalyticsFilterArgsDict']]] = None,
|
197
|
+
group_bies: Optional[Sequence[str]] = None,
|
198
|
+
objects: Optional[Sequence[str]] = None,
|
199
|
+
schema_names: Optional[Sequence[str]] = None,
|
200
|
+
sensitive_data_model_id: Optional[str] = None,
|
201
|
+
sensitive_type_group_id: Optional[str] = None,
|
202
|
+
sensitive_type_ids: Optional[Sequence[str]] = None,
|
203
|
+
target_id: Optional[str] = None,
|
204
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSensitiveColumnAnalyticsResult:
|
205
|
+
"""
|
206
|
+
This data source provides the list of Sensitive Column Analytics in Oracle Cloud Infrastructure Data Safe service.
|
207
|
+
|
208
|
+
Gets consolidated sensitive columns analytics data based on the specified query parameters.
|
209
|
+
|
210
|
+
When you perform the ListSensitiveColumnAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
|
211
|
+
parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT
|
212
|
+
permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
213
|
+
root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
214
|
+
compartmentId, then "Not Authorized" is returned.
|
215
|
+
|
216
|
+
To use ListSensitiveColumnAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
217
|
+
set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
218
|
+
|
219
|
+
## Example Usage
|
220
|
+
|
221
|
+
```python
|
222
|
+
import pulumi
|
223
|
+
import pulumi_oci as oci
|
224
|
+
|
225
|
+
test_sensitive_column_analytics = oci.DataSafe.get_sensitive_column_analytics(compartment_id=compartment_id,
|
226
|
+
access_level=sensitive_column_analytic_access_level,
|
227
|
+
column_names=sensitive_column_analytic_column_name,
|
228
|
+
compartment_id_in_subtree=sensitive_column_analytic_compartment_id_in_subtree,
|
229
|
+
group_bies=sensitive_column_analytic_group_by,
|
230
|
+
objects=sensitive_column_analytic_object,
|
231
|
+
schema_names=sensitive_column_analytic_schema_name,
|
232
|
+
sensitive_data_model_id=test_sensitive_data_model["id"],
|
233
|
+
sensitive_type_group_id=test_sensitive_type_group["id"],
|
234
|
+
sensitive_type_ids=test_sensitive_type["id"],
|
235
|
+
target_id=test_target["id"])
|
236
|
+
```
|
237
|
+
|
238
|
+
|
239
|
+
:param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
240
|
+
:param Sequence[str] column_names: A filter to return only a specific column based on column name.
|
241
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
242
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
243
|
+
:param Sequence[str] group_bies: The group by parameter to summarize the sensitive columns.
|
244
|
+
:param Sequence[str] objects: A filter to return only items related to a specific object name.
|
245
|
+
:param Sequence[str] schema_names: A filter to return only items related to specific schema name.
|
246
|
+
:param str sensitive_data_model_id: A filter to return only the resources that match the specified sensitive data model OCID.
|
247
|
+
:param str sensitive_type_group_id: An optional filter to return only resources that match the specified OCID of the sensitive type group resource.
|
248
|
+
:param Sequence[str] sensitive_type_ids: A filter to return only the sensitive columns that are associated with one of the sensitive types identified by the specified OCIDs.
|
249
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
250
|
+
"""
|
251
|
+
__args__ = dict()
|
252
|
+
__args__['accessLevel'] = access_level
|
253
|
+
__args__['columnNames'] = column_names
|
254
|
+
__args__['compartmentId'] = compartment_id
|
255
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
256
|
+
__args__['filters'] = filters
|
257
|
+
__args__['groupBies'] = group_bies
|
258
|
+
__args__['objects'] = objects
|
259
|
+
__args__['schemaNames'] = schema_names
|
260
|
+
__args__['sensitiveDataModelId'] = sensitive_data_model_id
|
261
|
+
__args__['sensitiveTypeGroupId'] = sensitive_type_group_id
|
262
|
+
__args__['sensitiveTypeIds'] = sensitive_type_ids
|
263
|
+
__args__['targetId'] = target_id
|
264
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
265
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSensitiveColumnAnalytics:getSensitiveColumnAnalytics', __args__, opts=opts, typ=GetSensitiveColumnAnalyticsResult).value
|
266
|
+
|
267
|
+
return AwaitableGetSensitiveColumnAnalyticsResult(
|
268
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
269
|
+
column_names=pulumi.get(__ret__, 'column_names'),
|
270
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
271
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
272
|
+
filters=pulumi.get(__ret__, 'filters'),
|
273
|
+
group_bies=pulumi.get(__ret__, 'group_bies'),
|
274
|
+
id=pulumi.get(__ret__, 'id'),
|
275
|
+
objects=pulumi.get(__ret__, 'objects'),
|
276
|
+
schema_names=pulumi.get(__ret__, 'schema_names'),
|
277
|
+
sensitive_column_analytics_collections=pulumi.get(__ret__, 'sensitive_column_analytics_collections'),
|
278
|
+
sensitive_data_model_id=pulumi.get(__ret__, 'sensitive_data_model_id'),
|
279
|
+
sensitive_type_group_id=pulumi.get(__ret__, 'sensitive_type_group_id'),
|
280
|
+
sensitive_type_ids=pulumi.get(__ret__, 'sensitive_type_ids'),
|
281
|
+
target_id=pulumi.get(__ret__, 'target_id'))
|
282
|
+
def get_sensitive_column_analytics_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
|
283
|
+
column_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
284
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
285
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
286
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSensitiveColumnAnalyticsFilterArgs', 'GetSensitiveColumnAnalyticsFilterArgsDict']]]]] = None,
|
287
|
+
group_bies: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
288
|
+
objects: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
289
|
+
schema_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
290
|
+
sensitive_data_model_id: Optional[pulumi.Input[Optional[str]]] = None,
|
291
|
+
sensitive_type_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
292
|
+
sensitive_type_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
293
|
+
target_id: Optional[pulumi.Input[Optional[str]]] = None,
|
294
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSensitiveColumnAnalyticsResult]:
|
295
|
+
"""
|
296
|
+
This data source provides the list of Sensitive Column Analytics in Oracle Cloud Infrastructure Data Safe service.
|
297
|
+
|
298
|
+
Gets consolidated sensitive columns analytics data based on the specified query parameters.
|
299
|
+
|
300
|
+
When you perform the ListSensitiveColumnAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
|
301
|
+
parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT
|
302
|
+
permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
303
|
+
root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
304
|
+
compartmentId, then "Not Authorized" is returned.
|
305
|
+
|
306
|
+
To use ListSensitiveColumnAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
307
|
+
set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
308
|
+
|
309
|
+
## Example Usage
|
310
|
+
|
311
|
+
```python
|
312
|
+
import pulumi
|
313
|
+
import pulumi_oci as oci
|
314
|
+
|
315
|
+
test_sensitive_column_analytics = oci.DataSafe.get_sensitive_column_analytics(compartment_id=compartment_id,
|
316
|
+
access_level=sensitive_column_analytic_access_level,
|
317
|
+
column_names=sensitive_column_analytic_column_name,
|
318
|
+
compartment_id_in_subtree=sensitive_column_analytic_compartment_id_in_subtree,
|
319
|
+
group_bies=sensitive_column_analytic_group_by,
|
320
|
+
objects=sensitive_column_analytic_object,
|
321
|
+
schema_names=sensitive_column_analytic_schema_name,
|
322
|
+
sensitive_data_model_id=test_sensitive_data_model["id"],
|
323
|
+
sensitive_type_group_id=test_sensitive_type_group["id"],
|
324
|
+
sensitive_type_ids=test_sensitive_type["id"],
|
325
|
+
target_id=test_target["id"])
|
326
|
+
```
|
327
|
+
|
328
|
+
|
329
|
+
:param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
330
|
+
:param Sequence[str] column_names: A filter to return only a specific column based on column name.
|
331
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
332
|
+
:param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
333
|
+
:param Sequence[str] group_bies: The group by parameter to summarize the sensitive columns.
|
334
|
+
:param Sequence[str] objects: A filter to return only items related to a specific object name.
|
335
|
+
:param Sequence[str] schema_names: A filter to return only items related to specific schema name.
|
336
|
+
:param str sensitive_data_model_id: A filter to return only the resources that match the specified sensitive data model OCID.
|
337
|
+
:param str sensitive_type_group_id: An optional filter to return only resources that match the specified OCID of the sensitive type group resource.
|
338
|
+
:param Sequence[str] sensitive_type_ids: A filter to return only the sensitive columns that are associated with one of the sensitive types identified by the specified OCIDs.
|
339
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
340
|
+
"""
|
341
|
+
__args__ = dict()
|
342
|
+
__args__['accessLevel'] = access_level
|
343
|
+
__args__['columnNames'] = column_names
|
344
|
+
__args__['compartmentId'] = compartment_id
|
345
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
346
|
+
__args__['filters'] = filters
|
347
|
+
__args__['groupBies'] = group_bies
|
348
|
+
__args__['objects'] = objects
|
349
|
+
__args__['schemaNames'] = schema_names
|
350
|
+
__args__['sensitiveDataModelId'] = sensitive_data_model_id
|
351
|
+
__args__['sensitiveTypeGroupId'] = sensitive_type_group_id
|
352
|
+
__args__['sensitiveTypeIds'] = sensitive_type_ids
|
353
|
+
__args__['targetId'] = target_id
|
354
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
355
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSensitiveColumnAnalytics:getSensitiveColumnAnalytics', __args__, opts=opts, typ=GetSensitiveColumnAnalyticsResult)
|
356
|
+
return __ret__.apply(lambda __response__: GetSensitiveColumnAnalyticsResult(
|
357
|
+
access_level=pulumi.get(__response__, 'access_level'),
|
358
|
+
column_names=pulumi.get(__response__, 'column_names'),
|
359
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
360
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
361
|
+
filters=pulumi.get(__response__, 'filters'),
|
362
|
+
group_bies=pulumi.get(__response__, 'group_bies'),
|
363
|
+
id=pulumi.get(__response__, 'id'),
|
364
|
+
objects=pulumi.get(__response__, 'objects'),
|
365
|
+
schema_names=pulumi.get(__response__, 'schema_names'),
|
366
|
+
sensitive_column_analytics_collections=pulumi.get(__response__, 'sensitive_column_analytics_collections'),
|
367
|
+
sensitive_data_model_id=pulumi.get(__response__, 'sensitive_data_model_id'),
|
368
|
+
sensitive_type_group_id=pulumi.get(__response__, 'sensitive_type_group_id'),
|
369
|
+
sensitive_type_ids=pulumi.get(__response__, 'sensitive_type_ids'),
|
370
|
+
target_id=pulumi.get(__response__, 'target_id')))
|
@@ -27,7 +27,7 @@ class GetSensitiveDataModelResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getSensitiveDataModel.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, app_suite_name=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_app_defined_relation_discovery_enabled=None, is_include_all_schemas=None, is_include_all_sensitive_types=None, is_sample_data_collection_enabled=None, schemas_for_discoveries=None, sensitive_data_model_id=None, sensitive_type_ids_for_discoveries=None, state=None, system_tags=None, tables_for_discoveries=None, target_id=None, time_created=None, time_updated=None):
|
30
|
+
def __init__(__self__, app_suite_name=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_app_defined_relation_discovery_enabled=None, is_include_all_schemas=None, is_include_all_sensitive_types=None, is_sample_data_collection_enabled=None, schemas_for_discoveries=None, sensitive_data_model_id=None, sensitive_type_group_ids_for_discoveries=None, sensitive_type_ids_for_discoveries=None, state=None, system_tags=None, tables_for_discoveries=None, target_id=None, time_created=None, time_updated=None):
|
31
31
|
if app_suite_name and not isinstance(app_suite_name, str):
|
32
32
|
raise TypeError("Expected argument 'app_suite_name' to be a str")
|
33
33
|
pulumi.set(__self__, "app_suite_name", app_suite_name)
|
@@ -67,6 +67,9 @@ class GetSensitiveDataModelResult:
|
|
67
67
|
if sensitive_data_model_id and not isinstance(sensitive_data_model_id, str):
|
68
68
|
raise TypeError("Expected argument 'sensitive_data_model_id' to be a str")
|
69
69
|
pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
|
70
|
+
if sensitive_type_group_ids_for_discoveries and not isinstance(sensitive_type_group_ids_for_discoveries, list):
|
71
|
+
raise TypeError("Expected argument 'sensitive_type_group_ids_for_discoveries' to be a list")
|
72
|
+
pulumi.set(__self__, "sensitive_type_group_ids_for_discoveries", sensitive_type_group_ids_for_discoveries)
|
70
73
|
if sensitive_type_ids_for_discoveries and not isinstance(sensitive_type_ids_for_discoveries, list):
|
71
74
|
raise TypeError("Expected argument 'sensitive_type_ids_for_discoveries' to be a list")
|
72
75
|
pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries)
|
@@ -190,6 +193,14 @@ class GetSensitiveDataModelResult:
|
|
190
193
|
def sensitive_data_model_id(self) -> str:
|
191
194
|
return pulumi.get(self, "sensitive_data_model_id")
|
192
195
|
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="sensitiveTypeGroupIdsForDiscoveries")
|
198
|
+
def sensitive_type_group_ids_for_discoveries(self) -> Sequence[str]:
|
199
|
+
"""
|
200
|
+
The OCIDs of the sensitive type groups to be used by data discovery jobs.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "sensitive_type_group_ids_for_discoveries")
|
203
|
+
|
193
204
|
@property
|
194
205
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
195
206
|
def sensitive_type_ids_for_discoveries(self) -> Sequence[str]:
|
@@ -266,6 +277,7 @@ class AwaitableGetSensitiveDataModelResult(GetSensitiveDataModelResult):
|
|
266
277
|
is_sample_data_collection_enabled=self.is_sample_data_collection_enabled,
|
267
278
|
schemas_for_discoveries=self.schemas_for_discoveries,
|
268
279
|
sensitive_data_model_id=self.sensitive_data_model_id,
|
280
|
+
sensitive_type_group_ids_for_discoveries=self.sensitive_type_group_ids_for_discoveries,
|
269
281
|
sensitive_type_ids_for_discoveries=self.sensitive_type_ids_for_discoveries,
|
270
282
|
state=self.state,
|
271
283
|
system_tags=self.system_tags,
|
@@ -313,6 +325,7 @@ def get_sensitive_data_model(sensitive_data_model_id: Optional[str] = None,
|
|
313
325
|
is_sample_data_collection_enabled=pulumi.get(__ret__, 'is_sample_data_collection_enabled'),
|
314
326
|
schemas_for_discoveries=pulumi.get(__ret__, 'schemas_for_discoveries'),
|
315
327
|
sensitive_data_model_id=pulumi.get(__ret__, 'sensitive_data_model_id'),
|
328
|
+
sensitive_type_group_ids_for_discoveries=pulumi.get(__ret__, 'sensitive_type_group_ids_for_discoveries'),
|
316
329
|
sensitive_type_ids_for_discoveries=pulumi.get(__ret__, 'sensitive_type_ids_for_discoveries'),
|
317
330
|
state=pulumi.get(__ret__, 'state'),
|
318
331
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
@@ -357,6 +370,7 @@ def get_sensitive_data_model_output(sensitive_data_model_id: Optional[pulumi.Inp
|
|
357
370
|
is_sample_data_collection_enabled=pulumi.get(__response__, 'is_sample_data_collection_enabled'),
|
358
371
|
schemas_for_discoveries=pulumi.get(__response__, 'schemas_for_discoveries'),
|
359
372
|
sensitive_data_model_id=pulumi.get(__response__, 'sensitive_data_model_id'),
|
373
|
+
sensitive_type_group_ids_for_discoveries=pulumi.get(__response__, 'sensitive_type_group_ids_for_discoveries'),
|
360
374
|
sensitive_type_ids_for_discoveries=pulumi.get(__response__, 'sensitive_type_ids_for_discoveries'),
|
361
375
|
state=pulumi.get(__response__, 'state'),
|
362
376
|
system_tags=pulumi.get(__response__, 'system_tags'),
|