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

ListActiveViolations

列出指定 AWS IoT Device Defender 安全配置文件的活跃违规项。

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

摘要:

aws iot list-active-violations \ [--thing-name <value>] \ [--security-profile-name <value>] \ [--next-token <value>] \ [--max-results <value>] \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json 格式:

{ "thingName": "string", "securityProfileName": "string", "nextToken": "string", "maxResults": "integer" }

输出:

{ "activeViolations": [ { "violationId": "string", "thingName": "string", "securityProfileName": "string", "behavior": { "name": "string", "dimensionNames": [ "string" ], "metric": "string", "criteria": { "comparisonOperator": "string", "value": { "count": "long", "cidrs": [ "string" ], "ports": [ "integer" ] }, "durationSeconds": "integer", "consecutiveDatapointsToAlarm": "integer", "consecutiveDatapointsToClear": "integer", "statisticalThreshold": { "statistic": "string" } } }, "lastViolationValue": { "count": "long", "cidrs": [ "string" ], "ports": [ "integer" ] }, "lastViolationTime": "timestamp", "violationStartTime": "timestamp" } ], "nextToken": "string" }