getComplianceFramework

The gitlab.ComplianceFramework 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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const example = gitlab.getComplianceFramework({
namespacePath: "top-level-group",
name: "HIPAA",
});
import pulumi
import pulumi_gitlab as gitlab
example = gitlab.get_compliance_framework(namespace_path="top-level-group",
name="HIPAA")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var example = GitLab.GetComplianceFramework.Invoke(new()
{
NamespacePath = "top-level-group",
Name = "HIPAA",
});
});
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.LookupComplianceFramework(ctx, &gitlab.LookupComplianceFrameworkArgs{
NamespacePath: "top-level-group",
Name: "HIPAA",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetComplianceFrameworkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = GitlabFunctions.getComplianceFramework(GetComplianceFrameworkArgs.builder()
.namespacePath("top-level-group")
.name("HIPAA")
.build());
}
}
variables:
example:
fn::invoke:
function: gitlab:getComplianceFramework
arguments:
namespacePath: top-level-group
name: HIPAA

Return

A collection of values returned by getComplianceFramework.

Parameters

argument

A collection of arguments for invoking getComplianceFramework.


Return

A collection of values returned by getComplianceFramework.

Parameters

name

Name for the compliance framework.

namespacePath

Full path of the namespace to where the compliance framework is.

See also


Return

A collection of values returned by getComplianceFramework.

Parameters

argument

Builder for com.pulumi.gitlab.kotlin.inputs.GetComplianceFrameworkPlainArgs.

See also