Package com.oracle.bmc.datasafe.model
Class Finding
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.Finding
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class Finding extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe particular finding reported by the security assessment.
 Note: Objects should always be created or deserialized using theFinding.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 theFinding.Builder, which maintain a set of all explicitly set fields calledFinding.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 SummaryNested Classes Modifier and Type Class Description static classFinding.Builderstatic classFinding.SeverityThe severity of the finding.
 - 
Constructor SummaryConstructors Constructor Description Finding(String key, Finding.Severity severity, String assessmentId, String targetId, String title, String remarks, Object details, String summary, References references, Finding.Severity oracleDefinedSeverity, Boolean isRiskModified, Boolean hasTargetDbRiskLevelChanged, String justification, Date timeValidUntil, Date timeUpdated, FindingLifecycleState lifecycleState, String lifecycleDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Finding.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAssessmentId()The OCID of the assessment that generated this finding.ObjectgetDetails()The details of the finding.BooleangetHasTargetDbRiskLevelChanged()Determines if this risk level has changed on the target database since the last time ‘severity’ was modified by user.BooleangetIsRiskModified()Determines if this risk level was modified by user.StringgetJustification()User provided reason for accepting or modifying this finding if they choose to do so.StringgetKey()A unique identifier for the finding.StringgetLifecycleDetails()Details about the current state of the finding.FindingLifecycleStategetLifecycleState()The current state of the finding.Finding.SeveritygetOracleDefinedSeverity()The severity of the finding as determined by security assessment.ReferencesgetReferences()Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.StringgetRemarks()The explanation of the issue in this finding.Finding.SeveritygetSeverity()The severity of the finding.StringgetSummary()The brief summary of the finding.StringgetTargetId()The OCID of the target database.DategetTimeUpdated()The date and time the risk level of finding was last updated, in the format defined by RFC3339.DategetTimeValidUntil()The time until which the change in severity(deferred/modified) of this finding is valid.StringgetTitle()The short title for the finding.inthashCode()Finding.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Finding@Deprecated @ConstructorProperties({"key","severity","assessmentId","targetId","title","remarks","details","summary","references","oracleDefinedSeverity","isRiskModified","hasTargetDbRiskLevelChanged","justification","timeValidUntil","timeUpdated","lifecycleState","lifecycleDetails"}) public Finding(String key, Finding.Severity severity, String assessmentId, String targetId, String title, String remarks, Object details, String summary, References references, Finding.Severity oracleDefinedSeverity, Boolean isRiskModified, Boolean hasTargetDbRiskLevelChanged, String justification, Date timeValidUntil, Date timeUpdated, FindingLifecycleState lifecycleState, String lifecycleDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Finding.Builder builder() Create a new builder.
 - 
toBuilderpublic Finding.Builder toBuilder() 
 - 
getKeypublic String getKey() A unique identifier for the finding.This is common for the finding across targets. - Returns:
- the value
 
 - 
getSeveritypublic Finding.Severity getSeverity() The severity of the finding.- Returns:
- the value
 
 - 
getAssessmentIdpublic String getAssessmentId() The OCID of the assessment that generated this finding.- Returns:
- the value
 
 - 
getTargetIdpublic String getTargetId() The OCID of the target database.- Returns:
- the value
 
 - 
getTitlepublic String getTitle() The short title for the finding.- Returns:
- the value
 
 - 
getRemarkspublic 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
 
 - 
getDetailspublic 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
 
 - 
getSummarypublic 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
 
 - 
getReferencespublic References getReferences() Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.- Returns:
- the value
 
 - 
getOracleDefinedSeveritypublic Finding.Severity getOracleDefinedSeverity() The severity of the finding as determined by security assessment.This cannot be modified by user. - Returns:
- the value
 
 - 
getIsRiskModifiedpublic Boolean getIsRiskModified() Determines if this risk level was modified by user.- Returns:
- the value
 
 - 
getHasTargetDbRiskLevelChangedpublic 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
 
 - 
getJustificationpublic String getJustification() User provided reason for accepting or modifying this finding if they choose to do so.- Returns:
- the value
 
 - 
getTimeValidUntilpublic Date getTimeValidUntil() The time until which the change in severity(deferred/modified) of this finding is valid.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time the risk level of finding was last updated, in the format defined by RFC3339.- Returns:
- the value
 
 - 
getLifecycleStatepublic FindingLifecycleState getLifecycleState() The current state of the finding.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Details about the current state of the finding.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-