

# Detect 命令
<a name="detect-commands"></a>

您可以使用本部分中的 Detect 命令来配置 ML Detect 或规 Rules Detect 安全配置文件，以识别和监控可能表明设备受到危害的异常行为。


**DetectMitigation 操作命令**  

|  启动和管理 Detect 执行  | 
| --- | 
| [CancelDetectMitigationActionsTask](https://docs.aws.amazon.com/iot/latest/apireference/API_CancelDetectMitigationActionsTask.html) | 
| [DescribeDetectMitigationActionsTask](https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeDetectMitigationActionsTask.html) | 
| [ListDetectMitigationActionsTasks](https://docs.aws.amazon.com/iot/latest/apireference/API_ListDetectMitigationActionsTasks.html) | 
| [StartDetectMitigationActionsTask](https://docs.aws.amazon.com/iot/latest/apireference/API_StartDetectMitigationActionsTask.html) | 
| [ListDetectMitigationActionsExecutions](https://docs.aws.amazon.com/iot/latest/apireference/API_ListDetectMitigationActionsExecutions.html) | 


**维度操作命令**  

|  启动和管理维度执行  | 
| --- | 
|  [CreateDimension](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateDimension.html)  | 
|  [DescribeDimension](https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeDimension.html)  | 
|  [ListDimensions](https://docs.aws.amazon.com/iot/latest/apireference/API_ListDimensions.html)  | 
|  [DeleteDimension](https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteDimension.html)  | 
|  [UpdateDimension](https://docs.aws.amazon.com/iot/latest/apireference/API_UpdateDimension.html)  | 


**CustomMetric 操作命令**  

|  启动和管理 CustomMetric 执行  | 
| --- | 
| [CreateCustomMetric](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateCustomMetric.html) | 
| [UpdateCustomMetric](https://docs.aws.amazon.com/iot/latest/apireference/API_UpdateCustomMetric.html)  | 
| [DescribeCustomMetric](https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeCustomMetric.html)  | 
| [ListCustomMetrics](https://docs.aws.amazon.com/iot/latest/apireference/API_ListCustomMetrics.html) | 
| [DeleteCustomMetric](https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteCustomMetric.html)  | 


**安全配置文件操作命令**  

|  启动和管理安全配置文件执行  | 
| --- | 
| [CreateSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateSecurityProfile.html)  | 
| [AttachSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_AttachSecurityProfile.html)  | 
| [DetachSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_DetachSecurityProfile.html) | 
| [DeleteSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteSecurityProfile.html)  | 
| [DescribeSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeSecurityProfile.html) | 
| [ListTargetsForSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_ListTargetsForSecurityProfile.html) | 
| [UpdateSecurityProfile](https://docs.aws.amazon.com/iot/latest/apireference/API_UpdateSecurityProfile.html) | 
| [ValidateSecurityProfileBehaviors](https://docs.aws.amazon.com/iot/latest/apireference/API_ValidateSecurityProfileBehaviors.html) | 
|  [ListSecurityProfilesForTarget](https://docs.aws.amazon.com/iot/latest/apireference/API_ListSecurityProfilesForTarget.html)  | 


**告警操作命令**  

|  管理告警和目标  | 
| --- | 
| [ListActiveViolations](https://docs.aws.amazon.com/iot/latest/apireference/API_ListActiveViolations.html)  | 
| [ListViolationEvents](https://docs.aws.amazon.com/iot/latest/apireference/API_ListViolationEvents.html) | 
| [PutVerificationStateOnViolation](https://docs.aws.amazon.com/iot/latest/apireference/API_PutVerificationStateOnViolation.html) | 


**ML Detect 操作命令**  

|  列出 ML 模型训练数据  | 
| --- | 
| [GetBehaviorModelTrainingSummaries](https://docs.aws.amazon.com/iot/latest/apireference/API_GetBehaviorModelTrainingSummaries.html)  | 