Integrate Your AssetsCloud

Secure STACKIT with Mondoo

Continuously secure your STACKIT project with Mondoo.

Mondoo continuously scans your STACKIT project for misconfigurations and vulnerabilities. Create a STACKIT integration to give Mondoo the access it needs.

Mondoo discovers and assesses servers, SKE (Kubernetes) clusters, object storage buckets, the secrets manager, and managed database instances. The database types include PostgreSQL Flex, MySQL/MariaDB, MongoDB Flex, SQL Server Flex, Redis, RabbitMQ, OpenSearch, and LogMe.

Prerequisites

  • Editor or Owner access to the Mondoo space
  • A STACKIT project
  • A STACKIT service account with a service account key

Create a STACKIT service account key

Mondoo authenticates to STACKIT with a service account key.

  1. Log in to the STACKIT Portal.

  2. Select the project you want Mondoo to scan, and note its Project ID. You need it in the next section.

  3. Go to Service Accounts and create a service account, or select an existing one. Assign it a read-capable role on the project: Mondoo only reads configuration, and a write-capable role grants more than the integration needs.

  4. Create a Service Account Key for that service account and download the JSON key file.

Treat the service account key like a password. Don't commit it to source control, and rotate it periodically.

Add a STACKIT integration

Only team members with Editor or Owner access can perform this task.

In the Mondoo App, navigate to the space where you want to add the integration. In the side navigation bar, select Integrations. In the top right, select + INSTALL. On the integrations page, find the integration you want by browsing or searching by name:

  1. Under Cloud, select STACKIT.

  2. In the Choose an integration name box, enter a name that identifies the STACKIT project.

  3. Enter the Project ID you noted in the STACKIT Portal.

  4. (Optional) Enter a Region, such as eu01. Leave it empty to use the provider default.

  5. Upload the service account key JSON file, or paste its contents into the box.

  6. Select START SCANNING.

On the Recommended Policies page, enable the policies you want Mondoo to score this integration against. To learn how policies work, read Manage Policies.

Manage your integration

To open the integration, navigate to the space, select Integrations > STACKIT, and choose the integration.

The status appears beside the integration name:

StatusMeaning
activeThe integration is healthy and scanning.
errorMondoo detected an error during a scan attempt.

To remove the integration, select the trash can icon and confirm. Mondoo stops scanning the STACKIT project.

Scan STACKIT from the command line

The integration scans continuously from the Mondoo Platform. To scan a STACKIT project from your workstation or a CI pipeline instead, see Scan STACKIT with cnspec.

Next steps

On this page