Class WorkflowUpdate

    • Method Detail

      • status

        public 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 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 don't believe that any action is needed. The finding is no longer updated.

        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().

        Returns:
        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 don't believe that any action is needed. The finding is no longer updated.

        See Also:
        WorkflowStatus
      • statusAsString

        public 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 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 don't believe that any action is needed. The finding is no longer updated.

        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().

        Returns:
        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 don't believe that any action is needed. The finding is no longer updated.

        See Also:
        WorkflowStatus
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)