ValidateSecurityProfileBehaviors - AWS IoT
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

ValidateSecurityProfileBehaviors

验证 AWS IoT Device Defender 安全配置文件行为规范。

有关更多信息,请参阅 API 参考中的 ValidateSecurityProfileBehaviors

摘要:

aws iot validate-security-profile-behaviors \ --behaviors <value> \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json 格式:

{ "behaviors": [ { "name": "string", "metricDimension": [ "string" ], "metric": "string", "criteria": { "comparisonOperator": "string", "value": { "count": "long", "cidrs": [ "string" ], "ports": [ "integer" ] }, "durationSeconds": "integer", "consecutiveDatapointsToAlarm": "integer", "consecutiveDatapointsToClear": "integer", "statisticalThreshold": { "statistic": "string" } } } ] }

输出:

{ "valid": "boolean", "validationErrors": [ { "errorMessage": "string" } ] }