public static class FindingSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FindingSummary.Builder |
assessmentId(String assessmentId)
The OCID of the assessment that generated this finding.
|
FindingSummary |
build() |
FindingSummary.Builder |
copy(FindingSummary model) |
FindingSummary.Builder |
details(Object details)
The details of the finding.
|
FindingSummary.Builder |
hasTargetDbRiskLevelChanged(Boolean hasTargetDbRiskLevelChanged)
Determines if this risk level has changed on the target database since the last time
‘severity’ was modified by user.
|
FindingSummary.Builder |
isRiskModified(Boolean isRiskModified)
Determines if this risk level was modified by user.
|
FindingSummary.Builder |
isTopFinding(Boolean isTopFinding)
Indicates whether a given finding is marked as topFinding or not.
|
FindingSummary.Builder |
justification(String justification)
User provided reason for accepting or modifying this finding if they choose to do so.
|
FindingSummary.Builder |
key(String key)
The unique finding key.
|
FindingSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the finding.
|
FindingSummary.Builder |
lifecycleState(FindingLifecycleState lifecycleState)
The current state of the finding.
|
FindingSummary.Builder |
oneline(String oneline)
Provides a recommended approach to take to remediate the finding reported.
|
FindingSummary.Builder |
oracleDefinedSeverity(Finding.Severity oracleDefinedSeverity)
The severity of the finding as determined by security assessment.
|
FindingSummary.Builder |
references(References references)
Provides information on whether the finding is related to a CIS Oracle Database Benchmark
recommendation, a STIG rule, or a GDPR Article/Recital.
|
FindingSummary.Builder |
remarks(String remarks)
The explanation of the issue in this finding.
|
FindingSummary.Builder |
severity(FindingSummary.Severity severity)
The severity of the finding as determined by security assessment and is same as
oracleDefinedSeverity, unless modified by user.
|
FindingSummary.Builder |
summary(String summary)
The brief summary of the finding.
|
FindingSummary.Builder |
targetId(String targetId)
The OCID of the target database.
|
FindingSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the risk level of finding was last updated, in the format defined by
RFC3339.
|
FindingSummary.Builder |
timeValidUntil(Date timeValidUntil)
The time until which the change in severity(deferred / modified) of this finding is
valid.
|
FindingSummary.Builder |
title(String title)
The short title for the finding.
|
public FindingSummary.Builder severity(FindingSummary.Severity severity)
The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
severity
- the value to setpublic FindingSummary.Builder assessmentId(String assessmentId)
The OCID of the assessment that generated this finding.
assessmentId
- the value to setpublic FindingSummary.Builder targetId(String targetId)
The OCID of the target database.
targetId
- the value to setpublic FindingSummary.Builder key(String key)
The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
key
- the value to setpublic FindingSummary.Builder isTopFinding(Boolean isTopFinding)
Indicates whether a given finding is marked as topFinding or not.
isTopFinding
- the value to setpublic FindingSummary.Builder title(String title)
The short title for the finding.
title
- the value to setpublic FindingSummary.Builder remarks(String 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.
remarks
- the value to setpublic FindingSummary.Builder details(Object 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.
details
- the value to setpublic FindingSummary.Builder summary(String 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.
summary
- the value to setpublic FindingSummary.Builder oneline(String oneline)
Provides a recommended approach to take to remediate the finding reported.
oneline
- the value to setpublic FindingSummary.Builder references(References references)
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
references
- the value to setpublic FindingSummary.Builder oracleDefinedSeverity(Finding.Severity oracleDefinedSeverity)
The severity of the finding as determined by security assessment. This cannot be modified by user.
oracleDefinedSeverity
- the value to setpublic FindingSummary.Builder isRiskModified(Boolean isRiskModified)
Determines if this risk level was modified by user.
isRiskModified
- the value to setpublic FindingSummary.Builder hasTargetDbRiskLevelChanged(Boolean hasTargetDbRiskLevelChanged)
Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.
hasTargetDbRiskLevelChanged
- the value to setpublic FindingSummary.Builder justification(String justification)
User provided reason for accepting or modifying this finding if they choose to do so.
justification
- the value to setpublic FindingSummary.Builder timeValidUntil(Date timeValidUntil)
The time until which the change in severity(deferred / modified) of this finding is valid.
timeValidUntil
- the value to setpublic FindingSummary.Builder timeUpdated(Date timeUpdated)
The date and time the risk level of finding was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic FindingSummary.Builder lifecycleState(FindingLifecycleState lifecycleState)
The current state of the finding.
lifecycleState
- the value to setpublic FindingSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the finding.
lifecycleDetails
- the value to setpublic FindingSummary build()
public FindingSummary.Builder copy(FindingSummary model)
Copyright © 2016–2024. All rights reserved.