Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⭐️ gitlab terraform discovery #1755

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

chris-rock
Copy link
Member

@chris-rock chris-rock commented Sep 17, 2023

This PR adds the ability to the gitlab provider to detect terraform inside of the git repo.

cnquery shell gitlab --group example --project example-gitlab
→ loaded configuration from /Users/chris/.config/mondoo/mondoo.yml using source default
→ discover related assets for 1 asset(s)
→ resolved assets resolved-assets=2

    Available assets                               
                                                   
  > 1. example / Example Gitlab (gitlab-project)
    2. example / Example Gitlab (terraform-hcl) 

@chris-rock chris-rock changed the base branch from main to v8 September 17, 2023 20:52
@chris-rock chris-rock force-pushed the chris-rock/gitlab-terraform-discovery branch from 921c6e5 to 121bd8e Compare September 17, 2023 20:55
This change allows the discovery of terraform projects via the github provider. To ensure
a seamless experience, we also add support gitlab token authentication, so that the git
repo can be checked out with the same GitLab token.
@chris-rock chris-rock force-pushed the chris-rock/gitlab-terraform-discovery branch from 121bd8e to 6a0d9ad Compare September 17, 2023 20:56
Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holy wow!! noice 🚀

@arlimus arlimus merged commit 602bef1 into v8 Sep 18, 2023
@arlimus arlimus deleted the chris-rock/gitlab-terraform-discovery branch September 18, 2023 03:50
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2023
@arlimus
Copy link
Member

arlimus commented Sep 18, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants