Soracom

IoT Template Gallery

An app that picks up SAM users without MFA enabled and notifies you.

Overview

With this app template, for SAM users created in SORACOM SAM (SORACOM Access Management), if there are any login-capable users who do not have multi-factor authentication (MFA) enabled, you will receive an alert notification. This app can be used for the following:

  • Regularly extracts SAM users who have misconfigurations (MFA not enabled)
  • Sends alert notifications about the extracted SAM users

Example Notification in Chat

Chat notifications look like this:

Estimated Cost When Running the Flux App

The estimated cost for running the Flux app created from this template is as follows. This explanation assumes the interval timer event source is set to run once per day and there are 10 SAM users.

  • In this Flux app, the event count is 11 per day, and with 31 days of operation, there are 341 events per month.
  • With the SORACOM Flux Developer plan, up to 10,000 events per account per month can be used free of charge. If you exceed 10,000 events/month, a fee of 0.11 yen per event will apply.
  • No credits are used in this Flux app.
  • The initial upper limit for events and credits is set to match the free bundled amount. If you reach the upper limit, the app will no longer launch or execute actions triggered by events. If you want to use more, please update the limit in advance. If you set a limit beyond the monthly bundle, excess events and credits will be billed on a pay-as-you-go basis.

This is an estimate and may vary depending on actual usage. For exact charges, please check the SORACOM flux plans and Billing Information. Please also refer to the user documentation Setting Quotas for Event Count and Credit Usage.

Prerequisites

Before deploying (executing) the app with this template, please prepare the following:

  • Slack notification destination settings: Obtain the incoming webhook URL for the target Slack channel.

For details, see Slack documentation Sending messages using incoming webhooks.

Creating the App

Customizing Settings

You can set the incoming webhook URL for the target Slack channel.

Actions to Take After Creating the App

The interval timer event source is Disabled. Please manually test the app, and after confirming chat notifications, set the event source to Enabled.

App Customization

By customizing the SORACOM API action’s API usage, you can further extend the app, such as checking the attributes (roles and permission settings) assigned to SAM users.

Troubleshooting

If things do not work as expected, please check the app’s execution history. For details, see View Logs.

Try this template in the User Console