Compliance Framework Requirements and Controls
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
New Resource
I’m missing a resource to create and manage Compliance Framework Requirements
I’m looking for something that I could use like this:
resource "gitlab_compliance_requirement" "example" {
framework_id = 1234
name = "Compliance Requirement Control"
description = "This is a description for the compliance requirement"
controls = [
{
name = "scanner_dep_scanning_running"
control_type = "internal"
expression = {
field = "scanner_dep_scanning_running"
operator = "equals"
value = true
}
},
{
name = "External Audit Report"
control_type = "external"
external_url = "https://example.com/audit-report"
secret_token = "supersecrettoken"
}
]
}
Related GitLab APIs
API documentation: Mutation: Create Compliance Requirement
Documentation: Compliance Framework Requirements
Additional Details
-
GitLab REST API resources available (read for data sources, CRUD for resources) -
client-go supports the related GitLab API already -
I'd like to contribute it myself
Edited by 🤖 GitLab Bot 🤖