How to integrate macaddress.io into a decision engine - Decisimo - Decision Intelligence Services
Published on: 2024-08-10 18:48:28
Macaddress.io provides database as a service of current MAC addresses and its vendors. The service is especially useful when evaluating device validity to prevent and detect attacks from virtual machine environments. If someone takes your mobile app and runs it virtually on a laptop, you can check network environment, MAC address of the network and see whether there is something dodgy happening.
Get an account API key from macaddress.io
https://macaddress.io/signup
macaddress.io has simple pricing and an easy sign-up process. Their free tier gives you 1,000 checks a day, which is enough for testing the service out.
- General Dashboard and find your API key.
Create a data source in Decisimo Portal
- macaddress.io has only one required parameter - search, which is for the MAC address.
- When you use the macaddress.io data source template, it will include the definition necessary.
Add macaddress.io data source to your decision flow
- If you already have a decision step for data sources, you can add the call to macaddress.io within the same step. The decision engine will call all the sources in the same step in parallel. Parallel calls ensure the fastest execution time.
- If you do not have a decision flow step for external data, add one. Connect your decision flow step and by double-clicking, open the definition window. Define in the step the attribute with MAC address from your data object to be sent to macaddress.io.
Run the decision making
- Release your decision flow, deploy to an endpoint and make decisions using data from macaddress.io.