@Generated(value="software.amazon.awssdk:codegen") public final class Workflow extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Workflow.Builder,Workflow>
Provides information about the status of the investigation into a finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Workflow.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Workflow.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Workflow.Builder> |
serializableBuilderClass() |
WorkflowStatus |
status()
The status of the investigation into the finding.
|
String |
statusAsString()
The status of the investigation into the finding.
|
Workflow.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WorkflowStatus status()
The status of the investigation into the finding. The workflow status is specific to an individual finding. It
does not affect the generation of new findings. For example, setting the workflow status to
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets the workflow status from NOTIFIED or RESOLVED to
NEW in the following cases:
RecordState changes from ARCHIVED to ACTIVE.
ComplianceStatus changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the
initial reviewer is not the resource owner, and needs intervention from the resource owner.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets the workflow status from NOTIFIED or RESOLVED to
NEW in the following cases:
RecordState changes from ARCHIVED to ACTIVE.
ComplianceStatus changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used
when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
WorkflowStatuspublic final String statusAsString()
The status of the investigation into the finding. The workflow status is specific to an individual finding. It
does not affect the generation of new findings. For example, setting the workflow status to
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets the workflow status from NOTIFIED or RESOLVED to
NEW in the following cases:
RecordState changes from ARCHIVED to ACTIVE.
ComplianceStatus changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the
initial reviewer is not the resource owner, and needs intervention from the resource owner.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
NEW - The initial state of a finding, before it is reviewed.
Security Hub also resets the workflow status from NOTIFIED or RESOLVED to
NEW in the following cases:
RecordState changes from ARCHIVED to ACTIVE.
ComplianceStatus changes from PASSED to either WARNING,
FAILED, or NOT_AVAILABLE.
NOTIFIED - Indicates that you notified the resource owner about the security issue. Used
when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
SUPPRESSED - Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
RESOLVED - The finding was reviewed and remediated and is now considered resolved.
WorkflowStatuspublic Workflow.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Workflow.Builder,Workflow>public static Workflow.Builder builder()
public static Class<? extends Workflow.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.