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

ListViolationEvents

列出在指定时间段内发现的 AWS IoT Device Defender 安全配置文件违规事件。您可以使用筛选条件将结果限定为那些针对特定安全配置文件、行为或事物(设备)发出的提醒。

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

摘要:

aws iot list-violation-events \ --start-time <value> \ --end-time <value> \ [--thing-name <value>] \ [--security-profile-name <value>] \ [--next-token <value>] \ [--max-results <value>] \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json 格式:

{ "startTime": "timestamp", "endTime": "timestamp", "thingName": "string", "securityProfileName": "string", "nextToken": "string", "maxResults": "integer" }

输出:

{ "violationEvents": [ { "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" } } }, "metricValue": { "count": "long", "cidrs": [ "string" ], "ports": [ "integer" ] }, "violationEventType": "string", "violationEventTime": "timestamp" } ], "nextToken": "string" }