pulumi-oci 2.4.0a1721890421__py3-none-any.whl → 2.4.0a1721933648__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 +19 -0
- pulumi_oci/apmsynthetics/_inputs.py +457 -1
- pulumi_oci/apmsynthetics/config.py +172 -7
- pulumi_oci/apmsynthetics/get_monitor.py +42 -3
- pulumi_oci/apmsynthetics/get_monitors.py +2 -2
- pulumi_oci/apmsynthetics/outputs.py +1129 -9
- pulumi_oci/core/_inputs.py +8 -8
- pulumi_oci/core/outputs.py +24 -8
- pulumi_oci/database/_inputs.py +16 -0
- pulumi_oci/database/autonomous_database.py +83 -9
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +7 -25
- pulumi_oci/database/cloud_exadata_infrastructure.py +66 -17
- pulumi_oci/database/cloud_vm_cluster.py +49 -0
- pulumi_oci/database/database.py +0 -96
- pulumi_oci/database/get_autonomous_database.py +25 -1
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/get_key_store.py +11 -1
- pulumi_oci/database/key_store.py +34 -0
- pulumi_oci/database/outputs.py +93 -0
- pulumi_oci/datasafe/__init__.py +1 -0
- pulumi_oci/datasafe/_inputs.py +130 -0
- pulumi_oci/datasafe/discovery_mod.py +67 -38
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_definition.py +1 -1
- pulumi_oci/datasafe/get_reports.py +43 -1
- pulumi_oci/datasafe/get_security_assessment.py +14 -1
- pulumi_oci/datasafe/get_security_assessment_finding.py +16 -3
- pulumi_oci/datasafe/get_security_assessment_findings.py +21 -3
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_data_model_sensitive_types.py +153 -0
- pulumi_oci/datasafe/get_user_assessment.py +14 -1
- pulumi_oci/datasafe/outputs.py +530 -6
- pulumi_oci/datasafe/report.py +4 -4
- pulumi_oci/datasafe/report_definition.py +4 -4
- pulumi_oci/datasafe/security_assessment.py +49 -0
- pulumi_oci/datasafe/sensitive_data_model.py +60 -3
- pulumi_oci/datasafe/unset_security_assessment_baseline.py +69 -16
- pulumi_oci/datasafe/unset_user_assessment_baseline.py +58 -5
- pulumi_oci/datasafe/user_assessment.py +49 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/integration/_inputs.py +0 -2
- pulumi_oci/integration/get_integration_instance.py +0 -1
- pulumi_oci/integration/integration_instance.py +0 -27
- pulumi_oci/integration/outputs.py +4 -12
- pulumi_oci/opsi/_inputs.py +8 -8
- pulumi_oci/opsi/database_insight.py +71 -15
- pulumi_oci/opsi/get_database_insight.py +29 -3
- 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 +1 -4
- 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 +6 -14
- 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 +46 -24
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.4.0a1721890421.dist-info → pulumi_oci-2.4.0a1721933648.dist-info}/METADATA +1 -1
- {pulumi_oci-2.4.0a1721890421.dist-info → pulumi_oci-2.4.0a1721933648.dist-info}/RECORD +82 -72
- {pulumi_oci-2.4.0a1721890421.dist-info → pulumi_oci-2.4.0a1721933648.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.4.0a1721890421.dist-info → pulumi_oci-2.4.0a1721933648.dist-info}/top_level.txt +0 -0
@@ -8,6 +8,8 @@ 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 *
|
11
13
|
|
12
14
|
__all__ = ['DiscoveryModArgs', 'DiscoveryMod']
|
13
15
|
|
@@ -25,7 +27,8 @@ class DiscoveryModArgs:
|
|
25
27
|
is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None,
|
26
28
|
is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None,
|
27
29
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
-
sensitive_type_ids_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):
|
29
32
|
"""
|
30
33
|
The set of arguments for constructing a DiscoveryMod resource.
|
31
34
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the discovery job resource should be created.
|
@@ -39,11 +42,8 @@ class DiscoveryModArgs:
|
|
39
42
|
: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.
|
40
43
|
: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.
|
41
44
|
: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.
|
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
|
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
|
+
: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.
|
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,6 +67,8 @@ 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)
|
70
72
|
|
71
73
|
@property
|
72
74
|
@pulumi.getter(name="compartmentId")
|
@@ -204,11 +206,7 @@ class DiscoveryModArgs:
|
|
204
206
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
205
207
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
206
208
|
"""
|
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
|
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.
|
212
210
|
"""
|
213
211
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
214
212
|
|
@@ -216,6 +214,18 @@ class DiscoveryModArgs:
|
|
216
214
|
def sensitive_type_ids_for_discoveries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
217
215
|
pulumi.set(self, "sensitive_type_ids_for_discoveries", value)
|
218
216
|
|
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
|
+
|
219
229
|
|
220
230
|
@pulumi.input_type
|
221
231
|
class _DiscoveryModState:
|
@@ -234,6 +244,7 @@ class _DiscoveryModState:
|
|
234
244
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
235
245
|
state: Optional[pulumi.Input[str]] = None,
|
236
246
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
247
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryModTablesForDiscoveryArgs']]]] = None,
|
237
248
|
target_id: Optional[pulumi.Input[str]] = None,
|
238
249
|
time_finished: Optional[pulumi.Input[str]] = None,
|
239
250
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -256,13 +267,10 @@ class _DiscoveryModState:
|
|
256
267
|
: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.
|
257
268
|
: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.
|
258
269
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
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
|
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.
|
264
271
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
265
272
|
: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.
|
266
274
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
267
275
|
: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)..
|
268
276
|
: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).
|
@@ -301,6 +309,8 @@ class _DiscoveryModState:
|
|
301
309
|
pulumi.set(__self__, "state", state)
|
302
310
|
if system_tags is not None:
|
303
311
|
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)
|
304
314
|
if target_id is not None:
|
305
315
|
pulumi.set(__self__, "target_id", target_id)
|
306
316
|
if time_finished is not None:
|
@@ -456,11 +466,7 @@ class _DiscoveryModState:
|
|
456
466
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
457
467
|
def sensitive_type_ids_for_discoveries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
458
468
|
"""
|
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
|
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.
|
464
470
|
"""
|
465
471
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
466
472
|
|
@@ -492,6 +498,18 @@ class _DiscoveryModState:
|
|
492
498
|
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
493
499
|
pulumi.set(self, "system_tags", value)
|
494
500
|
|
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
|
+
|
495
513
|
@property
|
496
514
|
@pulumi.getter(name="targetId")
|
497
515
|
def target_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -618,6 +636,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
618
636
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
619
637
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
620
638
|
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,
|
621
640
|
__props__=None):
|
622
641
|
"""
|
623
642
|
This resource provides the Discovery Job resource in Oracle Cloud Infrastructure Data Safe service.
|
@@ -650,7 +669,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
650
669
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
651
670
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
652
671
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
653
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_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
|
+
)])
|
654
677
|
```
|
655
678
|
|
656
679
|
## Import
|
@@ -674,11 +697,8 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
674
697
|
: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.
|
675
698
|
: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.
|
676
699
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
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
|
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
|
+
: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.
|
682
702
|
"""
|
683
703
|
...
|
684
704
|
@overload
|
@@ -717,7 +737,11 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
717
737
|
is_include_all_sensitive_types=discovery_job_is_include_all_sensitive_types,
|
718
738
|
is_sample_data_collection_enabled=discovery_job_is_sample_data_collection_enabled,
|
719
739
|
schemas_for_discoveries=discovery_job_schemas_for_discovery,
|
720
|
-
sensitive_type_ids_for_discoveries=discovery_job_sensitive_type_ids_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
|
+
)])
|
721
745
|
```
|
722
746
|
|
723
747
|
## Import
|
@@ -755,6 +779,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
755
779
|
schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
756
780
|
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
|
757
781
|
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,
|
758
783
|
__props__=None):
|
759
784
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
760
785
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -780,6 +805,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
780
805
|
raise TypeError("Missing required property 'sensitive_data_model_id'")
|
781
806
|
__props__.__dict__["sensitive_data_model_id"] = sensitive_data_model_id
|
782
807
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
808
|
+
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
783
809
|
__props__.__dict__["state"] = None
|
784
810
|
__props__.__dict__["system_tags"] = None
|
785
811
|
__props__.__dict__["target_id"] = None
|
@@ -815,6 +841,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
815
841
|
sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
816
842
|
state: Optional[pulumi.Input[str]] = None,
|
817
843
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
844
|
+
tables_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DiscoveryModTablesForDiscoveryArgs']]]]] = None,
|
818
845
|
target_id: Optional[pulumi.Input[str]] = None,
|
819
846
|
time_finished: Optional[pulumi.Input[str]] = None,
|
820
847
|
time_started: Optional[pulumi.Input[str]] = None,
|
@@ -842,13 +869,10 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
842
869
|
: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.
|
843
870
|
: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.
|
844
871
|
:param pulumi.Input[str] sensitive_data_model_id: The OCID of the sensitive data model.
|
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
|
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.
|
850
873
|
:param pulumi.Input[str] state: The current state of the discovery job.
|
851
874
|
: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.
|
852
876
|
:param pulumi.Input[str] target_id: The OCID of the target database associated with the discovery job.
|
853
877
|
: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)..
|
854
878
|
: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).
|
@@ -877,6 +901,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
877
901
|
__props__.__dict__["sensitive_type_ids_for_discoveries"] = sensitive_type_ids_for_discoveries
|
878
902
|
__props__.__dict__["state"] = state
|
879
903
|
__props__.__dict__["system_tags"] = system_tags
|
904
|
+
__props__.__dict__["tables_for_discoveries"] = tables_for_discoveries
|
880
905
|
__props__.__dict__["target_id"] = target_id
|
881
906
|
__props__.__dict__["time_finished"] = time_finished
|
882
907
|
__props__.__dict__["time_started"] = time_started
|
@@ -980,11 +1005,7 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
980
1005
|
@pulumi.getter(name="sensitiveTypeIdsForDiscoveries")
|
981
1006
|
def sensitive_type_ids_for_discoveries(self) -> pulumi.Output[Sequence[str]]:
|
982
1007
|
"""
|
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
|
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.
|
988
1009
|
"""
|
989
1010
|
return pulumi.get(self, "sensitive_type_ids_for_discoveries")
|
990
1011
|
|
@@ -1004,6 +1025,14 @@ class DiscoveryMod(pulumi.CustomResource):
|
|
1004
1025
|
"""
|
1005
1026
|
return pulumi.get(self, "system_tags")
|
1006
1027
|
|
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
|
+
|
1007
1036
|
@property
|
1008
1037
|
@pulumi.getter(name="targetId")
|
1009
1038
|
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:**
|
150
|
+
**Example:** (operationTime ge "2021-06-04T12:00:00.000Z") 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:**
|
213
|
+
**Example:** (operationTime ge "2021-06-04T12:00:00.000Z") and (eventName eq "LOGON")
|
214
214
|
"""
|
215
215
|
...
|
@@ -8,6 +8,7 @@ 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
|
11
12
|
|
12
13
|
__all__ = [
|
13
14
|
'GetDiscoveryJobResult',
|
@@ -21,7 +22,7 @@ class GetDiscoveryJobResult:
|
|
21
22
|
"""
|
22
23
|
A collection of values returned by getDiscoveryJob.
|
23
24
|
"""
|
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):
|
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, tables_for_discoveries=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):
|
25
26
|
if compartment_id and not isinstance(compartment_id, str):
|
26
27
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
28
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -70,6 +71,9 @@ class GetDiscoveryJobResult:
|
|
70
71
|
if system_tags and not isinstance(system_tags, dict):
|
71
72
|
raise TypeError("Expected argument 'system_tags' to be a dict")
|
72
73
|
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)
|
73
77
|
if target_id and not isinstance(target_id, str):
|
74
78
|
raise TypeError("Expected argument 'target_id' to be a str")
|
75
79
|
pulumi.set(__self__, "target_id", target_id)
|
@@ -223,6 +227,14 @@ class GetDiscoveryJobResult:
|
|
223
227
|
"""
|
224
228
|
return pulumi.get(self, "system_tags")
|
225
229
|
|
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
|
+
|
226
238
|
@property
|
227
239
|
@pulumi.getter(name="targetId")
|
228
240
|
def target_id(self) -> str:
|
@@ -318,6 +330,7 @@ class AwaitableGetDiscoveryJobResult(GetDiscoveryJobResult):
|
|
318
330
|
sensitive_type_ids_for_discoveries=self.sensitive_type_ids_for_discoveries,
|
319
331
|
state=self.state,
|
320
332
|
system_tags=self.system_tags,
|
333
|
+
tables_for_discoveries=self.tables_for_discoveries,
|
321
334
|
target_id=self.target_id,
|
322
335
|
time_finished=self.time_finished,
|
323
336
|
time_started=self.time_started,
|
@@ -370,6 +383,7 @@ def get_discovery_job(discovery_job_id: Optional[str] = None,
|
|
370
383
|
sensitive_type_ids_for_discoveries=pulumi.get(__ret__, 'sensitive_type_ids_for_discoveries'),
|
371
384
|
state=pulumi.get(__ret__, 'state'),
|
372
385
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
386
|
+
tables_for_discoveries=pulumi.get(__ret__, 'tables_for_discoveries'),
|
373
387
|
target_id=pulumi.get(__ret__, 'target_id'),
|
374
388
|
time_finished=pulumi.get(__ret__, 'time_finished'),
|
375
389
|
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 or .json
|
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 or .json)
|
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, type=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, time_generated_greater_than_or_equal_to=None, time_generated_less_than=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,6 +51,12 @@ 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)
|
54
60
|
if type and not isinstance(type, str):
|
55
61
|
raise TypeError("Expected argument 'type' to be a str")
|
56
62
|
pulumi.set(__self__, "type", type)
|
@@ -118,6 +124,16 @@ class GetReportsResult:
|
|
118
124
|
"""
|
119
125
|
return pulumi.get(self, "state")
|
120
126
|
|
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
|
+
|
121
137
|
@property
|
122
138
|
@pulumi.getter
|
123
139
|
def type(self) -> Optional[str]:
|
@@ -142,6 +158,8 @@ class AwaitableGetReportsResult(GetReportsResult):
|
|
142
158
|
report_collections=self.report_collections,
|
143
159
|
report_definition_id=self.report_definition_id,
|
144
160
|
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,
|
145
163
|
type=self.type)
|
146
164
|
|
147
165
|
|
@@ -152,6 +170,8 @@ def get_reports(access_level: Optional[str] = None,
|
|
152
170
|
filters: Optional[Sequence[pulumi.InputType['GetReportsFilterArgs']]] = None,
|
153
171
|
report_definition_id: Optional[str] = None,
|
154
172
|
state: Optional[str] = None,
|
173
|
+
time_generated_greater_than_or_equal_to: Optional[str] = None,
|
174
|
+
time_generated_less_than: Optional[str] = None,
|
155
175
|
type: Optional[str] = None,
|
156
176
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReportsResult:
|
157
177
|
"""
|
@@ -171,6 +191,8 @@ def get_reports(access_level: Optional[str] = None,
|
|
171
191
|
display_name=report_display_name,
|
172
192
|
report_definition_id=test_report_definition["id"],
|
173
193
|
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,
|
174
196
|
type=report_type)
|
175
197
|
```
|
176
198
|
|
@@ -181,6 +203,12 @@ def get_reports(access_level: Optional[str] = None,
|
|
181
203
|
:param str display_name: The name of the report definition to query.
|
182
204
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
183
205
|
: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
|
184
212
|
:param str type: An optional filter to return only resources that match the specified type.
|
185
213
|
"""
|
186
214
|
__args__ = dict()
|
@@ -191,6 +219,8 @@ def get_reports(access_level: Optional[str] = None,
|
|
191
219
|
__args__['filters'] = filters
|
192
220
|
__args__['reportDefinitionId'] = report_definition_id
|
193
221
|
__args__['state'] = state
|
222
|
+
__args__['timeGeneratedGreaterThanOrEqualTo'] = time_generated_greater_than_or_equal_to
|
223
|
+
__args__['timeGeneratedLessThan'] = time_generated_less_than
|
194
224
|
__args__['type'] = type
|
195
225
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
196
226
|
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getReports:getReports', __args__, opts=opts, typ=GetReportsResult).value
|
@@ -205,6 +235,8 @@ def get_reports(access_level: Optional[str] = None,
|
|
205
235
|
report_collections=pulumi.get(__ret__, 'report_collections'),
|
206
236
|
report_definition_id=pulumi.get(__ret__, 'report_definition_id'),
|
207
237
|
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'),
|
208
240
|
type=pulumi.get(__ret__, 'type'))
|
209
241
|
|
210
242
|
|
@@ -216,6 +248,8 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
216
248
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetReportsFilterArgs']]]]] = None,
|
217
249
|
report_definition_id: Optional[pulumi.Input[Optional[str]]] = None,
|
218
250
|
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,
|
219
253
|
type: Optional[pulumi.Input[Optional[str]]] = None,
|
220
254
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReportsResult]:
|
221
255
|
"""
|
@@ -235,6 +269,8 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
235
269
|
display_name=report_display_name,
|
236
270
|
report_definition_id=test_report_definition["id"],
|
237
271
|
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,
|
238
274
|
type=report_type)
|
239
275
|
```
|
240
276
|
|
@@ -245,6 +281,12 @@ def get_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = Non
|
|
245
281
|
:param str display_name: The name of the report definition to query.
|
246
282
|
:param str report_definition_id: The ID of the report definition to filter the list of reports
|
247
283
|
: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
|
248
290
|
:param str type: An optional filter to return only resources that match the specified type.
|
249
291
|
"""
|
250
292
|
...
|
@@ -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, 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):
|
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_assessment_scheduled=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,6 +47,9 @@ 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)
|
50
53
|
if is_baseline and not isinstance(is_baseline, bool):
|
51
54
|
raise TypeError("Expected argument 'is_baseline' to be a bool")
|
52
55
|
pulumi.set(__self__, "is_baseline", is_baseline)
|
@@ -169,6 +172,14 @@ class GetSecurityAssessmentResult:
|
|
169
172
|
"""
|
170
173
|
return pulumi.get(self, "ignored_targets")
|
171
174
|
|
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
|
+
|
172
183
|
@property
|
173
184
|
@pulumi.getter(name="isBaseline")
|
174
185
|
def is_baseline(self) -> bool:
|
@@ -330,6 +341,7 @@ class AwaitableGetSecurityAssessmentResult(GetSecurityAssessmentResult):
|
|
330
341
|
id=self.id,
|
331
342
|
ignored_assessment_ids=self.ignored_assessment_ids,
|
332
343
|
ignored_targets=self.ignored_targets,
|
344
|
+
is_assessment_scheduled=self.is_assessment_scheduled,
|
333
345
|
is_baseline=self.is_baseline,
|
334
346
|
is_deviated_from_baseline=self.is_deviated_from_baseline,
|
335
347
|
last_compared_baseline_id=self.last_compared_baseline_id,
|
@@ -384,6 +396,7 @@ def get_security_assessment(security_assessment_id: Optional[str] = None,
|
|
384
396
|
id=pulumi.get(__ret__, 'id'),
|
385
397
|
ignored_assessment_ids=pulumi.get(__ret__, 'ignored_assessment_ids'),
|
386
398
|
ignored_targets=pulumi.get(__ret__, 'ignored_targets'),
|
399
|
+
is_assessment_scheduled=pulumi.get(__ret__, 'is_assessment_scheduled'),
|
387
400
|
is_baseline=pulumi.get(__ret__, 'is_baseline'),
|
388
401
|
is_deviated_from_baseline=pulumi.get(__ret__, 'is_deviated_from_baseline'),
|
389
402
|
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, target_id=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,6 +57,9 @@ 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)
|
60
63
|
|
61
64
|
@property
|
62
65
|
@pulumi.getter(name="accessLevel")
|
@@ -116,6 +119,11 @@ class GetSecurityAssessmentFindingResult:
|
|
116
119
|
def state(self) -> Optional[str]:
|
117
120
|
return pulumi.get(self, "state")
|
118
121
|
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="targetId")
|
124
|
+
def target_id(self) -> Optional[str]:
|
125
|
+
return pulumi.get(self, "target_id")
|
126
|
+
|
119
127
|
|
120
128
|
class AwaitableGetSecurityAssessmentFindingResult(GetSecurityAssessmentFindingResult):
|
121
129
|
# pylint: disable=using-constant-test
|
@@ -133,7 +141,8 @@ class AwaitableGetSecurityAssessmentFindingResult(GetSecurityAssessmentFindingRe
|
|
133
141
|
references=self.references,
|
134
142
|
security_assessment_id=self.security_assessment_id,
|
135
143
|
severity=self.severity,
|
136
|
-
state=self.state
|
144
|
+
state=self.state,
|
145
|
+
target_id=self.target_id)
|
137
146
|
|
138
147
|
|
139
148
|
def get_security_assessment_finding(access_level: Optional[str] = None,
|
@@ -145,6 +154,7 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
145
154
|
security_assessment_id: Optional[str] = None,
|
146
155
|
severity: Optional[str] = None,
|
147
156
|
state: Optional[str] = None,
|
157
|
+
target_id: Optional[str] = None,
|
148
158
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityAssessmentFindingResult:
|
149
159
|
"""
|
150
160
|
Use this data source to access information about an existing resource.
|
@@ -159,6 +169,7 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
159
169
|
__args__['securityAssessmentId'] = security_assessment_id
|
160
170
|
__args__['severity'] = severity
|
161
171
|
__args__['state'] = state
|
172
|
+
__args__['targetId'] = target_id
|
162
173
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
163
174
|
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getSecurityAssessmentFinding:getSecurityAssessmentFinding', __args__, opts=opts, typ=GetSecurityAssessmentFindingResult).value
|
164
175
|
|
@@ -173,7 +184,8 @@ def get_security_assessment_finding(access_level: Optional[str] = None,
|
|
173
184
|
references=pulumi.get(__ret__, 'references'),
|
174
185
|
security_assessment_id=pulumi.get(__ret__, 'security_assessment_id'),
|
175
186
|
severity=pulumi.get(__ret__, 'severity'),
|
176
|
-
state=pulumi.get(__ret__, 'state')
|
187
|
+
state=pulumi.get(__ret__, 'state'),
|
188
|
+
target_id=pulumi.get(__ret__, 'target_id'))
|
177
189
|
|
178
190
|
|
179
191
|
@_utilities.lift_output_func(get_security_assessment_finding)
|
@@ -186,6 +198,7 @@ def get_security_assessment_finding_output(access_level: Optional[pulumi.Input[O
|
|
186
198
|
security_assessment_id: Optional[pulumi.Input[str]] = None,
|
187
199
|
severity: Optional[pulumi.Input[Optional[str]]] = None,
|
188
200
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
201
|
+
target_id: Optional[pulumi.Input[Optional[str]]] = None,
|
189
202
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityAssessmentFindingResult]:
|
190
203
|
"""
|
191
204
|
Use this data source to access information about an existing resource.
|