cnspec integrate
Onboard an AWS, Azure, or Microsoft 365 integration into Mondoo Platform for continuous scanning.
Run automation code that onboards your AWS, Azure, or Microsoft 365 environment into Mondoo Platform for continuous scanning. The subcommands generate Terraform code, write it to disk, and run Terraform to create the integration in your Mondoo space. cnspec shows you the planned changes and asks whether to apply them. If you decline, it tells you how to apply the generated code later. If Terraform isn't installed or is too old, cnspec installs a compatible version.
In most cases, you don't write this command yourself. Mondoo generates a complete cnspec integrate command for you when you set up an Azure integration with Terraform or set up a Microsoft 365 integration automatically.
This command doesn't appear in the cnspec --help command list, but you can run it and view its help with cnspec integrate --help. cnspec onboard is an alias.
cnspec integrate [command]Options
-h, --help help for integrate
--integration-name string Set the name of the integration
--output string Set the location to write automation code
--space string Set the space to create the integrationOptions inherited from parent commands
--api-proxy string Set the proxy for communications with Mondoo Platform API
--auto-update Enable automatic provider installation and update (default true)
--config string Set config file path (default $HOME/.config/mondoo/mondoo.yml)
--log-level string Set the log level: error, warn, info, debug, trace (default "info")
--logging-config string Path to a logging configuration file (YAML or JSON) that selects the log writer, level, and writer-specific options
--strict Default MQL strict mode for policies that do not declare one: every link in an MQL chain must resolve
-v, --verbose Enable verbose outputSEE ALSO
- cnspec - cnspec CLI
- cnspec integrate aws - Onboard Amazon Web Services
- cnspec integrate azure - Onboard Microsoft Azure
- cnspec integrate ms365 - Onboard Microsoft 365