Salta al contenuto

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?

posta 7 anni fa451 visualizzazioni

1 Risposta
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

con risposta 7 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.