내용으로 건너뛰기

Can you trigger audit mitigation actions automatically?

0

I've set up mitigation actions (publish to SNS) for my Device Defender audits and know how to manually run them. But I want to know if there's a way to automatically trigger a mitigation action when an audit finds a violation. As an example, if an audit finds a certificate that's about to expire, I'd love it if we could automatically update the certificate and notify someone that the violation was found. I don't want someone to have to go into the console to start that task manually. Looking at the documentation, I don't see that this is an option, though. Is that correct? Or am I overlooking something?

질문됨 7년 전454회 조회

1개 답변
0

Device Defender provides mitigation actions that customers can configure and execute at scale. However, Device Defender does not take these mitigation actions automatically on our customer’s behalf, because that affects their production fleets. If customers so choose, they have the option to automate these mitigation actions by configuring a SNS notification for Audit completion and running a lambda to take that action.

To enable this, they need to -

  1. Use the UpdateAccountAuditConfiguration [1]. API to enable SNS notifications on Audit completion.
  2. Configure AWS lambda for that SNS notification. This lambda will be triggered when a SNS notification is received and can be used to analyze Audit findings if needed.
  3. Use the StartAuditMitigationActionsTask [2] API to executes the mitigation actions against AuditFindings in the lambda code.

[1] - https://docs.aws.amazon.com/cli/latest/reference/iot/update-account-audit-configuration.html
[2] - https://docs.aws.amazon.com/cli/latest/reference/iot/start-audit-mitigation-actions-task.html

답변함 7년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠