pulumi-oci 3.5.0a1756327653__py3-none-any.whl → 3.5.0a1756440723__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +80 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +257 -12
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +28 -0
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +575 -8
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +68 -2
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +6964 -192
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/oci/__init__.py +9 -0
- pulumi_oci/oci/_inputs.py +420 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +1009 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/RECORD +133 -100
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,818 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
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__ = ['SecurityAssessmentFindingArgs', 'SecurityAssessmentFinding']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class SecurityAssessmentFindingArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
security_assessment_id: pulumi.Input[_builtins.str],
|
25
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a SecurityAssessmentFinding resource.
|
28
|
+
:param pulumi.Input[_builtins.str] security_assessment_id: ** IMPORTANT **
|
29
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]] patch_operations: (Updatable)
|
31
|
+
"""
|
32
|
+
pulumi.set(__self__, "security_assessment_id", security_assessment_id)
|
33
|
+
if patch_operations is not None:
|
34
|
+
pulumi.set(__self__, "patch_operations", patch_operations)
|
35
|
+
|
36
|
+
@_builtins.property
|
37
|
+
@pulumi.getter(name="securityAssessmentId")
|
38
|
+
def security_assessment_id(self) -> pulumi.Input[_builtins.str]:
|
39
|
+
"""
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "security_assessment_id")
|
44
|
+
|
45
|
+
@security_assessment_id.setter
|
46
|
+
def security_assessment_id(self, value: pulumi.Input[_builtins.str]):
|
47
|
+
pulumi.set(self, "security_assessment_id", value)
|
48
|
+
|
49
|
+
@_builtins.property
|
50
|
+
@pulumi.getter(name="patchOperations")
|
51
|
+
def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]]:
|
52
|
+
"""
|
53
|
+
(Updatable)
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "patch_operations")
|
56
|
+
|
57
|
+
@patch_operations.setter
|
58
|
+
def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]]):
|
59
|
+
pulumi.set(self, "patch_operations", value)
|
60
|
+
|
61
|
+
|
62
|
+
@pulumi.input_type
|
63
|
+
class _SecurityAssessmentFindingState:
|
64
|
+
def __init__(__self__, *,
|
65
|
+
assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
66
|
+
category: Optional[pulumi.Input[_builtins.str]] = None,
|
67
|
+
details: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
68
|
+
has_target_db_risk_level_changed: Optional[pulumi.Input[_builtins.bool]] = None,
|
69
|
+
is_risk_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
70
|
+
is_top_finding: Optional[pulumi.Input[_builtins.bool]] = None,
|
71
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
72
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
73
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
74
|
+
oneline: Optional[pulumi.Input[_builtins.str]] = None,
|
75
|
+
oracle_defined_severity: Optional[pulumi.Input[_builtins.str]] = None,
|
76
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]] = None,
|
77
|
+
references: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingReferenceArgs']]]] = None,
|
78
|
+
remarks: Optional[pulumi.Input[_builtins.str]] = None,
|
79
|
+
security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
80
|
+
severity: Optional[pulumi.Input[_builtins.str]] = None,
|
81
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
82
|
+
summary: Optional[pulumi.Input[_builtins.str]] = None,
|
83
|
+
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
84
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
85
|
+
time_valid_until: Optional[pulumi.Input[_builtins.str]] = None,
|
86
|
+
title: Optional[pulumi.Input[_builtins.str]] = None):
|
87
|
+
"""
|
88
|
+
Input properties used for looking up and filtering SecurityAssessmentFinding resources.
|
89
|
+
:param pulumi.Input[_builtins.str] assessment_id: The OCID of the assessment that generated this finding.
|
90
|
+
:param pulumi.Input[_builtins.str] category: The category to which the finding belongs to.
|
91
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] details: The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
|
92
|
+
:param pulumi.Input[_builtins.bool] has_target_db_risk_level_changed: Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
|
93
|
+
:param pulumi.Input[_builtins.bool] is_risk_modified: Determines if this risk level was modified by user.
|
94
|
+
:param pulumi.Input[_builtins.bool] is_top_finding: Indicates whether a given finding is marked as topFinding or not.
|
95
|
+
:param pulumi.Input[_builtins.str] justification: User provided reason for accepting or modifying this finding if they choose to do so.
|
96
|
+
:param pulumi.Input[_builtins.str] key: The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
|
97
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the finding.
|
98
|
+
:param pulumi.Input[_builtins.str] oneline: Provides a recommended approach to take to remediate the finding reported.
|
99
|
+
:param pulumi.Input[_builtins.str] oracle_defined_severity: The severity of the finding as determined by security assessment. This cannot be modified by user.
|
100
|
+
:param pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]] patch_operations: (Updatable)
|
101
|
+
:param pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingReferenceArgs']]] references: Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
|
102
|
+
:param pulumi.Input[_builtins.str] remarks: The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
|
103
|
+
:param pulumi.Input[_builtins.str] security_assessment_id: ** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
:param pulumi.Input[_builtins.str] severity: The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
|
106
|
+
:param pulumi.Input[_builtins.str] state: The current state of the finding.
|
107
|
+
:param pulumi.Input[_builtins.str] summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
|
108
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database.
|
109
|
+
:param pulumi.Input[_builtins.str] time_updated: The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
110
|
+
:param pulumi.Input[_builtins.str] time_valid_until: The time until which the change in severity(deferred / modified) of this finding is valid.
|
111
|
+
:param pulumi.Input[_builtins.str] title: The short title for the finding.
|
112
|
+
"""
|
113
|
+
if assessment_id is not None:
|
114
|
+
pulumi.set(__self__, "assessment_id", assessment_id)
|
115
|
+
if category is not None:
|
116
|
+
pulumi.set(__self__, "category", category)
|
117
|
+
if details is not None:
|
118
|
+
pulumi.set(__self__, "details", details)
|
119
|
+
if has_target_db_risk_level_changed is not None:
|
120
|
+
pulumi.set(__self__, "has_target_db_risk_level_changed", has_target_db_risk_level_changed)
|
121
|
+
if is_risk_modified is not None:
|
122
|
+
pulumi.set(__self__, "is_risk_modified", is_risk_modified)
|
123
|
+
if is_top_finding is not None:
|
124
|
+
pulumi.set(__self__, "is_top_finding", is_top_finding)
|
125
|
+
if justification is not None:
|
126
|
+
pulumi.set(__self__, "justification", justification)
|
127
|
+
if key is not None:
|
128
|
+
pulumi.set(__self__, "key", key)
|
129
|
+
if lifecycle_details is not None:
|
130
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
131
|
+
if oneline is not None:
|
132
|
+
pulumi.set(__self__, "oneline", oneline)
|
133
|
+
if oracle_defined_severity is not None:
|
134
|
+
pulumi.set(__self__, "oracle_defined_severity", oracle_defined_severity)
|
135
|
+
if patch_operations is not None:
|
136
|
+
pulumi.set(__self__, "patch_operations", patch_operations)
|
137
|
+
if references is not None:
|
138
|
+
pulumi.set(__self__, "references", references)
|
139
|
+
if remarks is not None:
|
140
|
+
pulumi.set(__self__, "remarks", remarks)
|
141
|
+
if security_assessment_id is not None:
|
142
|
+
pulumi.set(__self__, "security_assessment_id", security_assessment_id)
|
143
|
+
if severity is not None:
|
144
|
+
pulumi.set(__self__, "severity", severity)
|
145
|
+
if state is not None:
|
146
|
+
pulumi.set(__self__, "state", state)
|
147
|
+
if summary is not None:
|
148
|
+
pulumi.set(__self__, "summary", summary)
|
149
|
+
if target_id is not None:
|
150
|
+
pulumi.set(__self__, "target_id", target_id)
|
151
|
+
if time_updated is not None:
|
152
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
153
|
+
if time_valid_until is not None:
|
154
|
+
pulumi.set(__self__, "time_valid_until", time_valid_until)
|
155
|
+
if title is not None:
|
156
|
+
pulumi.set(__self__, "title", title)
|
157
|
+
|
158
|
+
@_builtins.property
|
159
|
+
@pulumi.getter(name="assessmentId")
|
160
|
+
def assessment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
161
|
+
"""
|
162
|
+
The OCID of the assessment that generated this finding.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "assessment_id")
|
165
|
+
|
166
|
+
@assessment_id.setter
|
167
|
+
def assessment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
168
|
+
pulumi.set(self, "assessment_id", value)
|
169
|
+
|
170
|
+
@_builtins.property
|
171
|
+
@pulumi.getter
|
172
|
+
def category(self) -> Optional[pulumi.Input[_builtins.str]]:
|
173
|
+
"""
|
174
|
+
The category to which the finding belongs to.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "category")
|
177
|
+
|
178
|
+
@category.setter
|
179
|
+
def category(self, value: Optional[pulumi.Input[_builtins.str]]):
|
180
|
+
pulumi.set(self, "category", value)
|
181
|
+
|
182
|
+
@_builtins.property
|
183
|
+
@pulumi.getter
|
184
|
+
def details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
185
|
+
"""
|
186
|
+
The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "details")
|
189
|
+
|
190
|
+
@details.setter
|
191
|
+
def details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
192
|
+
pulumi.set(self, "details", value)
|
193
|
+
|
194
|
+
@_builtins.property
|
195
|
+
@pulumi.getter(name="hasTargetDbRiskLevelChanged")
|
196
|
+
def has_target_db_risk_level_changed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
197
|
+
"""
|
198
|
+
Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "has_target_db_risk_level_changed")
|
201
|
+
|
202
|
+
@has_target_db_risk_level_changed.setter
|
203
|
+
def has_target_db_risk_level_changed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
204
|
+
pulumi.set(self, "has_target_db_risk_level_changed", value)
|
205
|
+
|
206
|
+
@_builtins.property
|
207
|
+
@pulumi.getter(name="isRiskModified")
|
208
|
+
def is_risk_modified(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
209
|
+
"""
|
210
|
+
Determines if this risk level was modified by user.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "is_risk_modified")
|
213
|
+
|
214
|
+
@is_risk_modified.setter
|
215
|
+
def is_risk_modified(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
216
|
+
pulumi.set(self, "is_risk_modified", value)
|
217
|
+
|
218
|
+
@_builtins.property
|
219
|
+
@pulumi.getter(name="isTopFinding")
|
220
|
+
def is_top_finding(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
221
|
+
"""
|
222
|
+
Indicates whether a given finding is marked as topFinding or not.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "is_top_finding")
|
225
|
+
|
226
|
+
@is_top_finding.setter
|
227
|
+
def is_top_finding(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
228
|
+
pulumi.set(self, "is_top_finding", value)
|
229
|
+
|
230
|
+
@_builtins.property
|
231
|
+
@pulumi.getter
|
232
|
+
def justification(self) -> Optional[pulumi.Input[_builtins.str]]:
|
233
|
+
"""
|
234
|
+
User provided reason for accepting or modifying this finding if they choose to do so.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "justification")
|
237
|
+
|
238
|
+
@justification.setter
|
239
|
+
def justification(self, value: Optional[pulumi.Input[_builtins.str]]):
|
240
|
+
pulumi.set(self, "justification", value)
|
241
|
+
|
242
|
+
@_builtins.property
|
243
|
+
@pulumi.getter
|
244
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
245
|
+
"""
|
246
|
+
The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "key")
|
249
|
+
|
250
|
+
@key.setter
|
251
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
252
|
+
pulumi.set(self, "key", value)
|
253
|
+
|
254
|
+
@_builtins.property
|
255
|
+
@pulumi.getter(name="lifecycleDetails")
|
256
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[_builtins.str]]:
|
257
|
+
"""
|
258
|
+
Details about the current state of the finding.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "lifecycle_details")
|
261
|
+
|
262
|
+
@lifecycle_details.setter
|
263
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[_builtins.str]]):
|
264
|
+
pulumi.set(self, "lifecycle_details", value)
|
265
|
+
|
266
|
+
@_builtins.property
|
267
|
+
@pulumi.getter
|
268
|
+
def oneline(self) -> Optional[pulumi.Input[_builtins.str]]:
|
269
|
+
"""
|
270
|
+
Provides a recommended approach to take to remediate the finding reported.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "oneline")
|
273
|
+
|
274
|
+
@oneline.setter
|
275
|
+
def oneline(self, value: Optional[pulumi.Input[_builtins.str]]):
|
276
|
+
pulumi.set(self, "oneline", value)
|
277
|
+
|
278
|
+
@_builtins.property
|
279
|
+
@pulumi.getter(name="oracleDefinedSeverity")
|
280
|
+
def oracle_defined_severity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
281
|
+
"""
|
282
|
+
The severity of the finding as determined by security assessment. This cannot be modified by user.
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "oracle_defined_severity")
|
285
|
+
|
286
|
+
@oracle_defined_severity.setter
|
287
|
+
def oracle_defined_severity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
288
|
+
pulumi.set(self, "oracle_defined_severity", value)
|
289
|
+
|
290
|
+
@_builtins.property
|
291
|
+
@pulumi.getter(name="patchOperations")
|
292
|
+
def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]]:
|
293
|
+
"""
|
294
|
+
(Updatable)
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "patch_operations")
|
297
|
+
|
298
|
+
@patch_operations.setter
|
299
|
+
def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingPatchOperationArgs']]]]):
|
300
|
+
pulumi.set(self, "patch_operations", value)
|
301
|
+
|
302
|
+
@_builtins.property
|
303
|
+
@pulumi.getter
|
304
|
+
def references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingReferenceArgs']]]]:
|
305
|
+
"""
|
306
|
+
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "references")
|
309
|
+
|
310
|
+
@references.setter
|
311
|
+
def references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentFindingReferenceArgs']]]]):
|
312
|
+
pulumi.set(self, "references", value)
|
313
|
+
|
314
|
+
@_builtins.property
|
315
|
+
@pulumi.getter
|
316
|
+
def remarks(self) -> Optional[pulumi.Input[_builtins.str]]:
|
317
|
+
"""
|
318
|
+
The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "remarks")
|
321
|
+
|
322
|
+
@remarks.setter
|
323
|
+
def remarks(self, value: Optional[pulumi.Input[_builtins.str]]):
|
324
|
+
pulumi.set(self, "remarks", value)
|
325
|
+
|
326
|
+
@_builtins.property
|
327
|
+
@pulumi.getter(name="securityAssessmentId")
|
328
|
+
def security_assessment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
329
|
+
"""
|
330
|
+
** IMPORTANT **
|
331
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
332
|
+
"""
|
333
|
+
return pulumi.get(self, "security_assessment_id")
|
334
|
+
|
335
|
+
@security_assessment_id.setter
|
336
|
+
def security_assessment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
337
|
+
pulumi.set(self, "security_assessment_id", value)
|
338
|
+
|
339
|
+
@_builtins.property
|
340
|
+
@pulumi.getter
|
341
|
+
def severity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
342
|
+
"""
|
343
|
+
The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "severity")
|
346
|
+
|
347
|
+
@severity.setter
|
348
|
+
def severity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
349
|
+
pulumi.set(self, "severity", value)
|
350
|
+
|
351
|
+
@_builtins.property
|
352
|
+
@pulumi.getter
|
353
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
354
|
+
"""
|
355
|
+
The current state of the finding.
|
356
|
+
"""
|
357
|
+
return pulumi.get(self, "state")
|
358
|
+
|
359
|
+
@state.setter
|
360
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
361
|
+
pulumi.set(self, "state", value)
|
362
|
+
|
363
|
+
@_builtins.property
|
364
|
+
@pulumi.getter
|
365
|
+
def summary(self) -> Optional[pulumi.Input[_builtins.str]]:
|
366
|
+
"""
|
367
|
+
The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "summary")
|
370
|
+
|
371
|
+
@summary.setter
|
372
|
+
def summary(self, value: Optional[pulumi.Input[_builtins.str]]):
|
373
|
+
pulumi.set(self, "summary", value)
|
374
|
+
|
375
|
+
@_builtins.property
|
376
|
+
@pulumi.getter(name="targetId")
|
377
|
+
def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
378
|
+
"""
|
379
|
+
The OCID of the target database.
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "target_id")
|
382
|
+
|
383
|
+
@target_id.setter
|
384
|
+
def target_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
385
|
+
pulumi.set(self, "target_id", value)
|
386
|
+
|
387
|
+
@_builtins.property
|
388
|
+
@pulumi.getter(name="timeUpdated")
|
389
|
+
def time_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
390
|
+
"""
|
391
|
+
The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
392
|
+
"""
|
393
|
+
return pulumi.get(self, "time_updated")
|
394
|
+
|
395
|
+
@time_updated.setter
|
396
|
+
def time_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
397
|
+
pulumi.set(self, "time_updated", value)
|
398
|
+
|
399
|
+
@_builtins.property
|
400
|
+
@pulumi.getter(name="timeValidUntil")
|
401
|
+
def time_valid_until(self) -> Optional[pulumi.Input[_builtins.str]]:
|
402
|
+
"""
|
403
|
+
The time until which the change in severity(deferred / modified) of this finding is valid.
|
404
|
+
"""
|
405
|
+
return pulumi.get(self, "time_valid_until")
|
406
|
+
|
407
|
+
@time_valid_until.setter
|
408
|
+
def time_valid_until(self, value: Optional[pulumi.Input[_builtins.str]]):
|
409
|
+
pulumi.set(self, "time_valid_until", value)
|
410
|
+
|
411
|
+
@_builtins.property
|
412
|
+
@pulumi.getter
|
413
|
+
def title(self) -> Optional[pulumi.Input[_builtins.str]]:
|
414
|
+
"""
|
415
|
+
The short title for the finding.
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "title")
|
418
|
+
|
419
|
+
@title.setter
|
420
|
+
def title(self, value: Optional[pulumi.Input[_builtins.str]]):
|
421
|
+
pulumi.set(self, "title", value)
|
422
|
+
|
423
|
+
|
424
|
+
@pulumi.type_token("oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding")
|
425
|
+
class SecurityAssessmentFinding(pulumi.CustomResource):
|
426
|
+
@overload
|
427
|
+
def __init__(__self__,
|
428
|
+
resource_name: str,
|
429
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
430
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingPatchOperationArgs', 'SecurityAssessmentFindingPatchOperationArgsDict']]]]] = None,
|
431
|
+
security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
432
|
+
__props__=None):
|
433
|
+
"""
|
434
|
+
This resource provides the Security Assessment Finding resource in Oracle Cloud Infrastructure Data Safe service.
|
435
|
+
|
436
|
+
Patches one or more findings in the specified template baseline type security assessment. Use it to modify max allowed risk level in template baseline.
|
437
|
+
|
438
|
+
## Example Usage
|
439
|
+
|
440
|
+
```python
|
441
|
+
import pulumi
|
442
|
+
import pulumi_oci as oci
|
443
|
+
|
444
|
+
test_security_assessment_finding = oci.datasafe.SecurityAssessmentFinding("test_security_assessment_finding",
|
445
|
+
security_assessment_id=test_security_assessment["id"],
|
446
|
+
patch_operations=[{
|
447
|
+
"operation": security_assessment_finding_patch_operations_operation,
|
448
|
+
"selection": security_assessment_finding_patch_operations_selection,
|
449
|
+
"value": security_assessment_finding_patch_operations_value,
|
450
|
+
}])
|
451
|
+
```
|
452
|
+
|
453
|
+
## Import
|
454
|
+
|
455
|
+
SecurityAssessmentFindings can be imported using the `id`, e.g.
|
456
|
+
|
457
|
+
```sh
|
458
|
+
$ pulumi import oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding test_security_assessment_finding "securityAssessments/{securityAssessmentId}/findings"
|
459
|
+
```
|
460
|
+
|
461
|
+
:param str resource_name: The name of the resource.
|
462
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
463
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingPatchOperationArgs', 'SecurityAssessmentFindingPatchOperationArgsDict']]]] patch_operations: (Updatable)
|
464
|
+
:param pulumi.Input[_builtins.str] security_assessment_id: ** IMPORTANT **
|
465
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
466
|
+
"""
|
467
|
+
...
|
468
|
+
@overload
|
469
|
+
def __init__(__self__,
|
470
|
+
resource_name: str,
|
471
|
+
args: SecurityAssessmentFindingArgs,
|
472
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
473
|
+
"""
|
474
|
+
This resource provides the Security Assessment Finding resource in Oracle Cloud Infrastructure Data Safe service.
|
475
|
+
|
476
|
+
Patches one or more findings in the specified template baseline type security assessment. Use it to modify max allowed risk level in template baseline.
|
477
|
+
|
478
|
+
## Example Usage
|
479
|
+
|
480
|
+
```python
|
481
|
+
import pulumi
|
482
|
+
import pulumi_oci as oci
|
483
|
+
|
484
|
+
test_security_assessment_finding = oci.datasafe.SecurityAssessmentFinding("test_security_assessment_finding",
|
485
|
+
security_assessment_id=test_security_assessment["id"],
|
486
|
+
patch_operations=[{
|
487
|
+
"operation": security_assessment_finding_patch_operations_operation,
|
488
|
+
"selection": security_assessment_finding_patch_operations_selection,
|
489
|
+
"value": security_assessment_finding_patch_operations_value,
|
490
|
+
}])
|
491
|
+
```
|
492
|
+
|
493
|
+
## Import
|
494
|
+
|
495
|
+
SecurityAssessmentFindings can be imported using the `id`, e.g.
|
496
|
+
|
497
|
+
```sh
|
498
|
+
$ pulumi import oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding test_security_assessment_finding "securityAssessments/{securityAssessmentId}/findings"
|
499
|
+
```
|
500
|
+
|
501
|
+
:param str resource_name: The name of the resource.
|
502
|
+
:param SecurityAssessmentFindingArgs args: The arguments to use to populate this resource's properties.
|
503
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
504
|
+
"""
|
505
|
+
...
|
506
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
507
|
+
resource_args, opts = _utilities.get_resource_args_opts(SecurityAssessmentFindingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
508
|
+
if resource_args is not None:
|
509
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
510
|
+
else:
|
511
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
512
|
+
|
513
|
+
def _internal_init(__self__,
|
514
|
+
resource_name: str,
|
515
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
516
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingPatchOperationArgs', 'SecurityAssessmentFindingPatchOperationArgsDict']]]]] = None,
|
517
|
+
security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
518
|
+
__props__=None):
|
519
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
520
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
521
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
522
|
+
if opts.id is None:
|
523
|
+
if __props__ is not None:
|
524
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
525
|
+
__props__ = SecurityAssessmentFindingArgs.__new__(SecurityAssessmentFindingArgs)
|
526
|
+
|
527
|
+
__props__.__dict__["patch_operations"] = patch_operations
|
528
|
+
if security_assessment_id is None and not opts.urn:
|
529
|
+
raise TypeError("Missing required property 'security_assessment_id'")
|
530
|
+
__props__.__dict__["security_assessment_id"] = security_assessment_id
|
531
|
+
__props__.__dict__["assessment_id"] = None
|
532
|
+
__props__.__dict__["category"] = None
|
533
|
+
__props__.__dict__["details"] = None
|
534
|
+
__props__.__dict__["has_target_db_risk_level_changed"] = None
|
535
|
+
__props__.__dict__["is_risk_modified"] = None
|
536
|
+
__props__.__dict__["is_top_finding"] = None
|
537
|
+
__props__.__dict__["justification"] = None
|
538
|
+
__props__.__dict__["key"] = None
|
539
|
+
__props__.__dict__["lifecycle_details"] = None
|
540
|
+
__props__.__dict__["oneline"] = None
|
541
|
+
__props__.__dict__["oracle_defined_severity"] = None
|
542
|
+
__props__.__dict__["references"] = None
|
543
|
+
__props__.__dict__["remarks"] = None
|
544
|
+
__props__.__dict__["severity"] = None
|
545
|
+
__props__.__dict__["state"] = None
|
546
|
+
__props__.__dict__["summary"] = None
|
547
|
+
__props__.__dict__["target_id"] = None
|
548
|
+
__props__.__dict__["time_updated"] = None
|
549
|
+
__props__.__dict__["time_valid_until"] = None
|
550
|
+
__props__.__dict__["title"] = None
|
551
|
+
super(SecurityAssessmentFinding, __self__).__init__(
|
552
|
+
'oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding',
|
553
|
+
resource_name,
|
554
|
+
__props__,
|
555
|
+
opts)
|
556
|
+
|
557
|
+
@staticmethod
|
558
|
+
def get(resource_name: str,
|
559
|
+
id: pulumi.Input[str],
|
560
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
561
|
+
assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
562
|
+
category: Optional[pulumi.Input[_builtins.str]] = None,
|
563
|
+
details: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
564
|
+
has_target_db_risk_level_changed: Optional[pulumi.Input[_builtins.bool]] = None,
|
565
|
+
is_risk_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
566
|
+
is_top_finding: Optional[pulumi.Input[_builtins.bool]] = None,
|
567
|
+
justification: Optional[pulumi.Input[_builtins.str]] = None,
|
568
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
569
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
570
|
+
oneline: Optional[pulumi.Input[_builtins.str]] = None,
|
571
|
+
oracle_defined_severity: Optional[pulumi.Input[_builtins.str]] = None,
|
572
|
+
patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingPatchOperationArgs', 'SecurityAssessmentFindingPatchOperationArgsDict']]]]] = None,
|
573
|
+
references: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingReferenceArgs', 'SecurityAssessmentFindingReferenceArgsDict']]]]] = None,
|
574
|
+
remarks: Optional[pulumi.Input[_builtins.str]] = None,
|
575
|
+
security_assessment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
576
|
+
severity: Optional[pulumi.Input[_builtins.str]] = None,
|
577
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
578
|
+
summary: Optional[pulumi.Input[_builtins.str]] = None,
|
579
|
+
target_id: Optional[pulumi.Input[_builtins.str]] = None,
|
580
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
581
|
+
time_valid_until: Optional[pulumi.Input[_builtins.str]] = None,
|
582
|
+
title: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecurityAssessmentFinding':
|
583
|
+
"""
|
584
|
+
Get an existing SecurityAssessmentFinding resource's state with the given name, id, and optional extra
|
585
|
+
properties used to qualify the lookup.
|
586
|
+
|
587
|
+
:param str resource_name: The unique name of the resulting resource.
|
588
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
589
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
590
|
+
:param pulumi.Input[_builtins.str] assessment_id: The OCID of the assessment that generated this finding.
|
591
|
+
:param pulumi.Input[_builtins.str] category: The category to which the finding belongs to.
|
592
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] details: The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
|
593
|
+
:param pulumi.Input[_builtins.bool] has_target_db_risk_level_changed: Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
|
594
|
+
:param pulumi.Input[_builtins.bool] is_risk_modified: Determines if this risk level was modified by user.
|
595
|
+
:param pulumi.Input[_builtins.bool] is_top_finding: Indicates whether a given finding is marked as topFinding or not.
|
596
|
+
:param pulumi.Input[_builtins.str] justification: User provided reason for accepting or modifying this finding if they choose to do so.
|
597
|
+
:param pulumi.Input[_builtins.str] key: The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
|
598
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details about the current state of the finding.
|
599
|
+
:param pulumi.Input[_builtins.str] oneline: Provides a recommended approach to take to remediate the finding reported.
|
600
|
+
:param pulumi.Input[_builtins.str] oracle_defined_severity: The severity of the finding as determined by security assessment. This cannot be modified by user.
|
601
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingPatchOperationArgs', 'SecurityAssessmentFindingPatchOperationArgsDict']]]] patch_operations: (Updatable)
|
602
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['SecurityAssessmentFindingReferenceArgs', 'SecurityAssessmentFindingReferenceArgsDict']]]] references: Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
|
603
|
+
:param pulumi.Input[_builtins.str] remarks: The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
|
604
|
+
:param pulumi.Input[_builtins.str] security_assessment_id: ** IMPORTANT **
|
605
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
606
|
+
:param pulumi.Input[_builtins.str] severity: The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
|
607
|
+
:param pulumi.Input[_builtins.str] state: The current state of the finding.
|
608
|
+
:param pulumi.Input[_builtins.str] summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
|
609
|
+
:param pulumi.Input[_builtins.str] target_id: The OCID of the target database.
|
610
|
+
:param pulumi.Input[_builtins.str] time_updated: The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
611
|
+
:param pulumi.Input[_builtins.str] time_valid_until: The time until which the change in severity(deferred / modified) of this finding is valid.
|
612
|
+
:param pulumi.Input[_builtins.str] title: The short title for the finding.
|
613
|
+
"""
|
614
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
615
|
+
|
616
|
+
__props__ = _SecurityAssessmentFindingState.__new__(_SecurityAssessmentFindingState)
|
617
|
+
|
618
|
+
__props__.__dict__["assessment_id"] = assessment_id
|
619
|
+
__props__.__dict__["category"] = category
|
620
|
+
__props__.__dict__["details"] = details
|
621
|
+
__props__.__dict__["has_target_db_risk_level_changed"] = has_target_db_risk_level_changed
|
622
|
+
__props__.__dict__["is_risk_modified"] = is_risk_modified
|
623
|
+
__props__.__dict__["is_top_finding"] = is_top_finding
|
624
|
+
__props__.__dict__["justification"] = justification
|
625
|
+
__props__.__dict__["key"] = key
|
626
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
627
|
+
__props__.__dict__["oneline"] = oneline
|
628
|
+
__props__.__dict__["oracle_defined_severity"] = oracle_defined_severity
|
629
|
+
__props__.__dict__["patch_operations"] = patch_operations
|
630
|
+
__props__.__dict__["references"] = references
|
631
|
+
__props__.__dict__["remarks"] = remarks
|
632
|
+
__props__.__dict__["security_assessment_id"] = security_assessment_id
|
633
|
+
__props__.__dict__["severity"] = severity
|
634
|
+
__props__.__dict__["state"] = state
|
635
|
+
__props__.__dict__["summary"] = summary
|
636
|
+
__props__.__dict__["target_id"] = target_id
|
637
|
+
__props__.__dict__["time_updated"] = time_updated
|
638
|
+
__props__.__dict__["time_valid_until"] = time_valid_until
|
639
|
+
__props__.__dict__["title"] = title
|
640
|
+
return SecurityAssessmentFinding(resource_name, opts=opts, __props__=__props__)
|
641
|
+
|
642
|
+
@_builtins.property
|
643
|
+
@pulumi.getter(name="assessmentId")
|
644
|
+
def assessment_id(self) -> pulumi.Output[_builtins.str]:
|
645
|
+
"""
|
646
|
+
The OCID of the assessment that generated this finding.
|
647
|
+
"""
|
648
|
+
return pulumi.get(self, "assessment_id")
|
649
|
+
|
650
|
+
@_builtins.property
|
651
|
+
@pulumi.getter
|
652
|
+
def category(self) -> pulumi.Output[_builtins.str]:
|
653
|
+
"""
|
654
|
+
The category to which the finding belongs to.
|
655
|
+
"""
|
656
|
+
return pulumi.get(self, "category")
|
657
|
+
|
658
|
+
@_builtins.property
|
659
|
+
@pulumi.getter
|
660
|
+
def details(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
661
|
+
"""
|
662
|
+
The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
|
663
|
+
"""
|
664
|
+
return pulumi.get(self, "details")
|
665
|
+
|
666
|
+
@_builtins.property
|
667
|
+
@pulumi.getter(name="hasTargetDbRiskLevelChanged")
|
668
|
+
def has_target_db_risk_level_changed(self) -> pulumi.Output[_builtins.bool]:
|
669
|
+
"""
|
670
|
+
Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
|
671
|
+
"""
|
672
|
+
return pulumi.get(self, "has_target_db_risk_level_changed")
|
673
|
+
|
674
|
+
@_builtins.property
|
675
|
+
@pulumi.getter(name="isRiskModified")
|
676
|
+
def is_risk_modified(self) -> pulumi.Output[_builtins.bool]:
|
677
|
+
"""
|
678
|
+
Determines if this risk level was modified by user.
|
679
|
+
"""
|
680
|
+
return pulumi.get(self, "is_risk_modified")
|
681
|
+
|
682
|
+
@_builtins.property
|
683
|
+
@pulumi.getter(name="isTopFinding")
|
684
|
+
def is_top_finding(self) -> pulumi.Output[_builtins.bool]:
|
685
|
+
"""
|
686
|
+
Indicates whether a given finding is marked as topFinding or not.
|
687
|
+
"""
|
688
|
+
return pulumi.get(self, "is_top_finding")
|
689
|
+
|
690
|
+
@_builtins.property
|
691
|
+
@pulumi.getter
|
692
|
+
def justification(self) -> pulumi.Output[_builtins.str]:
|
693
|
+
"""
|
694
|
+
User provided reason for accepting or modifying this finding if they choose to do so.
|
695
|
+
"""
|
696
|
+
return pulumi.get(self, "justification")
|
697
|
+
|
698
|
+
@_builtins.property
|
699
|
+
@pulumi.getter
|
700
|
+
def key(self) -> pulumi.Output[_builtins.str]:
|
701
|
+
"""
|
702
|
+
The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
|
703
|
+
"""
|
704
|
+
return pulumi.get(self, "key")
|
705
|
+
|
706
|
+
@_builtins.property
|
707
|
+
@pulumi.getter(name="lifecycleDetails")
|
708
|
+
def lifecycle_details(self) -> pulumi.Output[_builtins.str]:
|
709
|
+
"""
|
710
|
+
Details about the current state of the finding.
|
711
|
+
"""
|
712
|
+
return pulumi.get(self, "lifecycle_details")
|
713
|
+
|
714
|
+
@_builtins.property
|
715
|
+
@pulumi.getter
|
716
|
+
def oneline(self) -> pulumi.Output[_builtins.str]:
|
717
|
+
"""
|
718
|
+
Provides a recommended approach to take to remediate the finding reported.
|
719
|
+
"""
|
720
|
+
return pulumi.get(self, "oneline")
|
721
|
+
|
722
|
+
@_builtins.property
|
723
|
+
@pulumi.getter(name="oracleDefinedSeverity")
|
724
|
+
def oracle_defined_severity(self) -> pulumi.Output[_builtins.str]:
|
725
|
+
"""
|
726
|
+
The severity of the finding as determined by security assessment. This cannot be modified by user.
|
727
|
+
"""
|
728
|
+
return pulumi.get(self, "oracle_defined_severity")
|
729
|
+
|
730
|
+
@_builtins.property
|
731
|
+
@pulumi.getter(name="patchOperations")
|
732
|
+
def patch_operations(self) -> pulumi.Output[Optional[Sequence['outputs.SecurityAssessmentFindingPatchOperation']]]:
|
733
|
+
"""
|
734
|
+
(Updatable)
|
735
|
+
"""
|
736
|
+
return pulumi.get(self, "patch_operations")
|
737
|
+
|
738
|
+
@_builtins.property
|
739
|
+
@pulumi.getter
|
740
|
+
def references(self) -> pulumi.Output[Sequence['outputs.SecurityAssessmentFindingReference']]:
|
741
|
+
"""
|
742
|
+
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
|
743
|
+
"""
|
744
|
+
return pulumi.get(self, "references")
|
745
|
+
|
746
|
+
@_builtins.property
|
747
|
+
@pulumi.getter
|
748
|
+
def remarks(self) -> pulumi.Output[_builtins.str]:
|
749
|
+
"""
|
750
|
+
The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
|
751
|
+
"""
|
752
|
+
return pulumi.get(self, "remarks")
|
753
|
+
|
754
|
+
@_builtins.property
|
755
|
+
@pulumi.getter(name="securityAssessmentId")
|
756
|
+
def security_assessment_id(self) -> pulumi.Output[_builtins.str]:
|
757
|
+
"""
|
758
|
+
** IMPORTANT **
|
759
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
760
|
+
"""
|
761
|
+
return pulumi.get(self, "security_assessment_id")
|
762
|
+
|
763
|
+
@_builtins.property
|
764
|
+
@pulumi.getter
|
765
|
+
def severity(self) -> pulumi.Output[_builtins.str]:
|
766
|
+
"""
|
767
|
+
The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
|
768
|
+
"""
|
769
|
+
return pulumi.get(self, "severity")
|
770
|
+
|
771
|
+
@_builtins.property
|
772
|
+
@pulumi.getter
|
773
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
774
|
+
"""
|
775
|
+
The current state of the finding.
|
776
|
+
"""
|
777
|
+
return pulumi.get(self, "state")
|
778
|
+
|
779
|
+
@_builtins.property
|
780
|
+
@pulumi.getter
|
781
|
+
def summary(self) -> pulumi.Output[_builtins.str]:
|
782
|
+
"""
|
783
|
+
The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
|
784
|
+
"""
|
785
|
+
return pulumi.get(self, "summary")
|
786
|
+
|
787
|
+
@_builtins.property
|
788
|
+
@pulumi.getter(name="targetId")
|
789
|
+
def target_id(self) -> pulumi.Output[_builtins.str]:
|
790
|
+
"""
|
791
|
+
The OCID of the target database.
|
792
|
+
"""
|
793
|
+
return pulumi.get(self, "target_id")
|
794
|
+
|
795
|
+
@_builtins.property
|
796
|
+
@pulumi.getter(name="timeUpdated")
|
797
|
+
def time_updated(self) -> pulumi.Output[_builtins.str]:
|
798
|
+
"""
|
799
|
+
The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
800
|
+
"""
|
801
|
+
return pulumi.get(self, "time_updated")
|
802
|
+
|
803
|
+
@_builtins.property
|
804
|
+
@pulumi.getter(name="timeValidUntil")
|
805
|
+
def time_valid_until(self) -> pulumi.Output[_builtins.str]:
|
806
|
+
"""
|
807
|
+
The time until which the change in severity(deferred / modified) of this finding is valid.
|
808
|
+
"""
|
809
|
+
return pulumi.get(self, "time_valid_until")
|
810
|
+
|
811
|
+
@_builtins.property
|
812
|
+
@pulumi.getter
|
813
|
+
def title(self) -> pulumi.Output[_builtins.str]:
|
814
|
+
"""
|
815
|
+
The short title for the finding.
|
816
|
+
"""
|
817
|
+
return pulumi.get(self, "title")
|
818
|
+
|