The gitlab_compliance_framework
data source allows details of a compliance framework to be retrieved by its name and the namespace it belongs to.
Upstream API: GitLab GraphQL API docs
data "gitlab_compliance_framework" "example" {
namespace_path = "top-level-group"
name = "HIPAA"
}
name
(String) Name for the compliance framework.namespace_path
(String) Full path of the namespace to where the compliance framework is.color
(String) Color representation of the compliance framework in hex format. e.g. #FCA121.default
(Boolean) Is the compliance framework the default framework for the group.description
(String) Description for the compliance framework.framework_id
(String) Globally unique ID of the compliance framework.id
(String) The ID of this Terraform resource. In the format of <namespace_path>:<framework_id>
.pipeline_configuration_full_path
(String) Full path of the compliance pipeline configuration stored in a project repository, such as .gitlab/.compliance-gitlab-ci.yml@compliance/hipaa
. Format: path/file.y[a]ml@group-name/project-name
Note: Ultimate license required.