pulumi-oci 2.26.0a1741415311__py3-none-any.whl → 2.26.0a1741943394__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +67 -0
- pulumi_oci/containerengine/_inputs.py +34 -35
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +110 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +704 -0
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +1084 -42
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/METADATA +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/RECORD +135 -106
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,270 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetVulnerabilityScansResult',
|
21
|
+
'AwaitableGetVulnerabilityScansResult',
|
22
|
+
'get_vulnerability_scans',
|
23
|
+
'get_vulnerability_scans_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetVulnerabilityScansResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getVulnerabilityScans.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, time_created_greater_than=None, time_ended_less_than=None, vulnerability_scan_collections=None, vulnerability_scan_id=None, vulnerability_scan_statuses=None, vulnerability_scan_type=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if time_created_greater_than and not isinstance(time_created_greater_than, str):
|
45
|
+
raise TypeError("Expected argument 'time_created_greater_than' to be a str")
|
46
|
+
pulumi.set(__self__, "time_created_greater_than", time_created_greater_than)
|
47
|
+
if time_ended_less_than and not isinstance(time_ended_less_than, str):
|
48
|
+
raise TypeError("Expected argument 'time_ended_less_than' to be a str")
|
49
|
+
pulumi.set(__self__, "time_ended_less_than", time_ended_less_than)
|
50
|
+
if vulnerability_scan_collections and not isinstance(vulnerability_scan_collections, list):
|
51
|
+
raise TypeError("Expected argument 'vulnerability_scan_collections' to be a list")
|
52
|
+
pulumi.set(__self__, "vulnerability_scan_collections", vulnerability_scan_collections)
|
53
|
+
if vulnerability_scan_id and not isinstance(vulnerability_scan_id, str):
|
54
|
+
raise TypeError("Expected argument 'vulnerability_scan_id' to be a str")
|
55
|
+
pulumi.set(__self__, "vulnerability_scan_id", vulnerability_scan_id)
|
56
|
+
if vulnerability_scan_statuses and not isinstance(vulnerability_scan_statuses, list):
|
57
|
+
raise TypeError("Expected argument 'vulnerability_scan_statuses' to be a list")
|
58
|
+
pulumi.set(__self__, "vulnerability_scan_statuses", vulnerability_scan_statuses)
|
59
|
+
if vulnerability_scan_type and not isinstance(vulnerability_scan_type, str):
|
60
|
+
raise TypeError("Expected argument 'vulnerability_scan_type' to be a str")
|
61
|
+
pulumi.set(__self__, "vulnerability_scan_type", vulnerability_scan_type)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> Optional[str]:
|
66
|
+
"""
|
67
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "compartment_id")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="displayName")
|
73
|
+
def display_name(self) -> Optional[str]:
|
74
|
+
"""
|
75
|
+
A user-friendly name. It does not have to be unique, and it is changeable.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "display_name")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def filters(self) -> Optional[Sequence['outputs.GetVulnerabilityScansFilterResult']]:
|
82
|
+
return pulumi.get(self, "filters")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def id(self) -> str:
|
87
|
+
"""
|
88
|
+
The provider-assigned unique ID for this managed resource.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "id")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="timeCreatedGreaterThan")
|
94
|
+
def time_created_greater_than(self) -> Optional[str]:
|
95
|
+
return pulumi.get(self, "time_created_greater_than")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="timeEndedLessThan")
|
99
|
+
def time_ended_less_than(self) -> Optional[str]:
|
100
|
+
return pulumi.get(self, "time_ended_less_than")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="vulnerabilityScanCollections")
|
104
|
+
def vulnerability_scan_collections(self) -> Sequence['outputs.GetVulnerabilityScansVulnerabilityScanCollectionResult']:
|
105
|
+
"""
|
106
|
+
The list of vulnerability_scan_collection.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "vulnerability_scan_collections")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="vulnerabilityScanId")
|
112
|
+
def vulnerability_scan_id(self) -> Optional[str]:
|
113
|
+
return pulumi.get(self, "vulnerability_scan_id")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="vulnerabilityScanStatuses")
|
117
|
+
def vulnerability_scan_statuses(self) -> Optional[Sequence[str]]:
|
118
|
+
"""
|
119
|
+
The status of the vulnerability scan.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "vulnerability_scan_statuses")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="vulnerabilityScanType")
|
125
|
+
def vulnerability_scan_type(self) -> Optional[str]:
|
126
|
+
"""
|
127
|
+
Scan type is CVE, PATCH or IMAGE_PATCH
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "vulnerability_scan_type")
|
130
|
+
|
131
|
+
|
132
|
+
class AwaitableGetVulnerabilityScansResult(GetVulnerabilityScansResult):
|
133
|
+
# pylint: disable=using-constant-test
|
134
|
+
def __await__(self):
|
135
|
+
if False:
|
136
|
+
yield self
|
137
|
+
return GetVulnerabilityScansResult(
|
138
|
+
compartment_id=self.compartment_id,
|
139
|
+
display_name=self.display_name,
|
140
|
+
filters=self.filters,
|
141
|
+
id=self.id,
|
142
|
+
time_created_greater_than=self.time_created_greater_than,
|
143
|
+
time_ended_less_than=self.time_ended_less_than,
|
144
|
+
vulnerability_scan_collections=self.vulnerability_scan_collections,
|
145
|
+
vulnerability_scan_id=self.vulnerability_scan_id,
|
146
|
+
vulnerability_scan_statuses=self.vulnerability_scan_statuses,
|
147
|
+
vulnerability_scan_type=self.vulnerability_scan_type)
|
148
|
+
|
149
|
+
|
150
|
+
def get_vulnerability_scans(compartment_id: Optional[str] = None,
|
151
|
+
display_name: Optional[str] = None,
|
152
|
+
filters: Optional[Sequence[Union['GetVulnerabilityScansFilterArgs', 'GetVulnerabilityScansFilterArgsDict']]] = None,
|
153
|
+
time_created_greater_than: Optional[str] = None,
|
154
|
+
time_ended_less_than: Optional[str] = None,
|
155
|
+
vulnerability_scan_id: Optional[str] = None,
|
156
|
+
vulnerability_scan_statuses: Optional[Sequence[str]] = None,
|
157
|
+
vulnerability_scan_type: Optional[str] = None,
|
158
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVulnerabilityScansResult:
|
159
|
+
"""
|
160
|
+
This data source provides the list of Vulnerability Scans in Oracle Cloud Infrastructure Dblm service.
|
161
|
+
|
162
|
+
Gets a list of VulnerabilityScans.
|
163
|
+
|
164
|
+
## Example Usage
|
165
|
+
|
166
|
+
```python
|
167
|
+
import pulumi
|
168
|
+
import pulumi_oci as oci
|
169
|
+
|
170
|
+
test_vulnerability_scans = oci.Dblm.get_vulnerability_scans(compartment_id=compartment_id,
|
171
|
+
display_name=vulnerability_scan_display_name,
|
172
|
+
time_created_greater_than=vulnerability_scan_time_created_greater_than,
|
173
|
+
time_ended_less_than=vulnerability_scan_time_ended_less_than,
|
174
|
+
vulnerability_scan_id=test_vulnerability_scan["id"],
|
175
|
+
vulnerability_scan_statuses=vulnerability_scan_vulnerability_scan_status,
|
176
|
+
vulnerability_scan_type=vulnerability_scan_vulnerability_scan_type)
|
177
|
+
```
|
178
|
+
|
179
|
+
|
180
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
181
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
182
|
+
:param str time_created_greater_than: The created greater than.
|
183
|
+
:param str time_ended_less_than: The time ended less than.
|
184
|
+
:param str vulnerability_scan_id: The ID of the vulnerability scan.
|
185
|
+
:param Sequence[str] vulnerability_scan_statuses: Filter by one or more vulnerability scan status. Possible values are completed, running, completed with error, aborted.
|
186
|
+
:param str vulnerability_scan_type: The scan type to use is 'CVE', 'PATCH' or 'IMAGE_PATCH'.
|
187
|
+
"""
|
188
|
+
__args__ = dict()
|
189
|
+
__args__['compartmentId'] = compartment_id
|
190
|
+
__args__['displayName'] = display_name
|
191
|
+
__args__['filters'] = filters
|
192
|
+
__args__['timeCreatedGreaterThan'] = time_created_greater_than
|
193
|
+
__args__['timeEndedLessThan'] = time_ended_less_than
|
194
|
+
__args__['vulnerabilityScanId'] = vulnerability_scan_id
|
195
|
+
__args__['vulnerabilityScanStatuses'] = vulnerability_scan_statuses
|
196
|
+
__args__['vulnerabilityScanType'] = vulnerability_scan_type
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
198
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getVulnerabilityScans:getVulnerabilityScans', __args__, opts=opts, typ=GetVulnerabilityScansResult).value
|
199
|
+
|
200
|
+
return AwaitableGetVulnerabilityScansResult(
|
201
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
202
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
203
|
+
filters=pulumi.get(__ret__, 'filters'),
|
204
|
+
id=pulumi.get(__ret__, 'id'),
|
205
|
+
time_created_greater_than=pulumi.get(__ret__, 'time_created_greater_than'),
|
206
|
+
time_ended_less_than=pulumi.get(__ret__, 'time_ended_less_than'),
|
207
|
+
vulnerability_scan_collections=pulumi.get(__ret__, 'vulnerability_scan_collections'),
|
208
|
+
vulnerability_scan_id=pulumi.get(__ret__, 'vulnerability_scan_id'),
|
209
|
+
vulnerability_scan_statuses=pulumi.get(__ret__, 'vulnerability_scan_statuses'),
|
210
|
+
vulnerability_scan_type=pulumi.get(__ret__, 'vulnerability_scan_type'))
|
211
|
+
def get_vulnerability_scans_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
212
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
213
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetVulnerabilityScansFilterArgs', 'GetVulnerabilityScansFilterArgsDict']]]]] = None,
|
214
|
+
time_created_greater_than: Optional[pulumi.Input[Optional[str]]] = None,
|
215
|
+
time_ended_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
216
|
+
vulnerability_scan_id: Optional[pulumi.Input[Optional[str]]] = None,
|
217
|
+
vulnerability_scan_statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
218
|
+
vulnerability_scan_type: Optional[pulumi.Input[Optional[str]]] = None,
|
219
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVulnerabilityScansResult]:
|
220
|
+
"""
|
221
|
+
This data source provides the list of Vulnerability Scans in Oracle Cloud Infrastructure Dblm service.
|
222
|
+
|
223
|
+
Gets a list of VulnerabilityScans.
|
224
|
+
|
225
|
+
## Example Usage
|
226
|
+
|
227
|
+
```python
|
228
|
+
import pulumi
|
229
|
+
import pulumi_oci as oci
|
230
|
+
|
231
|
+
test_vulnerability_scans = oci.Dblm.get_vulnerability_scans(compartment_id=compartment_id,
|
232
|
+
display_name=vulnerability_scan_display_name,
|
233
|
+
time_created_greater_than=vulnerability_scan_time_created_greater_than,
|
234
|
+
time_ended_less_than=vulnerability_scan_time_ended_less_than,
|
235
|
+
vulnerability_scan_id=test_vulnerability_scan["id"],
|
236
|
+
vulnerability_scan_statuses=vulnerability_scan_vulnerability_scan_status,
|
237
|
+
vulnerability_scan_type=vulnerability_scan_vulnerability_scan_type)
|
238
|
+
```
|
239
|
+
|
240
|
+
|
241
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
242
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
243
|
+
:param str time_created_greater_than: The created greater than.
|
244
|
+
:param str time_ended_less_than: The time ended less than.
|
245
|
+
:param str vulnerability_scan_id: The ID of the vulnerability scan.
|
246
|
+
:param Sequence[str] vulnerability_scan_statuses: Filter by one or more vulnerability scan status. Possible values are completed, running, completed with error, aborted.
|
247
|
+
:param str vulnerability_scan_type: The scan type to use is 'CVE', 'PATCH' or 'IMAGE_PATCH'.
|
248
|
+
"""
|
249
|
+
__args__ = dict()
|
250
|
+
__args__['compartmentId'] = compartment_id
|
251
|
+
__args__['displayName'] = display_name
|
252
|
+
__args__['filters'] = filters
|
253
|
+
__args__['timeCreatedGreaterThan'] = time_created_greater_than
|
254
|
+
__args__['timeEndedLessThan'] = time_ended_less_than
|
255
|
+
__args__['vulnerabilityScanId'] = vulnerability_scan_id
|
256
|
+
__args__['vulnerabilityScanStatuses'] = vulnerability_scan_statuses
|
257
|
+
__args__['vulnerabilityScanType'] = vulnerability_scan_type
|
258
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
259
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getVulnerabilityScans:getVulnerabilityScans', __args__, opts=opts, typ=GetVulnerabilityScansResult)
|
260
|
+
return __ret__.apply(lambda __response__: GetVulnerabilityScansResult(
|
261
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
262
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
263
|
+
filters=pulumi.get(__response__, 'filters'),
|
264
|
+
id=pulumi.get(__response__, 'id'),
|
265
|
+
time_created_greater_than=pulumi.get(__response__, 'time_created_greater_than'),
|
266
|
+
time_ended_less_than=pulumi.get(__response__, 'time_ended_less_than'),
|
267
|
+
vulnerability_scan_collections=pulumi.get(__response__, 'vulnerability_scan_collections'),
|
268
|
+
vulnerability_scan_id=pulumi.get(__response__, 'vulnerability_scan_id'),
|
269
|
+
vulnerability_scan_statuses=pulumi.get(__response__, 'vulnerability_scan_statuses'),
|
270
|
+
vulnerability_scan_type=pulumi.get(__response__, 'vulnerability_scan_type')))
|
@@ -0,0 +1,258 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetVulnerabilityVulnerabilitiesResult',
|
21
|
+
'AwaitableGetVulnerabilityVulnerabilitiesResult',
|
22
|
+
'get_vulnerability_vulnerabilities',
|
23
|
+
'get_vulnerability_vulnerabilities_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetVulnerabilityVulnerabilitiesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getVulnerabilityVulnerabilities.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, database_release=None, display_name=None, filters=None, id=None, resource_id=None, search_by=None, severity_types=None, state=None, vulnerability_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if database_release and not isinstance(database_release, str):
|
36
|
+
raise TypeError("Expected argument 'database_release' to be a str")
|
37
|
+
pulumi.set(__self__, "database_release", database_release)
|
38
|
+
if display_name and not isinstance(display_name, str):
|
39
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if resource_id and not isinstance(resource_id, str):
|
48
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
49
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
50
|
+
if search_by and not isinstance(search_by, str):
|
51
|
+
raise TypeError("Expected argument 'search_by' to be a str")
|
52
|
+
pulumi.set(__self__, "search_by", search_by)
|
53
|
+
if severity_types and not isinstance(severity_types, list):
|
54
|
+
raise TypeError("Expected argument 'severity_types' to be a list")
|
55
|
+
pulumi.set(__self__, "severity_types", severity_types)
|
56
|
+
if state and not isinstance(state, str):
|
57
|
+
raise TypeError("Expected argument 'state' to be a str")
|
58
|
+
pulumi.set(__self__, "state", state)
|
59
|
+
if vulnerability_collections and not isinstance(vulnerability_collections, list):
|
60
|
+
raise TypeError("Expected argument 'vulnerability_collections' to be a list")
|
61
|
+
pulumi.set(__self__, "vulnerability_collections", vulnerability_collections)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> str:
|
66
|
+
return pulumi.get(self, "compartment_id")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="databaseRelease")
|
70
|
+
def database_release(self) -> Optional[str]:
|
71
|
+
return pulumi.get(self, "database_release")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="displayName")
|
75
|
+
def display_name(self) -> Optional[str]:
|
76
|
+
return pulumi.get(self, "display_name")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def filters(self) -> Optional[Sequence['outputs.GetVulnerabilityVulnerabilitiesFilterResult']]:
|
81
|
+
return pulumi.get(self, "filters")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def id(self) -> str:
|
86
|
+
"""
|
87
|
+
The provider-assigned unique ID for this managed resource.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="resourceId")
|
93
|
+
def resource_id(self) -> Optional[str]:
|
94
|
+
return pulumi.get(self, "resource_id")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="searchBy")
|
98
|
+
def search_by(self) -> Optional[str]:
|
99
|
+
return pulumi.get(self, "search_by")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="severityTypes")
|
103
|
+
def severity_types(self) -> Optional[Sequence[str]]:
|
104
|
+
return pulumi.get(self, "severity_types")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter
|
108
|
+
def state(self) -> Optional[str]:
|
109
|
+
return pulumi.get(self, "state")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="vulnerabilityCollections")
|
113
|
+
def vulnerability_collections(self) -> Sequence['outputs.GetVulnerabilityVulnerabilitiesVulnerabilityCollectionResult']:
|
114
|
+
"""
|
115
|
+
The list of vulnerability_collection.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "vulnerability_collections")
|
118
|
+
|
119
|
+
|
120
|
+
class AwaitableGetVulnerabilityVulnerabilitiesResult(GetVulnerabilityVulnerabilitiesResult):
|
121
|
+
# pylint: disable=using-constant-test
|
122
|
+
def __await__(self):
|
123
|
+
if False:
|
124
|
+
yield self
|
125
|
+
return GetVulnerabilityVulnerabilitiesResult(
|
126
|
+
compartment_id=self.compartment_id,
|
127
|
+
database_release=self.database_release,
|
128
|
+
display_name=self.display_name,
|
129
|
+
filters=self.filters,
|
130
|
+
id=self.id,
|
131
|
+
resource_id=self.resource_id,
|
132
|
+
search_by=self.search_by,
|
133
|
+
severity_types=self.severity_types,
|
134
|
+
state=self.state,
|
135
|
+
vulnerability_collections=self.vulnerability_collections)
|
136
|
+
|
137
|
+
|
138
|
+
def get_vulnerability_vulnerabilities(compartment_id: Optional[str] = None,
|
139
|
+
database_release: Optional[str] = None,
|
140
|
+
display_name: Optional[str] = None,
|
141
|
+
filters: Optional[Sequence[Union['GetVulnerabilityVulnerabilitiesFilterArgs', 'GetVulnerabilityVulnerabilitiesFilterArgsDict']]] = None,
|
142
|
+
resource_id: Optional[str] = None,
|
143
|
+
search_by: Optional[str] = None,
|
144
|
+
severity_types: Optional[Sequence[str]] = None,
|
145
|
+
state: Optional[str] = None,
|
146
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVulnerabilityVulnerabilitiesResult:
|
147
|
+
"""
|
148
|
+
This data source provides the list of Vulnerability Vulnerabilities in Oracle Cloud Infrastructure Dblm service.
|
149
|
+
|
150
|
+
Gets the vulnerabilities summary list
|
151
|
+
|
152
|
+
## Example Usage
|
153
|
+
|
154
|
+
```python
|
155
|
+
import pulumi
|
156
|
+
import pulumi_oci as oci
|
157
|
+
|
158
|
+
test_vulnerability_vulnerabilities = oci.Dblm.get_vulnerability_vulnerabilities(compartment_id=compartment_id,
|
159
|
+
database_release=vulnerability_vulnerability_database_release,
|
160
|
+
display_name=vulnerability_vulnerability_display_name,
|
161
|
+
resource_id=test_resource["id"],
|
162
|
+
search_by=vulnerability_vulnerability_search_by,
|
163
|
+
severity_types=vulnerability_vulnerability_severity_type,
|
164
|
+
state=vulnerability_vulnerability_state)
|
165
|
+
```
|
166
|
+
|
167
|
+
|
168
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
169
|
+
:param str database_release: A filter to return only database that match the given release version.
|
170
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
171
|
+
:param str resource_id: A filter to return only resources that match the given resource id.
|
172
|
+
:param str search_by: The search input for filter cve id and cve description.
|
173
|
+
:param Sequence[str] severity_types: Filter by one or more severity types. Possible values are critical, high, medium, low, info.
|
174
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
175
|
+
"""
|
176
|
+
__args__ = dict()
|
177
|
+
__args__['compartmentId'] = compartment_id
|
178
|
+
__args__['databaseRelease'] = database_release
|
179
|
+
__args__['displayName'] = display_name
|
180
|
+
__args__['filters'] = filters
|
181
|
+
__args__['resourceId'] = resource_id
|
182
|
+
__args__['searchBy'] = search_by
|
183
|
+
__args__['severityTypes'] = severity_types
|
184
|
+
__args__['state'] = state
|
185
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
186
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getVulnerabilityVulnerabilities:getVulnerabilityVulnerabilities', __args__, opts=opts, typ=GetVulnerabilityVulnerabilitiesResult).value
|
187
|
+
|
188
|
+
return AwaitableGetVulnerabilityVulnerabilitiesResult(
|
189
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
190
|
+
database_release=pulumi.get(__ret__, 'database_release'),
|
191
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
192
|
+
filters=pulumi.get(__ret__, 'filters'),
|
193
|
+
id=pulumi.get(__ret__, 'id'),
|
194
|
+
resource_id=pulumi.get(__ret__, 'resource_id'),
|
195
|
+
search_by=pulumi.get(__ret__, 'search_by'),
|
196
|
+
severity_types=pulumi.get(__ret__, 'severity_types'),
|
197
|
+
state=pulumi.get(__ret__, 'state'),
|
198
|
+
vulnerability_collections=pulumi.get(__ret__, 'vulnerability_collections'))
|
199
|
+
def get_vulnerability_vulnerabilities_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
database_release: Optional[pulumi.Input[Optional[str]]] = None,
|
201
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
202
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetVulnerabilityVulnerabilitiesFilterArgs', 'GetVulnerabilityVulnerabilitiesFilterArgsDict']]]]] = None,
|
203
|
+
resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
204
|
+
search_by: Optional[pulumi.Input[Optional[str]]] = None,
|
205
|
+
severity_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
206
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
207
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVulnerabilityVulnerabilitiesResult]:
|
208
|
+
"""
|
209
|
+
This data source provides the list of Vulnerability Vulnerabilities in Oracle Cloud Infrastructure Dblm service.
|
210
|
+
|
211
|
+
Gets the vulnerabilities summary list
|
212
|
+
|
213
|
+
## Example Usage
|
214
|
+
|
215
|
+
```python
|
216
|
+
import pulumi
|
217
|
+
import pulumi_oci as oci
|
218
|
+
|
219
|
+
test_vulnerability_vulnerabilities = oci.Dblm.get_vulnerability_vulnerabilities(compartment_id=compartment_id,
|
220
|
+
database_release=vulnerability_vulnerability_database_release,
|
221
|
+
display_name=vulnerability_vulnerability_display_name,
|
222
|
+
resource_id=test_resource["id"],
|
223
|
+
search_by=vulnerability_vulnerability_search_by,
|
224
|
+
severity_types=vulnerability_vulnerability_severity_type,
|
225
|
+
state=vulnerability_vulnerability_state)
|
226
|
+
```
|
227
|
+
|
228
|
+
|
229
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
230
|
+
:param str database_release: A filter to return only database that match the given release version.
|
231
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
232
|
+
:param str resource_id: A filter to return only resources that match the given resource id.
|
233
|
+
:param str search_by: The search input for filter cve id and cve description.
|
234
|
+
:param Sequence[str] severity_types: Filter by one or more severity types. Possible values are critical, high, medium, low, info.
|
235
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
236
|
+
"""
|
237
|
+
__args__ = dict()
|
238
|
+
__args__['compartmentId'] = compartment_id
|
239
|
+
__args__['databaseRelease'] = database_release
|
240
|
+
__args__['displayName'] = display_name
|
241
|
+
__args__['filters'] = filters
|
242
|
+
__args__['resourceId'] = resource_id
|
243
|
+
__args__['searchBy'] = search_by
|
244
|
+
__args__['severityTypes'] = severity_types
|
245
|
+
__args__['state'] = state
|
246
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
247
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getVulnerabilityVulnerabilities:getVulnerabilityVulnerabilities', __args__, opts=opts, typ=GetVulnerabilityVulnerabilitiesResult)
|
248
|
+
return __ret__.apply(lambda __response__: GetVulnerabilityVulnerabilitiesResult(
|
249
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
250
|
+
database_release=pulumi.get(__response__, 'database_release'),
|
251
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
252
|
+
filters=pulumi.get(__response__, 'filters'),
|
253
|
+
id=pulumi.get(__response__, 'id'),
|
254
|
+
resource_id=pulumi.get(__response__, 'resource_id'),
|
255
|
+
search_by=pulumi.get(__response__, 'search_by'),
|
256
|
+
severity_types=pulumi.get(__response__, 'severity_types'),
|
257
|
+
state=pulumi.get(__response__, 'state'),
|
258
|
+
vulnerability_collections=pulumi.get(__response__, 'vulnerability_collections')))
|