Export Data to PostgreSQL
Set up continuous export of assets, vulnerabilities, and scan results from Mondoo to a PostgreSQL database.
Export your Mondoo security data to PostgreSQL so you can query it with SQL, build custom reports, or feed an application that already runs on Postgres. For how exports work in general, read Continuous Data Exports.
Before you begin
- A PostgreSQL database that Mondoo can reach over the internet. The database cannot be behind a firewall that blocks Mondoo. See the PostgreSQL documentation for setup.
- Editor or Owner access to the Mondoo space, or another role with permission to add integrations.
Create the integration
-
In the Mondoo App, navigate to the space. In the side navigation, select Integrations, then select INSTALL. Under Data Exports, select PostgreSQL.

-
Under Choose an integration name, enter a name for the integration.
-
Under Configure the database connection, fill in:
- Host. The IP address or FQDN of your PostgreSQL server.
- Port. The port your PostgreSQL server listens on. The default is
5432. - Database. The name of the database Mondoo writes to.
-
Under Provide database credentials, enter your PostgreSQL User and Password.
-
Select Create Integration.
Mondoo starts the initial export. When it completes, the integration's status becomes Active and subsequent exports run automatically about every 24 hours.
Verify
After it's created, find your integration under Integrations in your space's side navigation. Select it to open the detail page, then:
- Check the status. Active means the integration is healthy and exporting on schedule. Not ready means the first export hasn't finished yet. Error means the last export failed.
- Check the last export. The Export Details section shows when the last export succeeded and when Mondoo last attempted one.
- Review the activity log. Most Recent Activity lists each export run's messages, such as when a job started, finished, or failed and why. Filter it to errors, warnings, or info messages.
Manage this integration
On the integration's detail page, you can:
- Trigger a manual export. Exports run automatically about every 24 hours. To export immediately, select RUN.
- Change the settings. Select the pencil icon to edit the integration, for example to update credentials.
- Remove the integration. Select the trash can icon and confirm. Mondoo stops future exports but does not delete data that has already been exported.
Troubleshoot
If the status is Error, or Last Successful Export in Export Details is older than you expect, check Most Recent Activity for the failure message. For every status and the fixes for common errors, read Integration Status and Troubleshooting.
Next steps
Last updated on
Google BigQuery
Set up continuous export of assets, vulnerabilities, and scan results from Mondoo to a Google BigQuery dataset using Workload Identity Federation or a service account key.
Snowflake
Set up continuous export of assets, vulnerabilities, and scan results from Mondoo to a Snowflake database.