Skip to content

Commit

Permalink
⭐️ new cnspec integrate experimental command (#1469)
Browse files Browse the repository at this point in the history
This is an **EXPERIMENTAL** command.

Our first iteration of an automated way to create integrations in
the Mondoo platform. ✨

The first integration we are enabling is Azure, to do so, the user
can run:
```
cnspec integrate azure
```

The flow to create an integration is:

* Verify we have access to the Mondoo platform
* Verify we can access Azure
* Detect subscriptions to integrate
* More validation like, integration name, etc.
* Generation of automation code
* Write code to disk
* Run automation code with confirmation from user

Additional changes:

* 🧹 fix extended linter issues
* ✨ tfgen support for data sources
* 🧹 add missing depends_on ad role assignment
* 🎉 load space from config

---------

Signed-off-by: Salim Afiune Maya <afiune@mondoo.com>
  • Loading branch information
afiune authored Nov 5, 2024
1 parent 8ef1e25 commit c3efa01
Show file tree
Hide file tree
Showing 6 changed files with 1,036 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cnquery
.DS_Store
gha-creds-*.json
Loading

0 comments on commit c3efa01

Please sign in to comment.