

# Detection


Contains information about the detected behavior.

## Contents


 ** anomaly **   <a name="guardduty-Type-Detection-anomaly"></a>
The details about the anomalous activity that caused GuardDuty to generate the finding.  
Type: [Anomaly](API_Anomaly.md) object  
Required: No

 ** sequence **   <a name="guardduty-Type-Detection-sequence"></a>
The details about the attack sequence.  
Type: [Sequence](API_Sequence.md) object  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/guardduty-2017-11-28/Detection) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/Detection) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/Detection) 