This article provides instructions on how to integrate Fortinet FortiGate Cloud to Lifecycle Manager to pull configuration items from Fortinet FortiGate Cloud. The API key must be associated with an API user that is separate from your Fortinet FortiGate Cloud administrative account.
Fortinet is an integration rather than a warranty lookup source. However, it is the only place for warranty information. While PSAs and documentation tools may contain Fortinet device configurations, they may lack completeness and the corresponding warranty dates.
- If your sole integration is with Fortinet, Lifecycle Manager will synchronize all devices along with their corresponding warranty expiration dates.
- If you have integrated your PSA system without Fortinet, Lifecycle Manager has the capability to synchronize all Fortinet devices listed in the PSA; however, warranty dates will not be included in this synchronization.
If warranty dates for Fortinet devices are manually added to a PSA, they would be synchronized into Lifecycle Manager if available.
Prerequisites
The following is required for integrating Fortinet FortiGate Cloud with Lifecycle Manager:
- You must have Administrator user credentials for your FortiGate Cloud account
- You must have Administrator user credentials for your Lifecycle Manager account or member permissions of Manage Sync Settings selected
To successfully integrate Fortinet FortiGate Cloud with Lifecycle Manager, please follow these steps in each article section:
Integration steps in Fortinet FortiGate Cloud
Integration steps in Fortinet FortiGate Cloud
Integration steps in Fortinet FortiGate Cloud
When creating a permission profile in the portal, you must add the Asset Management portal to the profile, and configure the desired permissions.
Create a permission profile
Permission profiles let you specify access to FortiCloud Portal resources and grant portal-specific permissions for API users. You need to create a permission profile that enables access to the Asset Management portal. A permission profile must be created before creating an API user.
- Sign in to FortiGate Cloud with your email ID as the username and the password that you chose when creating the account.
- Ensure that the email ID you are signing in with has administrative credentials.
- Select the desired company for the user that signed in.
- From the top-level menu, click Services.
- Under Assets and Accounts, select IAM (Identity & Access Management)
- In the Identity & Access Management section, click the Permission Profiles menu option.
- From the Permission Profiles section, click the Add New button. The New Portal Permission Profiles screen is displayed.
-
From the New Portal Permission Profile screen, enter the following information for the permission profile.
- Enter a name in the Permission Profile Name field.
- Set the Status to Active.
- Enter a description of the portal permissions in the Description field. For example, LM Fortinet integration permissions profile.
- Click the Add Portal button. A list of available portals is displayed.
- Select the portal(s) you want to enable access to. In this case, select the following:
- Asset Management
-
Click Add. The portal is displayed in a card.
- As this is for a portal with role-based permissions, enable Access and specify the portal Access Type. In this case, select Read Only.
- As this is for a portal with role-based permissions, enable Access and specify the portal Access Type. In this case, select Read Only.
- Click Save. The permission profile is now available to be assigned to users.
Once a permission profile is saved, the permission profile type cannot be changed.
Create an API user
- From the Identity & Access Management section, select Users from the left-hand navigation menu. The Users page opens.
- From the Users page, click the Add New > API User button. The API User Details screen opens.
- From the API User Details screen, in the Description field, enter a description of the user—for example, Lifecycle Manager integration.
- Select the permission profile, created in the previous step, from the Permission Profile dropdown list.
- The permission details are displayed in a card.
- Click Next.
- Review the user's information, and click Confirm.
- At this time, API User registration is successfully complete. The generated API credentials appear underneath the API User Information label.
Download API credentials
- From the Users page, click on the relevant user. The API User Information page opens.
- Click Download Credentials. The Security Check dialog opens.
Downloading API user credentials will reset the user's security credentials each time you perform this action. The API user only exists within the account scope.
- Enter a password to protect the credential file and click Proceed. The credentials are downloaded to your computer in the form of a password-protected zip file.
- The password-protected zip file contains both an apiID and password which are needed to add the Fortinet FortiGate Cloud API credentials to Lifecycle Manager.
Integration steps in Lifecycle Manager
Add Fortinet FortiGate Cloud API credentials to Lifecycle Manager
- From Lifecycle Manager, navigate to Integrations and click the Add integration button.
- The Add integration page will open. Select FortiCloud.
- Open the password-protected API credentials zip file you previously downloaded.
- Enter the following information into the FortiCloud add integration page.
- Copy the apiID into the API Key field.
- Copy the password into the Password field.
- Click Save Fortinet Asset Management Setup.
When you click Save Fortinet Asset Management Setup, Lifecycle Manager performs a full sync. When finished, you should be able to view your hardware assets in your account.