Package com.oracle.bmc.datasafe.model
Class FindingSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.FindingSummary
-
@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 theFindingSummary.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 theFindingSummary.Builder
, which maintain a set of all explicitly set fields calledFindingSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
FindingSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static FindingSummary.Builder builder()
Create a new builder.
-
toBuilder
public FindingSummary.Builder toBuilder()
-
getSeverity
public FindingSummary.Severity getSeverity()
The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.- Returns:
- the value
-
getAssessmentId
public String getAssessmentId()
The OCID of the assessment that generated this finding.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.- Returns:
- the value
-
getKey
public String getKey()
The unique finding key.This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
- Returns:
- the value
-
getIsTopFinding
public Boolean getIsTopFinding()
Indicates whether a given finding is marked as topFinding or not.- Returns:
- the value
-
getTitle
public String getTitle()
The short title for the finding.- Returns:
- the value
-
getRemarks
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.
- Returns:
- the value
-
getDetails
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.
- Returns:
- the value
-
getSummary
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.
- Returns:
- the value
-
getOneline
public String getOneline()
Provides a recommended approach to take to remediate the finding reported.- Returns:
- the value
-
getReferences
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.- Returns:
- the value
-
getOracleDefinedSeverity
public Finding.Severity getOracleDefinedSeverity()
The severity of the finding as determined by security assessment.This cannot be modified by user.
- Returns:
- the value
-
getIsRiskModified
public Boolean getIsRiskModified()
Determines if this risk level was modified by user.- Returns:
- the value
-
getHasTargetDbRiskLevelChanged
public Boolean getHasTargetDbRiskLevelChanged()
Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.- Returns:
- the value
-
getJustification
public String getJustification()
User provided reason for accepting or modifying this finding if they choose to do so.- Returns:
- the value
-
getTimeValidUntil
public Date getTimeValidUntil()
The time until which the change in severity(deferred / modified) of this finding is valid.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the risk level of finding was last updated, in the format defined by RFC3339.- Returns:
- the value
-
getLifecycleState
public FindingLifecycleState getLifecycleState()
The current state of the finding.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Details about the current state of the finding.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-