@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class Finding 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 Finding.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 Finding.Builder
, which maintain a
set of all explicitly set fields called Finding.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 |
Finding.Builder |
static class |
Finding.Severity
The severity of the finding.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static Finding.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.
|
String |
getJustification()
User provided reason for accepting or modifying this finding if they choose to do so.
|
String |
getKey()
A unique identifier for the finding.
|
String |
getLifecycleDetails()
Details about the current state of the finding.
|
FindingLifecycleState |
getLifecycleState()
The current state of the finding.
|
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, STIG rule, or related to a GDPR Article/Recital.
|
String |
getRemarks()
The explanation of the issue in this finding.
|
Finding.Severity |
getSeverity()
The severity of the finding.
|
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() |
Finding.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static Finding.Builder builder()
Create a new builder.
public Finding.Builder toBuilder()
public String getKey()
A unique identifier for the finding. This is common for the finding across targets.
public Finding.Severity getSeverity()
The severity of the finding.
public String getAssessmentId()
The OCID of the assessment that generated this finding.
public String getTargetId()
The OCID of the target database.
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 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.
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.