Configuring beSECURE to integrate with Power BI
To integrate beSECURE with Power BI, do the following:
- Log in to beSECURE with administrative privileges.
- In the upper-left corner of the Home page, select DevOps.
- Select Admin > Accounts > List.
- Select your account from the list.
- Select the API Key tab.
- In the API Key box, click your pointer to generate your API key. Make note of 36-character alphanumeric key as you will add it to Power BI in a later step.
- From the beSECURE left-side panel, select Admin > Organizations > List.
- Select the organization you want to pull results from in Power BI from the list.
- Under the Settings tab, make note of the eight-character alphanumeric ID at the top of the page. You will add this ID to Power BI in a later step.
Configuring Power BI to integrate with beSECURE
To integrate Power BI with beSECURE, do the following:
- From the Power BI ribbon, select Get data > Web.
- Paste the following URL, and then replace your_ip with your FQDN/IP address of your beSECURE server, APIKEY with your 36-digit beSECURE API key, and ENTERPRISEwith the eight-digit beSECURE Organization ID:
https://your_ip/json.cgi?primary=vulnerabilities&secondary=detailed&action=returnvulnerabilities&direction=down&direction=down&order=riskfactor&order=scandate&search_enterprise=ENTERPRISE&search_limit=10000&apikey=APIKEY
Example: https://192.168.0.1/json.cgi?primary=vulnerabilities&secondary=detailed&action=returnvulnerabilities&direction=down&direction=down&order=riskfactor&order=scandate&search_enterprise=68857214&search_limit=10000&apikey=97C705C2-F1F6-31F7-B7F1-AA7F11FC0C1B
- Select OK. The Power Query Editor window will appear.
- On the data row, select List.
- From the ribbon, select To Table.
- On the To Table dialog, do the following:
- In the Select or enter delimiter box, select None.
- In the How to handle extra columns box, select Show as errors.
- Select OK.
- Select the double arrow button.
- In the dialog, select the (Select All Columns), Added, AffectedEnterprise, AffectedHost, AffectedNetwork, and Use original column name as prefix checkboxes.
- Select OK.
- From the ribbon, select Close & Apply. Your beSECURE data is now imported into Power BI and ready for further analysis.