@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class FindingSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The particular finding reported by the security assessment.
Note: Objects should always be created or deserialized using the FindingSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the FindingSummary.Builder
, which maintain a
set of all explicitly set fields called FindingSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
FindingSummary.Builder |
static class |
FindingSummary.Severity
The severity of the finding as determined by security assessment and is same as
oracleDefinedSeverity, unless modified by user.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
FindingSummary(FindingSummary.Severity severity,
String assessmentId,
String targetId,
String key,
Boolean isTopFinding,
String title,
String remarks,
Object details,
String summary,
String oneline,
References references,
Finding.Severity oracleDefinedSeverity,
Boolean isRiskModified,
Boolean hasTargetDbRiskLevelChanged,
String justification,
Date timeValidUntil,
Date timeUpdated,
FindingLifecycleState lifecycleState,
String lifecycleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static FindingSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAssessmentId()
The OCID of the assessment that generated this finding.
|
Object |
getDetails()
The details of the finding.
|
Boolean |
getHasTargetDbRiskLevelChanged()
Determines if this risk level has changed on the target database since the last time
‘severity’ was modified by user.
|
Boolean |
getIsRiskModified()
Determines if this risk level was modified by user.
|
Boolean |
getIsTopFinding()
Indicates whether a given finding is marked as topFinding or not.
|
String |
getJustification()
User provided reason for accepting or modifying this finding if they choose to do so.
|
String |
getKey()
The unique finding key.
|
String |
getLifecycleDetails()
Details about the current state of the finding.
|
FindingLifecycleState |
getLifecycleState()
The current state of the finding.
|
String |
getOneline()
Provides a recommended approach to take to remediate the finding reported.
|
Finding.Severity |
getOracleDefinedSeverity()
The severity of the finding as determined by security assessment.
|
References |
getReferences()
Provides information on whether the finding is related to a CIS Oracle Database Benchmark
recommendation, a STIG rule, or a GDPR Article/Recital.
|
String |
getRemarks()
The explanation of the issue in this finding.
|
FindingSummary.Severity |
getSeverity()
The severity of the finding as determined by security assessment and is same as
oracleDefinedSeverity, unless modified by user.
|
String |
getSummary()
The brief summary of the finding.
|
String |
getTargetId()
The OCID of the target database.
|
Date |
getTimeUpdated()
The date and time the risk level of finding was last updated, in the format defined by
RFC3339.
|
Date |
getTimeValidUntil()
The time until which the change in severity(deferred / modified) of this finding is valid.
|
String |
getTitle()
The short title for the finding.
|
int |
hashCode() |
FindingSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"severity","assessmentId","targetId","key","isTopFinding","title","remarks","details","summary","oneline","references","oracleDefinedSeverity","isRiskModified","hasTargetDbRiskLevelChanged","justification","timeValidUntil","timeUpdated","lifecycleState","lifecycleDetails"}) public FindingSummary(FindingSummary.Severity severity, String assessmentId, String targetId, String key, Boolean isTopFinding, String title, String remarks, Object details, String summary, String oneline, References references, Finding.Severity oracleDefinedSeverity, Boolean isRiskModified, Boolean hasTargetDbRiskLevelChanged, String justification, Date timeValidUntil, Date timeUpdated, FindingLifecycleState lifecycleState, String lifecycleDetails)
public static FindingSummary.Builder builder()
Create a new builder.
public FindingSummary.Builder toBuilder()
public FindingSummary.Severity getSeverity()
The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
public String getAssessmentId()
The OCID of the assessment that generated this finding.
public String getTargetId()
The OCID of the target database.
public String getKey()
The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
public Boolean getIsTopFinding()
Indicates whether a given finding is marked as topFinding or not.
public String getTitle()
The short title for the finding.
public String getRemarks()
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.
public Object getDetails()
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.
public String getSummary()
The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
public String getOneline()
Provides a recommended approach to take to remediate the finding reported.
public References getReferences()
Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
public Finding.Severity getOracleDefinedSeverity()
The severity of the finding as determined by security assessment. This cannot be modified by user.
public Boolean getIsRiskModified()
Determines if this risk level was modified by user.
public Boolean getHasTargetDbRiskLevelChanged()
Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.
public String getJustification()
User provided reason for accepting or modifying this finding if they choose to do so.
public Date getTimeValidUntil()
The time until which the change in severity(deferred / modified) of this finding is valid.
public Date getTimeUpdated()
The date and time the risk level of finding was last updated, in the format defined by RFC3339.
public FindingLifecycleState getLifecycleState()
The current state of the finding.
public String getLifecycleDetails()
Details about the current state of the finding.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.