@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Used to update information about the investigation into the finding.
Constructor and Description |
---|
WorkflowUpdate() |
Modifier and Type | Method and Description |
---|---|
WorkflowUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the investigation into the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The status of the investigation into the finding.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowUpdate |
withStatus(String status)
The status of the investigation into the finding.
|
WorkflowUpdate |
withStatus(WorkflowStatus status)
The status of the investigation into the finding.
|
public void setStatus(String 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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to
NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatus
public String getStatus()
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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to
NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatus
public WorkflowUpdate withStatus(String 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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to
NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatus
public WorkflowUpdate withStatus(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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to
NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is needed.
The finding is no longer updated.
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 WorkFlowStatus
from NOTIFIED
or RESOLVED
to NEW
in the following cases:
The record state changes from ARCHIVED
to ACTIVE
.
The compliance status 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.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
SUPPRESSED
- Indicates that you reviewed the finding and do not believe that any action is
needed. The finding is no longer updated.
WorkflowStatus
public String toString()
toString
in class Object
Object.toString()
public WorkflowUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.