@pulumi/gitlab 9.6.0-alpha.1766429294 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/getArtifactFile.d.ts +2 -2
  2. package/getArtifactFile.js +2 -2
  3. package/getGroupBillableMemberMemberships.d.ts +2 -2
  4. package/getGroupBillableMemberMemberships.js +2 -2
  5. package/getGroupMembership.d.ts +2 -2
  6. package/getGroupMembership.js +2 -2
  7. package/getGroupServiceAccount.d.ts +2 -2
  8. package/getGroupServiceAccount.js +2 -2
  9. package/getGroupVariable.d.ts +1 -1
  10. package/getInstanceServiceAccount.d.ts +2 -2
  11. package/getInstanceServiceAccount.js +2 -2
  12. package/getProject.d.ts +0 -4
  13. package/getProject.js.map +1 -1
  14. package/getProjectMembership.d.ts +2 -2
  15. package/getProjectMembership.js +2 -2
  16. package/getProjectProtectedTag.d.ts +2 -2
  17. package/getProjectProtectedTag.js +2 -2
  18. package/getProjects.d.ts +3 -3
  19. package/getReleaseLink.d.ts +5 -5
  20. package/getReleaseLinks.d.ts +3 -3
  21. package/globalLevelNotifications.d.ts +1 -1
  22. package/globalLevelNotifications.js +1 -1
  23. package/groupAccessToken.d.ts +2 -2
  24. package/groupAccessToken.js +2 -2
  25. package/groupLabel.d.ts +3 -3
  26. package/groupMembership.d.ts +1 -1
  27. package/groupMembership.js +1 -1
  28. package/groupServiceAccount.d.ts +1 -1
  29. package/groupServiceAccount.js +1 -1
  30. package/groupServiceAccountAccessToken.d.ts +1 -1
  31. package/groupServiceAccountAccessToken.js +1 -1
  32. package/groupShareGroup.d.ts +1 -1
  33. package/groupShareGroup.js +1 -1
  34. package/index.d.ts +0 -15
  35. package/index.js +5 -23
  36. package/index.js.map +1 -1
  37. package/instanceServiceAccount.d.ts +1 -1
  38. package/instanceServiceAccount.js +1 -1
  39. package/instanceVariable.d.ts +8 -8
  40. package/label.d.ts +3 -3
  41. package/memberRole.d.ts +4 -4
  42. package/memberRole.js +1 -1
  43. package/package.json +2 -2
  44. package/pagesDomain.d.ts +3 -3
  45. package/personalAccessToken.d.ts +1 -1
  46. package/personalAccessToken.js +1 -1
  47. package/pipelineScheduleVariable.d.ts +1 -1
  48. package/pipelineScheduleVariable.js +1 -1
  49. package/project.d.ts +3 -15
  50. package/project.js +0 -2
  51. package/project.js.map +1 -1
  52. package/projectAccessToken.d.ts +1 -1
  53. package/projectAccessToken.js +1 -1
  54. package/projectDeployToken.d.ts +1 -1
  55. package/projectDeployToken.js +1 -1
  56. package/projectHook.d.ts +1 -1
  57. package/projectHook.js +1 -1
  58. package/projectLabel.d.ts +5 -5
  59. package/projectLabel.js +2 -2
  60. package/projectLevelMrApprovals.d.ts +1 -1
  61. package/projectLevelMrApprovals.js +1 -1
  62. package/projectLevelNotifications.d.ts +1 -1
  63. package/projectLevelNotifications.js +1 -1
  64. package/projectMembership.d.ts +1 -1
  65. package/projectMembership.js +1 -1
  66. package/projectTargetBranchRule.d.ts +1 -1
  67. package/projectTargetBranchRule.js +1 -1
  68. package/projectVariable.d.ts +3 -3
  69. package/releaseLink.d.ts +8 -8
  70. package/runner.d.ts +1 -1
  71. package/runner.js +1 -1
  72. package/systemHook.d.ts +3 -3
  73. package/types/input.d.ts +0 -224
  74. package/types/output.d.ts +4 -257
  75. package/userGpgKey.d.ts +1 -1
  76. package/userGpgKey.js +1 -1
  77. package/userImpersonationToken.d.ts +1 -1
  78. package/userImpersonationToken.js +1 -1
  79. package/userRunner.d.ts +1 -1
  80. package/userRunner.js +1 -1
  81. package/userSshKey.d.ts +1 -1
  82. package/userSshKey.js +1 -1
  83. package/getGroupServiceAccountAccessTokens.d.ts +0 -66
  84. package/getGroupServiceAccountAccessTokens.js +0 -42
  85. package/getGroupServiceAccountAccessTokens.js.map +0 -1
  86. package/getProjectIssueLabelEvents.d.ts +0 -94
  87. package/getProjectIssueLabelEvents.js +0 -60
  88. package/getProjectIssueLabelEvents.js.map +0 -1
  89. package/getProjectSecureFile.d.ts +0 -125
  90. package/getProjectSecureFile.js +0 -68
  91. package/getProjectSecureFile.js.map +0 -1
  92. package/getSecurityPolicyDocument.d.ts +0 -112
  93. package/getSecurityPolicyDocument.js +0 -96
  94. package/getSecurityPolicyDocument.js.map +0 -1
  95. package/userAvatar.d.ts +0 -126
  96. package/userAvatar.js +0 -99
  97. package/userAvatar.js.map +0 -1
@@ -1,42 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getGroupServiceAccountAccessTokensOutput = exports.getGroupServiceAccountAccessTokens = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
10
- *
11
- * > **Note:** The data source returns the token metadata only. The token value is not available.
12
- *
13
- * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
14
- *
15
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
16
- */
17
- function getGroupServiceAccountAccessTokens(args, opts) {
18
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
19
- return pulumi.runtime.invoke("gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens", {
20
- "group": args.group,
21
- "serviceAccountId": args.serviceAccountId,
22
- }, opts);
23
- }
24
- exports.getGroupServiceAccountAccessTokens = getGroupServiceAccountAccessTokens;
25
- /**
26
- * The `gitlab.getGroupServiceAccountAccessTokens` data source allows to retrieve all access tokens for a group service account.
27
- *
28
- * > **Note:** The data source returns the token metadata only. The token value is not available.
29
- *
30
- * > **Permissions:** You must have administrator access or be an Owner of the group to list the tokens of a service account.
31
- *
32
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/personal_access_tokens/#list-all-personal-access-tokens)
33
- */
34
- function getGroupServiceAccountAccessTokensOutput(args, opts) {
35
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
- return pulumi.runtime.invokeOutput("gitlab:index/getGroupServiceAccountAccessTokens:getGroupServiceAccountAccessTokens", {
37
- "group": args.group,
38
- "serviceAccountId": args.serviceAccountId,
39
- }, opts);
40
- }
41
- exports.getGroupServiceAccountAccessTokensOutput = getGroupServiceAccountAccessTokensOutput;
42
- //# sourceMappingURL=getGroupServiceAccountAccessTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getGroupServiceAccountAccessTokens.js","sourceRoot":"","sources":["../getGroupServiceAccountAccessTokens.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE;QAC/G,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC;AAkCD;;;;;;;;GAQG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE;QACrH,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4FAMC"}
@@ -1,94 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
5
- *
6
- * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
7
- *
8
- * ## Example Usage
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as gitlab from "@pulumi/gitlab";
13
- *
14
- * const example = gitlab.getProjectIssueLabelEvents({
15
- * project: "my-group/my-project",
16
- * issueIid: 42,
17
- * });
18
- * ```
19
- */
20
- export declare function getProjectIssueLabelEvents(args: GetProjectIssueLabelEventsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIssueLabelEventsResult>;
21
- /**
22
- * A collection of arguments for invoking getProjectIssueLabelEvents.
23
- */
24
- export interface GetProjectIssueLabelEventsArgs {
25
- /**
26
- * The internal ID of the issue.
27
- */
28
- issueIid: number;
29
- /**
30
- * Number of pages to return. Default is 1.
31
- */
32
- pagesReturned?: number;
33
- /**
34
- * The ID or full path of the project.
35
- */
36
- project: string;
37
- }
38
- /**
39
- * A collection of values returned by getProjectIssueLabelEvents.
40
- */
41
- export interface GetProjectIssueLabelEventsResult {
42
- /**
43
- * List of label events for the issue.
44
- */
45
- readonly events: outputs.GetProjectIssueLabelEventsEvent[];
46
- readonly id: string;
47
- /**
48
- * The internal ID of the issue.
49
- */
50
- readonly issueIid: number;
51
- /**
52
- * Number of pages to return. Default is 1.
53
- */
54
- readonly pagesReturned?: number;
55
- /**
56
- * The ID or full path of the project.
57
- */
58
- readonly project: string;
59
- }
60
- /**
61
- * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
62
- *
63
- * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
64
- *
65
- * ## Example Usage
66
- *
67
- * ```typescript
68
- * import * as pulumi from "@pulumi/pulumi";
69
- * import * as gitlab from "@pulumi/gitlab";
70
- *
71
- * const example = gitlab.getProjectIssueLabelEvents({
72
- * project: "my-group/my-project",
73
- * issueIid: 42,
74
- * });
75
- * ```
76
- */
77
- export declare function getProjectIssueLabelEventsOutput(args: GetProjectIssueLabelEventsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectIssueLabelEventsResult>;
78
- /**
79
- * A collection of arguments for invoking getProjectIssueLabelEvents.
80
- */
81
- export interface GetProjectIssueLabelEventsOutputArgs {
82
- /**
83
- * The internal ID of the issue.
84
- */
85
- issueIid: pulumi.Input<number>;
86
- /**
87
- * Number of pages to return. Default is 1.
88
- */
89
- pagesReturned?: pulumi.Input<number>;
90
- /**
91
- * The ID or full path of the project.
92
- */
93
- project: pulumi.Input<string>;
94
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getProjectIssueLabelEventsOutput = exports.getProjectIssueLabelEvents = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
10
- *
11
- * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as gitlab from "@pulumi/gitlab";
18
- *
19
- * const example = gitlab.getProjectIssueLabelEvents({
20
- * project: "my-group/my-project",
21
- * issueIid: 42,
22
- * });
23
- * ```
24
- */
25
- function getProjectIssueLabelEvents(args, opts) {
26
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
- return pulumi.runtime.invoke("gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents", {
28
- "issueIid": args.issueIid,
29
- "pagesReturned": args.pagesReturned,
30
- "project": args.project,
31
- }, opts);
32
- }
33
- exports.getProjectIssueLabelEvents = getProjectIssueLabelEvents;
34
- /**
35
- * The `gitlab.getProjectIssueLabelEvents` data source retrieves label events for a specific GitLab project issue.
36
- *
37
- * **Upstream API**: [GitLab Resource Label Events API docs](https://docs.gitlab.com/api/resource_label_events/)
38
- *
39
- * ## Example Usage
40
- *
41
- * ```typescript
42
- * import * as pulumi from "@pulumi/pulumi";
43
- * import * as gitlab from "@pulumi/gitlab";
44
- *
45
- * const example = gitlab.getProjectIssueLabelEvents({
46
- * project: "my-group/my-project",
47
- * issueIid: 42,
48
- * });
49
- * ```
50
- */
51
- function getProjectIssueLabelEventsOutput(args, opts) {
52
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
- return pulumi.runtime.invokeOutput("gitlab:index/getProjectIssueLabelEvents:getProjectIssueLabelEvents", {
54
- "issueIid": args.issueIid,
55
- "pagesReturned": args.pagesReturned,
56
- "project": args.project,
57
- }, opts);
58
- }
59
- exports.getProjectIssueLabelEventsOutput = getProjectIssueLabelEventsOutput;
60
- //# sourceMappingURL=getProjectIssueLabelEvents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProjectIssueLabelEvents.js","sourceRoot":"","sources":["../getProjectIssueLabelEvents.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA0CD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC"}
@@ -1,125 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "./types/output";
3
- /**
4
- * The `gitlab.getProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
5
- *
6
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
7
- *
8
- * ## Example Usage
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as gitlab from "@pulumi/gitlab";
13
- *
14
- * const byId = gitlab.getProjectSecureFile({
15
- * project: "123",
16
- * secureFileId: 123,
17
- * });
18
- * const byName = gitlab.getProjectSecureFile({
19
- * project: "123",
20
- * name: "secret.pem",
21
- * });
22
- * ```
23
- */
24
- export declare function getProjectSecureFile(args: GetProjectSecureFileArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectSecureFileResult>;
25
- /**
26
- * A collection of arguments for invoking getProjectSecureFile.
27
- */
28
- export interface GetProjectSecureFileArgs {
29
- /**
30
- * The name for the secure file, unique per project
31
- */
32
- name?: string;
33
- /**
34
- * The ID or full path of the project the secure file resides.
35
- */
36
- project: string;
37
- /**
38
- * The id of the secure file in gitlab
39
- */
40
- secureFileId?: number;
41
- }
42
- /**
43
- * A collection of values returned by getProjectSecureFile.
44
- */
45
- export interface GetProjectSecureFileResult {
46
- /**
47
- * The checksum of the file
48
- */
49
- readonly checksum: string;
50
- /**
51
- * The checksum algorithm used
52
- */
53
- readonly checksumAlgorithm: string;
54
- /**
55
- * The contents of the secure file
56
- */
57
- readonly content: string;
58
- /**
59
- * The time the secure file was uploaded
60
- */
61
- readonly createdAt: string;
62
- /**
63
- * The time the secure file will expire
64
- */
65
- readonly expiresAt: string;
66
- /**
67
- * The ID of this data source. In the format `<project:id>`
68
- */
69
- readonly id: string;
70
- /**
71
- * metadata returned by the gitlab api about the secure file
72
- */
73
- readonly metadata: outputs.GetProjectSecureFileMetadata;
74
- /**
75
- * The name for the secure file, unique per project
76
- */
77
- readonly name?: string;
78
- /**
79
- * The ID or full path of the project the secure file resides.
80
- */
81
- readonly project: string;
82
- /**
83
- * The id of the secure file in gitlab
84
- */
85
- readonly secureFileId: number;
86
- }
87
- /**
88
- * The `gitlab.getProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
89
- *
90
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
91
- *
92
- * ## Example Usage
93
- *
94
- * ```typescript
95
- * import * as pulumi from "@pulumi/pulumi";
96
- * import * as gitlab from "@pulumi/gitlab";
97
- *
98
- * const byId = gitlab.getProjectSecureFile({
99
- * project: "123",
100
- * secureFileId: 123,
101
- * });
102
- * const byName = gitlab.getProjectSecureFile({
103
- * project: "123",
104
- * name: "secret.pem",
105
- * });
106
- * ```
107
- */
108
- export declare function getProjectSecureFileOutput(args: GetProjectSecureFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectSecureFileResult>;
109
- /**
110
- * A collection of arguments for invoking getProjectSecureFile.
111
- */
112
- export interface GetProjectSecureFileOutputArgs {
113
- /**
114
- * The name for the secure file, unique per project
115
- */
116
- name?: pulumi.Input<string>;
117
- /**
118
- * The ID or full path of the project the secure file resides.
119
- */
120
- project: pulumi.Input<string>;
121
- /**
122
- * The id of the secure file in gitlab
123
- */
124
- secureFileId?: pulumi.Input<number>;
125
- }
@@ -1,68 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getProjectSecureFileOutput = exports.getProjectSecureFile = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * The `gitlab.getProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
10
- *
11
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as gitlab from "@pulumi/gitlab";
18
- *
19
- * const byId = gitlab.getProjectSecureFile({
20
- * project: "123",
21
- * secureFileId: 123,
22
- * });
23
- * const byName = gitlab.getProjectSecureFile({
24
- * project: "123",
25
- * name: "secret.pem",
26
- * });
27
- * ```
28
- */
29
- function getProjectSecureFile(args, opts) {
30
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
31
- return pulumi.runtime.invoke("gitlab:index/getProjectSecureFile:getProjectSecureFile", {
32
- "name": args.name,
33
- "project": args.project,
34
- "secureFileId": args.secureFileId,
35
- }, opts);
36
- }
37
- exports.getProjectSecureFile = getProjectSecureFile;
38
- /**
39
- * The `gitlab.getProjectSecureFile` data source allows the contents of a secure file to be retrieved by either Name or ID.
40
- *
41
- * **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/api/secure_files/)
42
- *
43
- * ## Example Usage
44
- *
45
- * ```typescript
46
- * import * as pulumi from "@pulumi/pulumi";
47
- * import * as gitlab from "@pulumi/gitlab";
48
- *
49
- * const byId = gitlab.getProjectSecureFile({
50
- * project: "123",
51
- * secureFileId: 123,
52
- * });
53
- * const byName = gitlab.getProjectSecureFile({
54
- * project: "123",
55
- * name: "secret.pem",
56
- * });
57
- * ```
58
- */
59
- function getProjectSecureFileOutput(args, opts) {
60
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
61
- return pulumi.runtime.invokeOutput("gitlab:index/getProjectSecureFile:getProjectSecureFile", {
62
- "name": args.name,
63
- "project": args.project,
64
- "secureFileId": args.secureFileId,
65
- }, opts);
66
- }
67
- exports.getProjectSecureFileOutput = getProjectSecureFileOutput;
68
- //# sourceMappingURL=getProjectSecureFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getProjectSecureFile.js","sourceRoot":"","sources":["../getProjectSecureFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAiED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}
@@ -1,112 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * Generates a GitLab security policy YAML document from structured configuration.
6
- * This data source performs pure transformation without any API calls.
7
- *
8
- * **Upstream API**: [GitLab Security Policies Documentation](https://docs.gitlab.com/ee/user/application_security/policies/scan_execution_policies/)
9
- *
10
- * ## Example Usage
11
- *
12
- * ```typescript
13
- * import * as pulumi from "@pulumi/pulumi";
14
- * import * as gitlab from "@pulumi/gitlab";
15
- *
16
- * // Use this with `gitlab_repository_file` to manage your policies using native HCL
17
- * const scan = gitlab.getSecurityPolicyDocument({
18
- * scanExecutionPolicies: [{
19
- * name: "Basic SAST Policy",
20
- * enabled: true,
21
- * rules: [{
22
- * type: "pipeline",
23
- * branchType: "all",
24
- * }],
25
- * actions: [{
26
- * scan: "sast",
27
- * }],
28
- * }],
29
- * });
30
- * // See `gitlab_project_security_policy_attachment` or `gitlab_group_security_policy_attachment`
31
- * // for how to link a security policy project to a project or group.
32
- * const policy = new gitlab.RepositoryFile("policy", {
33
- * project: "1234",
34
- * ref: "main",
35
- * filePath: ".gitlab/security-policies/policy.yml",
36
- * content: scan.then(scan => scan.yaml),
37
- * });
38
- * ```
39
- */
40
- export declare function getSecurityPolicyDocument(args?: GetSecurityPolicyDocumentArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityPolicyDocumentResult>;
41
- /**
42
- * A collection of arguments for invoking getSecurityPolicyDocument.
43
- */
44
- export interface GetSecurityPolicyDocumentArgs {
45
- /**
46
- * Scan execution policy configuration. Multiple policies can be specified.
47
- */
48
- scanExecutionPolicies?: inputs.GetSecurityPolicyDocumentScanExecutionPolicy[];
49
- }
50
- /**
51
- * A collection of values returned by getSecurityPolicyDocument.
52
- */
53
- export interface GetSecurityPolicyDocumentResult {
54
- /**
55
- * Unique identifier for this policy document (hash of generated YAML).
56
- */
57
- readonly id: string;
58
- /**
59
- * Scan execution policy configuration. Multiple policies can be specified.
60
- */
61
- readonly scanExecutionPolicies?: outputs.GetSecurityPolicyDocumentScanExecutionPolicy[];
62
- /**
63
- * The generated policy document in YAML format, ready to write to `.gitlab/security-policies/policy.yml`.
64
- */
65
- readonly yaml: string;
66
- }
67
- /**
68
- * Generates a GitLab security policy YAML document from structured configuration.
69
- * This data source performs pure transformation without any API calls.
70
- *
71
- * **Upstream API**: [GitLab Security Policies Documentation](https://docs.gitlab.com/ee/user/application_security/policies/scan_execution_policies/)
72
- *
73
- * ## Example Usage
74
- *
75
- * ```typescript
76
- * import * as pulumi from "@pulumi/pulumi";
77
- * import * as gitlab from "@pulumi/gitlab";
78
- *
79
- * // Use this with `gitlab_repository_file` to manage your policies using native HCL
80
- * const scan = gitlab.getSecurityPolicyDocument({
81
- * scanExecutionPolicies: [{
82
- * name: "Basic SAST Policy",
83
- * enabled: true,
84
- * rules: [{
85
- * type: "pipeline",
86
- * branchType: "all",
87
- * }],
88
- * actions: [{
89
- * scan: "sast",
90
- * }],
91
- * }],
92
- * });
93
- * // See `gitlab_project_security_policy_attachment` or `gitlab_group_security_policy_attachment`
94
- * // for how to link a security policy project to a project or group.
95
- * const policy = new gitlab.RepositoryFile("policy", {
96
- * project: "1234",
97
- * ref: "main",
98
- * filePath: ".gitlab/security-policies/policy.yml",
99
- * content: scan.then(scan => scan.yaml),
100
- * });
101
- * ```
102
- */
103
- export declare function getSecurityPolicyDocumentOutput(args?: GetSecurityPolicyDocumentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityPolicyDocumentResult>;
104
- /**
105
- * A collection of arguments for invoking getSecurityPolicyDocument.
106
- */
107
- export interface GetSecurityPolicyDocumentOutputArgs {
108
- /**
109
- * Scan execution policy configuration. Multiple policies can be specified.
110
- */
111
- scanExecutionPolicies?: pulumi.Input<pulumi.Input<inputs.GetSecurityPolicyDocumentScanExecutionPolicyArgs>[]>;
112
- }
@@ -1,96 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getSecurityPolicyDocumentOutput = exports.getSecurityPolicyDocument = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * Generates a GitLab security policy YAML document from structured configuration.
10
- * This data source performs pure transformation without any API calls.
11
- *
12
- * **Upstream API**: [GitLab Security Policies Documentation](https://docs.gitlab.com/ee/user/application_security/policies/scan_execution_policies/)
13
- *
14
- * ## Example Usage
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as gitlab from "@pulumi/gitlab";
19
- *
20
- * // Use this with `gitlab_repository_file` to manage your policies using native HCL
21
- * const scan = gitlab.getSecurityPolicyDocument({
22
- * scanExecutionPolicies: [{
23
- * name: "Basic SAST Policy",
24
- * enabled: true,
25
- * rules: [{
26
- * type: "pipeline",
27
- * branchType: "all",
28
- * }],
29
- * actions: [{
30
- * scan: "sast",
31
- * }],
32
- * }],
33
- * });
34
- * // See `gitlab_project_security_policy_attachment` or `gitlab_group_security_policy_attachment`
35
- * // for how to link a security policy project to a project or group.
36
- * const policy = new gitlab.RepositoryFile("policy", {
37
- * project: "1234",
38
- * ref: "main",
39
- * filePath: ".gitlab/security-policies/policy.yml",
40
- * content: scan.then(scan => scan.yaml),
41
- * });
42
- * ```
43
- */
44
- function getSecurityPolicyDocument(args, opts) {
45
- args = args || {};
46
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
- return pulumi.runtime.invoke("gitlab:index/getSecurityPolicyDocument:getSecurityPolicyDocument", {
48
- "scanExecutionPolicies": args.scanExecutionPolicies,
49
- }, opts);
50
- }
51
- exports.getSecurityPolicyDocument = getSecurityPolicyDocument;
52
- /**
53
- * Generates a GitLab security policy YAML document from structured configuration.
54
- * This data source performs pure transformation without any API calls.
55
- *
56
- * **Upstream API**: [GitLab Security Policies Documentation](https://docs.gitlab.com/ee/user/application_security/policies/scan_execution_policies/)
57
- *
58
- * ## Example Usage
59
- *
60
- * ```typescript
61
- * import * as pulumi from "@pulumi/pulumi";
62
- * import * as gitlab from "@pulumi/gitlab";
63
- *
64
- * // Use this with `gitlab_repository_file` to manage your policies using native HCL
65
- * const scan = gitlab.getSecurityPolicyDocument({
66
- * scanExecutionPolicies: [{
67
- * name: "Basic SAST Policy",
68
- * enabled: true,
69
- * rules: [{
70
- * type: "pipeline",
71
- * branchType: "all",
72
- * }],
73
- * actions: [{
74
- * scan: "sast",
75
- * }],
76
- * }],
77
- * });
78
- * // See `gitlab_project_security_policy_attachment` or `gitlab_group_security_policy_attachment`
79
- * // for how to link a security policy project to a project or group.
80
- * const policy = new gitlab.RepositoryFile("policy", {
81
- * project: "1234",
82
- * ref: "main",
83
- * filePath: ".gitlab/security-policies/policy.yml",
84
- * content: scan.then(scan => scan.yaml),
85
- * });
86
- * ```
87
- */
88
- function getSecurityPolicyDocumentOutput(args, opts) {
89
- args = args || {};
90
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
91
- return pulumi.runtime.invokeOutput("gitlab:index/getSecurityPolicyDocument:getSecurityPolicyDocument", {
92
- "scanExecutionPolicies": args.scanExecutionPolicies,
93
- }, opts);
94
- }
95
- exports.getSecurityPolicyDocumentOutput = getSecurityPolicyDocumentOutput;
96
- //# sourceMappingURL=getSecurityPolicyDocument.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getSecurityPolicyDocument.js","sourceRoot":"","sources":["../getSecurityPolicyDocument.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}