Created on
09-27-2023
09:32 PM
Edited on
09-29-2023
12:27 AM
By
Anthony_E
| Description |
This article describes how to use the provided API request to automate the process.
FortiAnalyzer is a powerful tool for centralizing and analyzing logs and reports from Fortinet units. To streamline the management of unauthorized devices and ensure they are correctly associated with the appropriate ADOM, it is possible to use the FortiAnalyzer API. This article describes how to use the provided API request to automate the process. |
| Scope | FortiAnalyzer. |
| Solution |
Automating the authorization of unauthorized devices to the correct ADOM in FortiAnalyzer using the provided API request streamlines the management of devices and ensures they are appropriately categorized for log and report analysis . By following the steps outlined in this article and customizing the API request with the relevant device details, this process can be automated efficiently.
Using the API Request: The provided API request is in JSON format and can be sent to the FortiAnalyzer API endpoint to automate the device authorization process.
JSON:
{ "method": "exec", "params": [ { "url": "/dvm/cmd/add/device", "data": { "adom": "<ADOM_NAME>", "flags": ["create_task", "nonblocking"], "device": [ { "adm_usr": "admin", "adm_pass": ["<admin_password>"], "device action": "promote_unreg", "name": "<device_name, usually serial number>", "ip": "<reachable_IP>", "sn": "<Serial>" } ] } } ], "session": "<session_ID>", "id": 1 }
Explanation of Parameters:
Steps to Automate Device Authorization:
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.