pulumi-oci 2.4.0__py3-none-any.whl → 2.4.0a1721890421__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 +0 -19
- pulumi_oci/apmsynthetics/_inputs.py +1 -457
- pulumi_oci/apmsynthetics/config.py +7 -172
- pulumi_oci/apmsynthetics/get_monitor.py +3 -42
- pulumi_oci/apmsynthetics/get_monitors.py +2 -2
- pulumi_oci/apmsynthetics/outputs.py +9 -1129
- pulumi_oci/core/_inputs.py +8 -8
- pulumi_oci/core/outputs.py +8 -24
- pulumi_oci/database/_inputs.py +0 -16
- pulumi_oci/database/autonomous_database.py +9 -83
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +25 -7
- pulumi_oci/database/cloud_exadata_infrastructure.py +17 -66
- pulumi_oci/database/cloud_vm_cluster.py +0 -49
- pulumi_oci/database/database.py +96 -0
- pulumi_oci/database/get_autonomous_database.py +1 -25
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_cloud_vm_cluster.py +1 -14
- pulumi_oci/database/get_key_store.py +1 -11
- pulumi_oci/database/key_store.py +0 -34
- pulumi_oci/database/outputs.py +0 -93
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/datasafe/_inputs.py +0 -130
- pulumi_oci/datasafe/discovery_mod.py +38 -67
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_discovery_job.py +1 -15
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_definition.py +1 -1
- pulumi_oci/datasafe/get_reports.py +1 -43
- pulumi_oci/datasafe/get_security_assessment.py +1 -14
- pulumi_oci/datasafe/get_security_assessment_finding.py +3 -16
- pulumi_oci/datasafe/get_security_assessment_findings.py +3 -21
- pulumi_oci/datasafe/get_sensitive_data_model.py +1 -15
- pulumi_oci/datasafe/get_user_assessment.py +1 -14
- pulumi_oci/datasafe/outputs.py +6 -530
- pulumi_oci/datasafe/report.py +4 -4
- pulumi_oci/datasafe/report_definition.py +4 -4
- pulumi_oci/datasafe/security_assessment.py +0 -49
- pulumi_oci/datasafe/sensitive_data_model.py +3 -60
- pulumi_oci/datasafe/unset_security_assessment_baseline.py +16 -69
- pulumi_oci/datasafe/unset_user_assessment_baseline.py +5 -58
- pulumi_oci/datasafe/user_assessment.py +0 -49
- pulumi_oci/integration/_inputs.py +2 -0
- pulumi_oci/integration/get_integration_instance.py +1 -0
- pulumi_oci/integration/integration_instance.py +27 -0
- pulumi_oci/integration/outputs.py +12 -4
- pulumi_oci/opsi/_inputs.py +8 -8
- pulumi_oci/opsi/database_insight.py +15 -71
- pulumi_oci/opsi/get_database_insight.py +3 -29
- pulumi_oci/opsi/get_database_insights.py +1 -1
- pulumi_oci/opsi/get_enterprise_manager_bridges.py +2 -2
- pulumi_oci/opsi/get_host_insight.py +4 -1
- pulumi_oci/opsi/get_host_insights.py +3 -3
- pulumi_oci/opsi/get_news_report.py +1 -1
- pulumi_oci/opsi/get_news_reports.py +3 -3
- pulumi_oci/opsi/get_operations_insights_private_endpoint.py +1 -1
- pulumi_oci/opsi/get_operations_insights_private_endpoints.py +1 -1
- pulumi_oci/opsi/get_operations_insights_warehouse.py +7 -7
- pulumi_oci/opsi/get_operations_insights_warehouse_user.py +2 -2
- pulumi_oci/opsi/get_operations_insights_warehouses.py +5 -5
- pulumi_oci/opsi/host_insight.py +14 -6
- pulumi_oci/opsi/news_report.py +2 -2
- pulumi_oci/opsi/operations_insights_private_endpoint.py +9 -9
- pulumi_oci/opsi/operations_insights_warehouse.py +17 -17
- pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py +14 -14
- pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py +7 -7
- pulumi_oci/opsi/operations_insights_warehouse_user.py +14 -14
- pulumi_oci/opsi/outputs.py +24 -46
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.4.0.dist-info → pulumi_oci-2.4.0a1721890421.dist-info}/METADATA +1 -1
- {pulumi_oci-2.4.0.dist-info → pulumi_oci-2.4.0a1721890421.dist-info}/RECORD +72 -82
- pulumi_oci/datasafe/get_sensitive_data_model_sensitive_types.py +0 -153
- pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -300
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -742
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
- {pulumi_oci-2.4.0.dist-info → pulumi_oci-2.4.0a1721890421.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.4.0.dist-info → pulumi_oci-2.4.0a1721890421.dist-info}/top_level.txt +0 -0
@@ -8,8 +8,6 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
-
from . import outputs
|
12
|
-
from ._inputs import *
|
13
11
|
|
14
12
|
__all__ = ['DiscoveryModArgs', 'DiscoveryMod']
|
15
13
|
|
@@ -27,8 +25,7 @@ class DiscoveryModArgs:
|
|
27
25
|
is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None,
|
28
26
|
is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None,
|
29
27
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
|
-
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
31
|
-
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]] = None):
|
28
|
+
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
32
29
|
"""
|
33
30
|
The set of arguments for constructing a DiscoveryMod resource.
|
34
31
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the discovery job resource should be created.
|
@@ -42,8 +39,11 @@ class DiscoveryModArgs:
|
|
42
39
|
:param pulumi.Input[bool] is_include_all_sensitive_types: Indicates if all the existing sensitive types should be used by the discovery job. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery. If both attributes are not provided, the configuration from the sensitive data model is used.
|
43
40
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
44
41
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
46
|
-
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
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
|
47
47
|
"""
|
48
48
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
49
49
|
pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id)
|
@@ -67,8 +67,6 @@ class DiscoveryModArgs:
|
|
67
67
|
pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries)
|
68
68
|
if sensitive_type_ids_for_discoveries is not None:
|
69
69
|
pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries)
|
70
|
-
if tables_for_discoveries is not None:
|
71
|
-
pulumi.set(__self__, "tables_for_discoveries", tables_for_discoveries)
|
72
70
|
|
73
71
|
@property
|
74
72
|
@pulumi.getter(name="compartmentId")
|
@@ -206,7 +204,11 @@ class DiscoveryModArgs:
|
|
206
204
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
207
205
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
208
206
|
"""
|
209
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
207
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
208
|
+
|
209
|
+
|
210
|
+
** IMPORTANT **
|
211
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
210
212
|
"""
|
211
213
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
212
214
|
|
@@ -214,18 +216,6 @@ class DiscoveryModArgs:
|
|
214
216
|
def sensitive_type_ids_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
215
217
|
pulumi.set(self, "sensitive_type_ids_for_discoveries", value)
|
216
218
|
|
217
|
-
@property
|
218
|
-
@pulumi.getter(name="tablesForDiscoveries")
|
219
|
-
def tables_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]:
|
220
|
-
"""
|
221
|
-
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
222
|
-
"""
|
223
|
-
return pulumi.get(self, "tables_for_discoveries")
|
224
|
-
|
225
|
-
@tables_for_discoveries.setter
|
226
|
-
def tables_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]):
|
227
|
-
pulumi.set(self, "tables_for_discoveries", value)
|
228
|
-
|
229
219
|
|
230
220
|
@pulumi.input_type
|
231
221
|
class _DiscoveryModState:
|
@@ -244,7 +234,6 @@ class _DiscoveryModState:
|
|
244
234
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
245
235
|
state: Optional[pulumi.Input[str]] = None,
|
246
236
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
247
|
-
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]] = None,
|
248
237
|
target_id: Optional[pulumi.Input[str]] = None,
|
249
238
|
time_finished: Optional[pulumi.Input[str]] = None,
|
250
239
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -267,10 +256,13 @@ class _DiscoveryModState:
|
|
267
256
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
268
257
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
269
258
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
270
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
259
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
260
|
+
|
261
|
+
|
262
|
+
** IMPORTANT **
|
263
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
271
264
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
272
265
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
273
|
-
:param pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
274
266
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
275
267
|
:param pulumi.Input[str] time_finished: The date and time the discovery job finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)..
|
276
268
|
:param pulumi.Input[str] time_started: The date and time the discovery job started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
@@ -309,8 +301,6 @@ class _DiscoveryModState:
|
|
309
301
|
pulumi.set(__self__, "state", state)
|
310
302
|
if system_tags is not None:
|
311
303
|
pulumi.set(__self__, "system_tags", system_tags)
|
312
|
-
if tables_for_discoveries is not None:
|
313
|
-
pulumi.set(__self__, "tables_for_discoveries", tables_for_discoveries)
|
314
304
|
if target_id is not None:
|
315
305
|
pulumi.set(__self__, "target_id", target_id)
|
316
306
|
if time_finished is not None:
|
@@ -466,7 +456,11 @@ class _DiscoveryModState:
|
|
466
456
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
467
457
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
468
458
|
"""
|
469
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
459
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
460
|
+
|
461
|
+
|
462
|
+
** IMPORTANT **
|
463
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
470
464
|
"""
|
471
465
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
472
466
|
|
@@ -498,18 +492,6 @@ class _DiscoveryModState:
|
|
498
492
|
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
499
493
|
pulumi.set(self, "system_tags", value)
|
500
494
|
|
501
|
-
@property
|
502
|
-
@pulumi.getter(name="tablesForDiscoveries")
|
503
|
-
def tables_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]:
|
504
|
-
"""
|
505
|
-
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
506
|
-
"""
|
507
|
-
return pulumi.get(self, "tables_for_discoveries")
|
508
|
-
|
509
|
-
@tables_for_discoveries.setter
|
510
|
-
def tables_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]]):
|
511
|
-
pulumi.set(self, "tables_for_discoveries", value)
|
512
|
-
|
513
495
|
@property
|
514
496
|
@pulumi.getter(name="targetId")
|
515
497
|
def target_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -636,7 +618,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
636
618
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
637
619
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
638
620
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
639
|
-
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
640
621
|
__props__=None):
|
641
622
|
"""
|
642
623
|
This resource provides the Discovery Job resource in Oracle Cloud Infrastructure Data Safe service.
|
@@ -669,11 +650,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
669
650
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
670
651
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
671
652
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
672
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery
|
673
|
-
tables_for_discoveries=[oci.data_safe.DiscoveryModTablesForDiscoveryArgs(
|
674
|
-
schema_name=discovery_job_tables_for_discovery_schema_name,
|
675
|
-
table_names=discovery_job_tables_for_discovery_table_names,
|
676
|
-
)])
|
653
|
+
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery)
|
677
654
|
```
|
678
655
|
|
679
656
|
## Import
|
@@ -697,8 +674,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
697
674
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
698
675
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
699
676
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
700
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
701
|
-
|
677
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
678
|
+
|
679
|
+
|
680
|
+
** IMPORTANT **
|
681
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
702
682
|
"""
|
703
683
|
...
|
704
684
|
@overload
|
@@ -737,11 +717,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
737
717
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
738
718
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
739
719
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
740
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery
|
741
|
-
tables_for_discoveries=[oci.data_safe.DiscoveryModTablesForDiscoveryArgs(
|
742
|
-
schema_name=discovery_job_tables_for_discovery_schema_name,
|
743
|
-
table_names=discovery_job_tables_for_discovery_table_names,
|
744
|
-
)])
|
720
|
+
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_for_discovery)
|
745
721
|
```
|
746
722
|
|
747
723
|
## Import
|
@@ -779,7 +755,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
779
755
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
780
756
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
781
757
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
782
|
-
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
783
758
|
__props__=None):
|
784
759
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
785
760
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -805,7 +780,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
805
780
|
raise TypeError("Missing required property 'sensitive_data_model_id'")
|
806
781
|
__props__.__dict__["sensitive_data_model_id"] = sensitive_data_model_id
|
807
782
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
808
|
-
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
809
783
|
__props__.__dict__["state"] = None
|
810
784
|
__props__.__dict__["system_tags"] = None
|
811
785
|
__props__.__dict__["target_id"] = None
|
@@ -841,7 +815,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
841
815
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
842
816
|
state: Optional[pulumi.Input[str]] = None,
|
843
817
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
844
|
-
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
845
818
|
target_id: Optional[pulumi.Input[str]] = None,
|
846
819
|
time_finished: Optional[pulumi.Input[str]] = None,
|
847
820
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -869,10 +842,13 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
869
842
|
:param pulumi.Input[bool] is_sample_data_collection_enabled: Indicates if the discovery job should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
|
870
843
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: The schemas to be scanned by the discovery job. If not provided, the schemasForDiscovery attribute of the sensitive data model is used to get the list of schemas.
|
871
844
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
872
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
845
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
846
|
+
|
847
|
+
|
848
|
+
** IMPORTANT **
|
849
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
873
850
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
874
851
|
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
875
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]] tables_for_discoveries: The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
876
852
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
877
853
|
:param pulumi.Input[str] time_finished: The date and time the discovery job finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)..
|
878
854
|
:param pulumi.Input[str] time_started: The date and time the discovery job started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
@@ -901,7 +877,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
901
877
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
902
878
|
__props__.__dict__["state"] = state
|
903
879
|
__props__.__dict__["system_tags"] = system_tags
|
904
|
-
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
905
880
|
__props__.__dict__["target_id"] = target_id
|
906
881
|
__props__.__dict__["time_finished"] = time_finished
|
907
882
|
__props__.__dict__["time_started"] = time_started
|
@@ -1005,7 +980,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
1005
980
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
1006
981
|
def sensitive_type_ids_for_discoveries(self) -> pulumi.Output[Sequence[str]]:
|
1007
982
|
"""
|
1008
|
-
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
983
|
+
The OCIDs of the sensitive types to be used by the discovery job. If not provided, the sensitiveTypeIdsForDiscovery attribute of the sensitive data model is used to get the list of sensitive types.
|
984
|
+
|
985
|
+
|
986
|
+
** IMPORTANT **
|
987
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1009
988
|
"""
|
1010
989
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
1011
990
|
|
@@ -1025,14 +1004,6 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
1025
1004
|
"""
|
1026
1005
|
return pulumi.get(self, "system_tags")
|
1027
1006
|
|
1028
|
-
@property
|
1029
|
-
@pulumi.getter(name="tablesForDiscoveries")
|
1030
|
-
def tables_for_discoveries(self) -> pulumi.Output[Sequence['outputs.DiscoveryModTablesForDiscovery']]:
|
1031
|
-
"""
|
1032
|
-
The data discovery jobs will scan the tables specified here, including both schemas and tables. In the absence of explicit input, the list of tables is obtained from the tablesForDiscovery attribute of the sensitive data model.
|
1033
|
-
"""
|
1034
|
-
return pulumi.get(self, "tables_for_discoveries")
|
1035
|
-
|
1036
1007
|
@property
|
1037
1008
|
@pulumi.getter(name="targetId")
|
1038
1009
|
def target_id(self) -> pulumi.Output[str]:
|
@@ -147,7 +147,7 @@ def get_audit_events(access_level: Optional[str] = None,
|
|
147
147
|
: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.
|
148
148
|
:param str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
|
149
149
|
|
150
|
-
**Example:** (operationTime ge
|
150
|
+
**Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON')
|
151
151
|
"""
|
152
152
|
__args__ = dict()
|
153
153
|
__args__['accessLevel'] = access_level
|
@@ -210,6 +210,6 @@ def get_audit_events_output(access_level: Optional[pulumi.Input[Optional[str]]]
|
|
210
210
|
: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.
|
211
211
|
:param str scim_query: The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
|
212
212
|
|
213
|
-
**Example:** (operationTime ge
|
213
|
+
**Example:** query=(operationTime ge '2021-06-04T01-00-26') and (eventName eq 'LOGON')
|
214
214
|
"""
|
215
215
|
...
|
@@ -8,7 +8,6 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
-
from . import outputs
|
12
11
|
|
13
12
|
__all__ = [
|
14
13
|
'GetDiscoveryJobResult',
|
@@ -22,7 +21,7 @@ class GetDiscoveryJobResult:
|
|
22
21
|
"""
|
23
22
|
A collection of values returned by getDiscoveryJob.
|
24
23
|
"""
|
25
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, discovery_job_id=None, discovery_type=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,
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, discovery_job_id=None, discovery_type=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, target_id=None, time_finished=None, time_started=None, total_columns_scanned=None, total_deleted_sensitive_columns=None, total_modified_sensitive_columns=None, total_new_sensitive_columns=None, total_objects_scanned=None, total_schemas_scanned=None):
|
26
25
|
if compartment_id and not isinstance(compartment_id, str):
|
27
26
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
27
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -71,9 +70,6 @@ class GetDiscoveryJobResult:
|
|
71
70
|
if system_tags and not isinstance(system_tags, dict):
|
72
71
|
raise TypeError("Expected argument 'system_tags' to be a dict")
|
73
72
|
pulumi.set(__self__, "system_tags", system_tags)
|
74
|
-
if tables_for_discoveries and not isinstance(tables_for_discoveries, list):
|
75
|
-
raise TypeError("Expected argument 'tables_for_discoveries' to be a list")
|
76
|
-
pulumi.set(__self__, "tables_for_discoveries", tables_for_discoveries)
|
77
73
|
if target_id and not isinstance(target_id, str):
|
78
74
|
raise TypeError("Expected argument 'target_id' to be a str")
|
79
75
|
pulumi.set(__self__, "target_id", target_id)
|
@@ -227,14 +223,6 @@ class GetDiscoveryJobResult:
|
|
227
223
|
"""
|
228
224
|
return pulumi.get(self, "system_tags")
|
229
225
|
|
230
|
-
@property
|
231
|
-
@pulumi.getter(name="tablesForDiscoveries")
|
232
|
-
def tables_for_discoveries(self) -> Sequence['outputs.GetDiscoveryJobTablesForDiscoveryResult']:
|
233
|
-
"""
|
234
|
-
The data discovery jobs will scan the tables specified here, including both schemas and tables.
|
235
|
-
"""
|
236
|
-
return pulumi.get(self, "tables_for_discoveries")
|
237
|
-
|
238
226
|
@property
|
239
227
|
@pulumi.getter(name="targetId")
|
240
228
|
def target_id(self) -> str:
|
@@ -330,7 +318,6 @@ class AwaitableGetDiscoveryJobResult(GetDiscoveryJobResult):
|
|
330
318
|
sensitive_type_ids_for_discoveries=self.sensitive_type_ids_for_discoveries,
|
331
319
|
state=self.state,
|
332
320
|
system_tags=self.system_tags,
|
333
|
-
tables_for_discoveries=self.tables_for_discoveries,
|
334
321
|
target_id=self.target_id,
|
335
322
|
time_finished=self.time_finished,
|
336
323
|
time_started=self.time_started,
|
@@ -383,7 +370,6 @@ def get_discovery_job(discovery_job_id: Optional[str] = None,
|
|
383
370
|
sensitive_type_ids_for_discoveries=pulumi.get(__ret__, 'sensitive_type_ids_for_discoveries'),
|
384
371
|
state=pulumi.get(__ret__, 'state'),
|
385
372
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
386
|
-
tables_for_discoveries=pulumi.get(__ret__, 'tables_for_discoveries'),
|
387
373
|
target_id=pulumi.get(__ret__, 'target_id'),
|
388
374
|
time_finished=pulumi.get(__ret__, 'time_finished'),
|
389
375
|
time_started=pulumi.get(__ret__, 'time_started'),
|
@@ -114,7 +114,7 @@ class GetReportResult:
|
|
114
114
|
@pulumi.getter(name="mimeType")
|
115
115
|
def mime_type(self) -> str:
|
116
116
|
"""
|
117
|
-
Specifies the format of report to be .xls or .pdf
|
117
|
+
Specifies the format of report to be .xls or .pdf
|
118
118
|
"""
|
119
119
|
return pulumi.get(self, "mime_type")
|
120
120
|
|
@@ -261,7 +261,7 @@ class GetReportDefinitionResult:
|
|
261
261
|
@pulumi.getter(name="scheduledReportMimeType")
|
262
262
|
def scheduled_report_mime_type(self) -> str:
|
263
263
|
"""
|
264
|
-
Specifies the format of the report ( either .xls or .pdf
|
264
|
+
Specifies the format of the report ( either .xls or .pdf )
|
265
265
|
"""
|
266
266
|
return pulumi.get(self, "scheduled_report_mime_type")
|
267
267
|
|
@@ -23,7 +23,7 @@ class GetReportsResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getReports.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, report_collections=None, report_definition_id=None, state=None,
|
26
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, report_collections=None, report_definition_id=None, state=None, type=None):
|
27
27
|
if access_level and not isinstance(access_level, str):
|
28
28
|
raise TypeError("Expected argument 'access_level' to be a str")
|
29
29
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -51,12 +51,6 @@ class GetReportsResult:
|
|
51
51
|
if state and not isinstance(state, str):
|
52
52
|
raise TypeError("Expected argument 'state' to be a str")
|
53
53
|
pulumi.set(__self__, "state", state)
|
54
|
-
if time_generated_greater_than_or_equal_to and not isinstance(time_generated_greater_than_or_equal_to, str):
|
55
|
-
raise TypeError("Expected argument 'time_generated_greater_than_or_equal_to' to be a str")
|
56
|
-
pulumi.set(__self__, "time_generated_greater_than_or_equal_to", time_generated_greater_than_or_equal_to)
|
57
|
-
if time_generated_less_than and not isinstance(time_generated_less_than, str):
|
58
|
-
raise TypeError("Expected argument 'time_generated_less_than' to be a str")
|
59
|
-
pulumi.set(__self__, "time_generated_less_than", time_generated_less_than)
|
60
54
|
if type and not isinstance(type, str):
|
61
55
|
raise TypeError("Expected argument 'type' to be a str")
|
62
56
|
pulumi.set(__self__, "type", type)
|
@@ -124,16 +118,6 @@ class GetReportsResult:
|
|
124
118
|
"""
|
125
119
|
return pulumi.get(self, "state")
|
126
120
|
|
127
|
-
@property
|
128
|
-
@pulumi.getter(name="timeGeneratedGreaterThanOrEqualTo")
|
129
|
-
def time_generated_greater_than_or_equal_to(self) -> Optional[str]:
|
130
|
-
return pulumi.get(self, "time_generated_greater_than_or_equal_to")
|
131
|
-
|
132
|
-
@property
|
133
|
-
@pulumi.getter(name="timeGeneratedLessThan")
|
134
|
-
def time_generated_less_than(self) -> Optional[str]:
|
135
|
-
return pulumi.get(self, "time_generated_less_than")
|
136
|
-
|
137
121
|
@property
|
138
122
|
@pulumi.getter
|
139
123
|
def type(self) -> Optional[str]:
|
@@ -158,8 +142,6 @@ class AwaitableGetReportsResult(GetReportsResult):
|
|
158
142
|
report_collections=self.report_collections,
|
159
143
|
report_definition_id=self.report_definition_id,
|
160
144
|
state=self.state,
|
161
|
-
time_generated_greater_than_or_equal_to=self.time_generated_greater_than_or_equal_to,
|
162
|
-
time_generated_less_than=self.time_generated_less_than,
|
163
145
|
type=self.type)
|
164
146
|
|
165
147
|
|
@@ -170,8 +152,6 @@ def get_reports(access_level: Optional[str] = None,
|
|
170
152
|
filters: Optional[Sequence[pulumi.InputType['GetReportsFilterArgs']]] = None,
|
171
153
|
report_definition_id: Optional[str] = None,
|
172
154
|
state: Optional[str] = None,
|
173
|
-
time_generated_greater_than_or_equal_to: Optional[str] = None,
|
174
|
-
time_generated_less_than: Optional[str] = None,
|
175
155
|
type: Optional[str] = None,
|
176
156
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReportsResult:
|
177
157
|
"""
|
@@ -191,8 +171,6 @@ def get_reports(access_level: Optional[str] = None,
|
|
191
171
|
display_name=report_display_name,
|
192
172
|
report_definition_id=test_report_definition["id"],
|
193
173
|
state=report_state,
|
194
|
-
time_generated_greater_than_or_equal_to=report_time_generated_greater_than_or_equal_to,
|
195
|
-
time_generated_less_than=report_time_generated_less_than,
|
196
174
|
type=report_type)
|
197
175
|
```
|
198
176
|
|
@@ -203,12 +181,6 @@ def get_reports(access_level: Optional[str] = None,
|
|
203
181
|
:param str display_name: The name of the report definition to query.
|
204
182
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
205
183
|
:param str state: An optional filter to return only resources that match the specified lifecycle state.
|
206
|
-
:param str time_generated_greater_than_or_equal_to: A filter to return only the resources that were generated after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after that date.
|
207
|
-
|
208
|
-
**Example:** 2016-12-19T16:39:57.600Z
|
209
|
-
:param str time_generated_less_than: Search for resources that were generated before a specific date. Specifying this parameter corresponding `timeGeneratedLessThan` parameter will retrieve all resources generated before the specified generated date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
210
|
-
|
211
|
-
**Example:** 2016-12-19T16:39:57.600Z
|
212
184
|
:param str type: An optional filter to return only resources that match the specified type.
|
213
185
|
"""
|
214
186
|
__args__ = dict()
|
@@ -219,8 +191,6 @@ def get_reports(access_level: Optional[str] = None,
|
|
219
191
|
__args__['filters'] = filters
|
220
192
|
__args__['reportDefinitionId'] = report_definition_id
|
221
193
|
__args__['state'] = state
|
222
|
-
__args__['timeGeneratedGreaterThanOrEqualTo'] = time_generated_greater_than_or_equal_to
|
223
|
-
__args__['timeGeneratedLessThan'] = time_generated_less_than
|
224
194
|
__args__['type'] = type
|
225
195
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
226
196
|
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getReports:getReports', __args__, opts=opts, typ=GetReportsResult).value
|
@@ -235,8 +205,6 @@ def get_reports(access_level: Optional[str] = None,
|
|
235
205
|
report_collections=pulumi.get(__ret__, 'report_collections'),
|
236
206
|
report_definition_id=pulumi.get(__ret__, 'report_definition_id'),
|
237
207
|
state=pulumi.get(__ret__, 'state'),
|
238
|
-
time_generated_greater_than_or_equal_to=pulumi.get(__ret__, 'time_generated_greater_than_or_equal_to'),
|
239
|
-
time_generated_less_than=pulumi.get(__ret__, 'time_generated_less_than'),
|
240
208
|
type=pulumi.get(__ret__, 'type'))
|
241
209
|
|
242
210
|
|
@@ -248,8 +216,6 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
248
216
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetReportsFilterArgs']]]]] = None,
|
249
217
|
report_definition_id: Optional[pulumi.Input[Optional[str]]] = None,
|
250
218
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
251
|
-
time_generated_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
252
|
-
time_generated_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
253
219
|
type: Optional[pulumi.Input[Optional[str]]] = None,
|
254
220
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReportsResult]:
|
255
221
|
"""
|
@@ -269,8 +235,6 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
269
235
|
display_name=report_display_name,
|
270
236
|
report_definition_id=test_report_definition["id"],
|
271
237
|
state=report_state,
|
272
|
-
time_generated_greater_than_or_equal_to=report_time_generated_greater_than_or_equal_to,
|
273
|
-
time_generated_less_than=report_time_generated_less_than,
|
274
238
|
type=report_type)
|
275
239
|
```
|
276
240
|
|
@@ -281,12 +245,6 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
281
245
|
:param str display_name: The name of the report definition to query.
|
282
246
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
283
247
|
:param str state: An optional filter to return only resources that match the specified lifecycle state.
|
284
|
-
:param str time_generated_greater_than_or_equal_to: A filter to return only the resources that were generated after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeGeneratedGreaterThanOrEqualToQueryParam parameter retrieves all resources generated after that date.
|
285
|
-
|
286
|
-
**Example:** 2016-12-19T16:39:57.600Z
|
287
|
-
:param str time_generated_less_than: Search for resources that were generated before a specific date. Specifying this parameter corresponding `timeGeneratedLessThan` parameter will retrieve all resources generated before the specified generated date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
288
|
-
|
289
|
-
**Example:** 2016-12-19T16:39:57.600Z
|
290
248
|
:param str type: An optional filter to return only resources that match the specified type.
|
291
249
|
"""
|
292
250
|
...
|
@@ -22,7 +22,7 @@ class GetSecurityAssessmentResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getSecurityAssessment.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, ignored_assessment_ids=None, ignored_targets=None,
|
25
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, ignored_assessment_ids=None, ignored_targets=None, is_baseline=None, is_deviated_from_baseline=None, last_compared_baseline_id=None, lifecycle_details=None, link=None, schedule=None, schedule_security_assessment_id=None, security_assessment_id=None, state=None, statistics=None, system_tags=None, target_id=None, target_ids=None, target_version=None, time_created=None, time_last_assessed=None, time_updated=None, triggered_by=None, type=None):
|
26
26
|
if compartment_id and not isinstance(compartment_id, str):
|
27
27
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
28
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -47,9 +47,6 @@ class GetSecurityAssessmentResult:
|
|
47
47
|
if ignored_targets and not isinstance(ignored_targets, list):
|
48
48
|
raise TypeError("Expected argument 'ignored_targets' to be a list")
|
49
49
|
pulumi.set(__self__, "ignored_targets", ignored_targets)
|
50
|
-
if is_assessment_scheduled and not isinstance(is_assessment_scheduled, bool):
|
51
|
-
raise TypeError("Expected argument 'is_assessment_scheduled' to be a bool")
|
52
|
-
pulumi.set(__self__, "is_assessment_scheduled", is_assessment_scheduled)
|
53
50
|
if is_baseline and not isinstance(is_baseline, bool):
|
54
51
|
raise TypeError("Expected argument 'is_baseline' to be a bool")
|
55
52
|
pulumi.set(__self__, "is_baseline", is_baseline)
|
@@ -172,14 +169,6 @@ class GetSecurityAssessmentResult:
|
|
172
169
|
"""
|
173
170
|
return pulumi.get(self, "ignored_targets")
|
174
171
|
|
175
|
-
@property
|
176
|
-
@pulumi.getter(name="isAssessmentScheduled")
|
177
|
-
def is_assessment_scheduled(self) -> bool:
|
178
|
-
"""
|
179
|
-
Indicates whether the assessment is scheduled to run.
|
180
|
-
"""
|
181
|
-
return pulumi.get(self, "is_assessment_scheduled")
|
182
|
-
|
183
172
|
@property
|
184
173
|
@pulumi.getter(name="isBaseline")
|
185
174
|
def is_baseline(self) -> bool:
|
@@ -341,7 +330,6 @@ class AwaitableGetSecurityAssessmentResult(GetSecurityAssessmentResult):
|
|
341
330
|
id=self.id,
|
342
331
|
ignored_assessment_ids=self.ignored_assessment_ids,
|
343
332
|
ignored_targets=self.ignored_targets,
|
344
|
-
is_assessment_scheduled=self.is_assessment_scheduled,
|
345
333
|
is_baseline=self.is_baseline,
|
346
334
|
is_deviated_from_baseline=self.is_deviated_from_baseline,
|
347
335
|
last_compared_baseline_id=self.last_compared_baseline_id,
|
@@ -396,7 +384,6 @@ def get_security_assessment(security_assessment_id: Optional[str] = None,
|
|
396
384
|
id=pulumi.get(__ret__, 'id'),
|
397
385
|
ignored_assessment_ids=pulumi.get(__ret__, 'ignored_assessment_ids'),
|
398
386
|
ignored_targets=pulumi.get(__ret__, 'ignored_targets'),
|
399
|
-
is_assessment_scheduled=pulumi.get(__ret__, 'is_assessment_scheduled'),
|
400
387
|
is_baseline=pulumi.get(__ret__, 'is_baseline'),
|
401
388
|
is_deviated_from_baseline=pulumi.get(__ret__, 'is_deviated_from_baseline'),
|
402
389
|
last_compared_baseline_id=pulumi.get(__ret__, 'last_compared_baseline_id'),
|
@@ -23,7 +23,7 @@ class GetSecurityAssessmentFindingResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getSecurityAssessmentFinding.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, access_level=None, compartment_id_in_subtree=None, filters=None, finding_key=None, findings=None, id=None, is_top_finding=None, references=None, security_assessment_id=None, severity=None, state=None
|
26
|
+
def __init__(__self__, access_level=None, compartment_id_in_subtree=None, filters=None, finding_key=None, findings=None, id=None, is_top_finding=None, references=None, security_assessment_id=None, severity=None, state=None):
|
27
27
|
if access_level and not isinstance(access_level, str):
|
28
28
|
raise TypeError("Expected argument 'access_level' to be a str")
|
29
29
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -57,9 +57,6 @@ class GetSecurityAssessmentFindingResult:
|
|
57
57
|
if state and not isinstance(state, str):
|
58
58
|
raise TypeError("Expected argument 'state' to be a str")
|
59
59
|
pulumi.set(__self__, "state", state)
|
60
|
-
if target_id and not isinstance(target_id, str):
|
61
|
-
raise TypeError("Expected argument 'target_id' to be a str")
|
62
|
-
pulumi.set(__self__, "target_id", target_id)
|
63
60
|
|
64
61
|
@property
|
65
62
|
@pulumi.getter(name="accessLevel")
|
@@ -119,11 +116,6 @@ class GetSecurityAssessmentFindingResult:
|
|
119
116
|
def state(self) -> Optional[str]:
|
120
117
|
return pulumi.get(self, "state")
|
121
118
|
|
122
|
-
@property
|
123
|
-
@pulumi.getter(name="targetId")
|
124
|
-
def target_id(self) -> Optional[str]:
|
125
|
-
return pulumi.get(self, "target_id")
|
126
|
-
|
127
119
|
|
128
120
|
class AwaitableGetSecurityAssessmentFindingResult(GetSecurityAssessmentFindingResult):
|
129
121
|
# pylint: disable=using-constant-test
|
@@ -141,8 +133,7 @@ class AwaitableGetSecurityAssessmentFindingResult(GetSecurityAssessmentFindingRe
|
|
141
133
|
references=self.references,
|
142
134
|
security_assessment_id=self.security_assessment_id,
|
143
135
|
severity=self.severity,
|
144
|
-
state=self.state
|
145
|
-
target_id=self.target_id)
|
136
|
+
state=self.state)
|
146
137
|
|
147
138
|
|
148
139
|
def get_security_assessment_finding(access_level: Optional[str] = None,
|
@@ -154,7 +145,6 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
154
145
|
security_assessment_id: Optional[str] = None,
|
155
146
|
severity: Optional[str] = None,
|
156
147
|
state: Optional[str] = None,
|
157
|
-
target_id: Optional[str] = None,
|
158
148
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAssessmentFindingResult:
|
159
149
|
"""
|
160
150
|
Use this data source to access information about an existing resource.
|
@@ -169,7 +159,6 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
169
159
|
__args__['securityAssessmentId'] = security_assessment_id
|
170
160
|
__args__['severity'] = severity
|
171
161
|
__args__['state'] = state
|
172
|
-
__args__['targetId'] = target_id
|
173
162
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
174
163
|
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityAssessmentFinding:getSecurityAssessmentFinding', __args__, opts=opts, typ=GetSecurityAssessmentFindingResult).value
|
175
164
|
|
@@ -184,8 +173,7 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
184
173
|
references=pulumi.get(__ret__, 'references'),
|
185
174
|
security_assessment_id=pulumi.get(__ret__, 'security_assessment_id'),
|
186
175
|
severity=pulumi.get(__ret__, 'severity'),
|
187
|
-
state=pulumi.get(__ret__, 'state')
|
188
|
-
target_id=pulumi.get(__ret__, 'target_id'))
|
176
|
+
state=pulumi.get(__ret__, 'state'))
|
189
177
|
|
190
178
|
|
191
179
|
@_utilities.lift_output_func(get_security_assessment_finding)
|
@@ -198,7 +186,6 @@ def get_security_assessment_finding_output(access_level: Optional[pulumi.Input[O
|
|
198
186
|
security_assessment_id: Optional[pulumi.Input[str]] = None,
|
199
187
|
severity: Optional[pulumi.Input[Optional[str]]] = None,
|
200
188
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
201
|
-
target_id: Optional[pulumi.Input[Optional[str]]] = None,
|
202
189
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAssessmentFindingResult]:
|
203
190
|
"""
|
204
191
|
Use this data source to access information about an existing resource.
|