Does anyone know how to check to which account is the device registered via CLI?
I suppose you mean account for license and support.
Via cli you can use:
get sys fortiguard
but you can see status of updates and license, the accout is not showned
You can do the following
diag debug reset
diag debug app update -1
diag debug enable
Now run the following and capture to a file
Look for the contract names and email.
EDIT alternative you can use the hidden fnsysctl cmd
fnsysctl more /etc/upd.dat
That file 1st line would be account detail ( email )
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 2023 Fortinet, Inc. All Rights Reserved.