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

Implement GitLab integration setup #164

Closed
atomic111 opened this issue Nov 28, 2024 · 1 comment
Closed

Implement GitLab integration setup #164

atomic111 opened this issue Nov 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@atomic111
Copy link
Member

need to be designed similar to GitHub

variable "gitlab_token" {
  description = "The GitLab Token"
  type        = string
  sensitive   = true
}

resource "mondoo_integration_gitlab" "gitlab_integration" {
  name  = "GitLab Integration"
  
  base_url = "" # optional, otherwise gitlab.com 
  group = "" # optional, otherwise all groups are discovered

	# configure discovery options  
  discovery {
		groups = true
		projects = true
		terraform = true
		k8s_manifests = true
  }

  credentials = {
    token = var.gitlab_token
  }
}
@atomic111 atomic111 added the enhancement New feature or request label Nov 28, 2024
@mati007thm
Copy link
Contributor

@atomic111 The PR is ready: #167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants