@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workflow extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status of the investigation into a finding.
Constructor and Description |
---|
Workflow() |
Modifier and Type | Method and Description |
---|---|
Workflow |
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.
|
Workflow |
withStatus(String status)
The status of the investigation into the finding.
|
Workflow |
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 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
status
- The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
WorkflowStatus
public String getStatus()
The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
WorkflowStatus
public Workflow withStatus(String status)
The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
status
- The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
WorkflowStatus
public Workflow withStatus(WorkflowStatus status)
The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
status
- The status of the investigation into the finding. 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
- The finding will not be reviewed again and will not be acted upon.
RESOLVED
- The finding was reviewed and remediated and is now considered resolved.
WorkflowStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.