@pulumi/harness 0.16.7 → 0.16.8
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.
- package/autostopping/alert.d.ts +2 -2
- package/autostopping/alert.js +2 -2
- package/autostopping/gcpProxy.d.ts +4 -4
- package/autostopping/gcpProxy.js +4 -4
- package/autostopping/ruleEcs.d.ts +4 -4
- package/autostopping/ruleEcs.js +4 -4
- package/autostopping/ruleRds.d.ts +5 -5
- package/autostopping/ruleRds.js +5 -5
- package/autostopping/ruleScaleGroup.d.ts +12 -12
- package/autostopping/ruleScaleGroup.js +12 -12
- package/autostopping/ruleVm.d.ts +22 -22
- package/autostopping/ruleVm.js +22 -22
- package/chaos/actionTemplate.d.ts +55 -55
- package/chaos/actionTemplate.js +55 -55
- package/chaos/experimentTemplate.d.ts +84 -84
- package/chaos/experimentTemplate.js +84 -84
- package/chaos/faultTemplate.d.ts +124 -124
- package/chaos/faultTemplate.js +124 -124
- package/chaos/imageRegistry.d.ts +6 -6
- package/chaos/imageRegistry.js +6 -6
- package/chaos/securityGovernanceCondition.d.ts +19 -19
- package/chaos/securityGovernanceCondition.js +19 -19
- package/chaos/securityGovernanceConditionV3.d.ts +13 -13
- package/chaos/securityGovernanceConditionV3.js +13 -13
- package/chaos/securityGovernanceRule.d.ts +21 -21
- package/chaos/securityGovernanceRule.js +21 -21
- package/chaos/securityGovernanceRuleV3.d.ts +9 -9
- package/chaos/securityGovernanceRuleV3.js +9 -9
- package/cluster/orchestrator.d.ts +1 -1
- package/cluster/orchestrator.js +1 -1
- package/cluster/orchestratorConfig.d.ts +9 -9
- package/cluster/orchestratorConfig.js +9 -9
- package/encryptedText.d.ts +3 -3
- package/encryptedText.js +3 -3
- package/environment.d.ts +7 -7
- package/environment.js +7 -7
- package/infrastructureDefinition.d.ts +13 -13
- package/infrastructureDefinition.js +13 -13
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +8 -8
- package/platform/appDynamicsConnector.js +8 -8
- package/platform/artifactoryConnector.d.ts +12 -12
- package/platform/artifactoryConnector.js +12 -12
- package/platform/awsCCConnector.d.ts +4 -4
- package/platform/awsCCConnector.js +4 -4
- package/platform/azureCloudCostConnector.d.ts +12 -12
- package/platform/azureCloudCostConnector.js +12 -12
- package/platform/azureCloudProviderConnector.d.ts +31 -31
- package/platform/azureCloudProviderConnector.js +31 -31
- package/platform/bitbucketConnector.d.ts +27 -27
- package/platform/bitbucketConnector.js +27 -27
- package/platform/connectorCustomhealthsource.d.ts +6 -6
- package/platform/connectorCustomhealthsource.js +6 -6
- package/platform/connectorGcpKms.d.ts +15 -15
- package/platform/connectorGcpKms.js +15 -15
- package/platform/connectorRancher.d.ts +3 -3
- package/platform/connectorRancher.js +3 -3
- package/platform/dbSchema.d.ts +32 -32
- package/platform/dbSchema.js +32 -32
- package/platform/elasticsearchConnector.d.ts +8 -8
- package/platform/elasticsearchConnector.js +8 -8
- package/platform/environment.d.ts +11 -11
- package/platform/environment.js +11 -11
- package/platform/environmentClustersMapping.d.ts +6 -6
- package/platform/environmentClustersMapping.js +6 -6
- package/platform/filters.d.ts +4 -4
- package/platform/filters.js +4 -4
- package/platform/gcpCloudCostConnector.d.ts +4 -4
- package/platform/gcpCloudCostConnector.js +4 -4
- package/platform/gcpSecretManagerConnector.d.ts +8 -8
- package/platform/gcpSecretManagerConnector.js +8 -8
- package/platform/getEnvironmentClustersMapping.d.ts +12 -12
- package/platform/getEnvironmentClustersMapping.js +12 -12
- package/platform/getPolicySet.d.ts +8 -8
- package/platform/getPolicySet.js +8 -8
- package/platform/gitOpsAgent.d.ts +4 -4
- package/platform/gitOpsAgent.js +4 -4
- package/platform/gitOpsApplications.d.ts +9 -9
- package/platform/gitOpsApplications.js +9 -9
- package/platform/gitOpsGnupg.d.ts +3 -3
- package/platform/gitOpsGnupg.js +3 -3
- package/platform/gitOpsRepoCert.d.ts +1 -1
- package/platform/gitOpsRepoCert.js +1 -1
- package/platform/gitOpsRepoCred.d.ts +5 -5
- package/platform/gitOpsRepoCred.js +5 -5
- package/platform/gitopsAppProjectMapping.d.ts +12 -0
- package/platform/gitopsAppProjectMapping.d.ts.map +1 -1
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +59 -59
- package/platform/gitopsApplicationset.js +59 -59
- package/platform/harLifecycleRule.d.ts +20 -20
- package/platform/harLifecycleRule.js +20 -20
- package/platform/harRegistry.d.ts +69 -69
- package/platform/harRegistry.js +69 -69
- package/platform/iacmAnsibleInventory.d.ts +11 -11
- package/platform/iacmAnsibleInventory.js +11 -11
- package/platform/iacmAnsiblePlaybook.d.ts +10 -10
- package/platform/iacmAnsiblePlaybook.js +10 -10
- package/platform/idpScorecard.d.ts +14 -14
- package/platform/idpScorecard.js +14 -14
- package/platform/idpScorecardCheck.d.ts +9 -9
- package/platform/idpScorecardCheck.js +9 -9
- package/platform/infraVariableSet.d.ts +21 -21
- package/platform/infraVariableSet.js +21 -21
- package/platform/infrastructure.d.ts +7 -7
- package/platform/infrastructure.js +7 -7
- package/platform/kubernetesConnector.d.ts +17 -17
- package/platform/kubernetesConnector.js +17 -17
- package/platform/monitoredService.d.ts +123 -123
- package/platform/monitoredService.js +123 -123
- package/platform/notificationRule.d.ts +10 -10
- package/platform/notificationRule.js +10 -10
- package/platform/pipeline.d.ts +9 -9
- package/platform/pipeline.js +9 -9
- package/platform/pipelineCentralNotificationRule.d.ts +22 -22
- package/platform/pipelineCentralNotificationRule.js +22 -22
- package/platform/pipelineFilters.d.ts +43 -43
- package/platform/pipelineFilters.js +43 -43
- package/platform/prometheusConnector.d.ts +6 -6
- package/platform/prometheusConnector.js +6 -6
- package/platform/repo.d.ts +4 -4
- package/platform/repo.js +4 -4
- package/platform/resourceGroup.d.ts +23 -23
- package/platform/resourceGroup.js +23 -23
- package/platform/secretFile.d.ts +10 -10
- package/platform/secretFile.js +10 -10
- package/platform/secretText.d.ts +13 -13
- package/platform/secretText.js +13 -13
- package/platform/secretWinrm.d.ts +89 -89
- package/platform/secretWinrm.js +89 -89
- package/platform/service.d.ts +10 -10
- package/platform/service.js +10 -10
- package/platform/slo.d.ts +17 -17
- package/platform/slo.js +17 -17
- package/platform/splunkConnector.d.ts +11 -11
- package/platform/splunkConnector.js +11 -11
- package/platform/templateFilters.d.ts +4 -4
- package/platform/templateFilters.js +4 -4
- package/platform/usergroup.d.ts +21 -21
- package/platform/usergroup.js +21 -21
- package/platform/variables.d.ts +4 -4
- package/platform/variables.js +4 -4
- package/platform/workspace.d.ts +32 -32
- package/platform/workspace.js +32 -32
- package/platformCcmFilters.d.ts +4 -4
- package/platformCcmFilters.js +4 -4
- package/service/discoveryAgent.d.ts +62 -62
- package/service/discoveryAgent.js +62 -62
- package/service/discoverySetting.d.ts +2 -2
- package/service/discoverySetting.js +2 -2
- package/service/kubernetes.d.ts +4 -4
- package/service/kubernetes.js +4 -4
- package/sshCredential.d.ts +3 -3
- package/sshCredential.js +3 -3
- package/userGroup.d.ts +6 -6
- package/userGroup.js +6 -6
package/platform/secretWinrm.js
CHANGED
|
@@ -50,14 +50,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
50
50
|
* value: "account_ntlm_pass",
|
|
51
51
|
* });
|
|
52
52
|
* const accountNtlm = new harness.platform.SecretWinrm("account_ntlm", {
|
|
53
|
-
* identifier: "account_ntlm_v3",
|
|
54
|
-
* name: "Account NTLM v3",
|
|
55
|
-
* description: "Account-level WinRM with NTLM",
|
|
56
|
-
* tags: [
|
|
57
|
-
* "scope:account",
|
|
58
|
-
* "auth:ntlm",
|
|
59
|
-
* ],
|
|
60
|
-
* port: 5986,
|
|
61
53
|
* ntlm: {
|
|
62
54
|
* domain: "example.com",
|
|
63
55
|
* username: "admin",
|
|
@@ -66,28 +58,36 @@ const utilities = __importStar(require("../utilities"));
|
|
|
66
58
|
* skipCertCheck: false,
|
|
67
59
|
* useNoProfile: true,
|
|
68
60
|
* },
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* identifier: "account_kerberos_keytab_v3",
|
|
73
|
-
* name: "Account Kerberos KeyTab v3",
|
|
74
|
-
* description: "Account-level WinRM with Kerberos KeyTab",
|
|
61
|
+
* identifier: "account_ntlm_v3",
|
|
62
|
+
* name: "Account NTLM v3",
|
|
63
|
+
* description: "Account-level WinRM with NTLM",
|
|
75
64
|
* tags: [
|
|
76
65
|
* "scope:account",
|
|
77
|
-
* "auth:
|
|
66
|
+
* "auth:ntlm",
|
|
78
67
|
* ],
|
|
79
68
|
* port: 5986,
|
|
69
|
+
* });
|
|
70
|
+
* // 2. Account-level Kerberos with KeyTab
|
|
71
|
+
* const accountKerberosKeytab = new harness.platform.SecretWinrm("account_kerberos_keytab", {
|
|
80
72
|
* kerberos: {
|
|
73
|
+
* tgtKeyTabFilePathSpec: {
|
|
74
|
+
* keyPath: "/etc/krb5.keytab",
|
|
75
|
+
* },
|
|
81
76
|
* principal: "service@EXAMPLE.COM",
|
|
82
77
|
* realm: "EXAMPLE.COM",
|
|
83
78
|
* tgtGenerationMethod: "KeyTabFilePath",
|
|
84
79
|
* useSsl: true,
|
|
85
80
|
* skipCertCheck: true,
|
|
86
81
|
* useNoProfile: true,
|
|
87
|
-
* tgtKeyTabFilePathSpec: {
|
|
88
|
-
* keyPath: "/etc/krb5.keytab",
|
|
89
|
-
* },
|
|
90
82
|
* },
|
|
83
|
+
* identifier: "account_kerberos_keytab_v3",
|
|
84
|
+
* name: "Account Kerberos KeyTab v3",
|
|
85
|
+
* description: "Account-level WinRM with Kerberos KeyTab",
|
|
86
|
+
* tags: [
|
|
87
|
+
* "scope:account",
|
|
88
|
+
* "auth:kerberos-keytab",
|
|
89
|
+
* ],
|
|
90
|
+
* port: 5986,
|
|
91
91
|
* });
|
|
92
92
|
* // 3. Account-level Kerberos with Password
|
|
93
93
|
* const accountKerberosPassword1 = new harness.platform.SecretText("account_kerberos_password_1", {
|
|
@@ -99,25 +99,25 @@ const utilities = __importStar(require("../utilities"));
|
|
|
99
99
|
* value: "account_kerberos_pass",
|
|
100
100
|
* });
|
|
101
101
|
* const accountKerberosPassword1SecretWinrm = new harness.platform.SecretWinrm("account_kerberos_password_1", {
|
|
102
|
-
* identifier: "account_kerb_winrm_20251111",
|
|
103
|
-
* name: "Account Kerberos WinRM 20251111",
|
|
104
|
-
* description: "Account-level WinRM with Kerberos Password",
|
|
105
|
-
* tags: [
|
|
106
|
-
* "scope:account",
|
|
107
|
-
* "auth:kerberos-password",
|
|
108
|
-
* ],
|
|
109
|
-
* port: 5986,
|
|
110
102
|
* kerberos: {
|
|
103
|
+
* tgtPasswordSpec: {
|
|
104
|
+
* passwordRef: pulumi.interpolate`account.${accountKerberosPassword1.id}`,
|
|
105
|
+
* },
|
|
111
106
|
* principal: "user@EXAMPLE.COM",
|
|
112
107
|
* realm: "EXAMPLE.COM",
|
|
113
108
|
* tgtGenerationMethod: "Password",
|
|
114
109
|
* useSsl: true,
|
|
115
110
|
* skipCertCheck: false,
|
|
116
111
|
* useNoProfile: true,
|
|
117
|
-
* tgtPasswordSpec: {
|
|
118
|
-
* passwordRef: pulumi.interpolate`account.${accountKerberosPassword1.id}`,
|
|
119
|
-
* },
|
|
120
112
|
* },
|
|
113
|
+
* identifier: "account_kerb_winrm_20251111",
|
|
114
|
+
* name: "Account Kerberos WinRM 20251111",
|
|
115
|
+
* description: "Account-level WinRM with Kerberos Password",
|
|
116
|
+
* tags: [
|
|
117
|
+
* "scope:account",
|
|
118
|
+
* "auth:kerberos-password",
|
|
119
|
+
* ],
|
|
120
|
+
* port: 5986,
|
|
121
121
|
* });
|
|
122
122
|
* // ============================================================================
|
|
123
123
|
* // ORGANIZATION LEVEL TESTS (3 scenarios)
|
|
@@ -133,6 +133,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
133
133
|
* value: "org_ntlm_pass",
|
|
134
134
|
* });
|
|
135
135
|
* const orgNtlm = new harness.platform.SecretWinrm("org_ntlm", {
|
|
136
|
+
* ntlm: {
|
|
137
|
+
* domain: "org.example.com",
|
|
138
|
+
* username: "orgadmin",
|
|
139
|
+
* passwordRef: pulumi.interpolate`org.${orgNtlmPassword.id}`,
|
|
140
|
+
* useSsl: false,
|
|
141
|
+
* skipCertCheck: false,
|
|
142
|
+
* useNoProfile: true,
|
|
143
|
+
* },
|
|
136
144
|
* identifier: "org_ntlm_v3",
|
|
137
145
|
* name: "Org NTLM v3",
|
|
138
146
|
* description: "Org-level WinRM with NTLM",
|
|
@@ -142,17 +150,20 @@ const utilities = __importStar(require("../utilities"));
|
|
|
142
150
|
* "auth:ntlm",
|
|
143
151
|
* ],
|
|
144
152
|
* port: 5985,
|
|
145
|
-
* ntlm: {
|
|
146
|
-
* domain: "org.example.com",
|
|
147
|
-
* username: "orgadmin",
|
|
148
|
-
* passwordRef: pulumi.interpolate`org.${orgNtlmPassword.id}`,
|
|
149
|
-
* useSsl: false,
|
|
150
|
-
* skipCertCheck: false,
|
|
151
|
-
* useNoProfile: true,
|
|
152
|
-
* },
|
|
153
153
|
* });
|
|
154
154
|
* // 5. Org-level Kerberos with KeyTab
|
|
155
155
|
* const orgKerberosKeytab = new harness.platform.SecretWinrm("org_kerberos_keytab", {
|
|
156
|
+
* kerberos: {
|
|
157
|
+
* tgtKeyTabFilePathSpec: {
|
|
158
|
+
* keyPath: "/etc/org.keytab",
|
|
159
|
+
* },
|
|
160
|
+
* principal: "orgservice@EXAMPLE.COM",
|
|
161
|
+
* realm: "EXAMPLE.COM",
|
|
162
|
+
* tgtGenerationMethod: "KeyTabFilePath",
|
|
163
|
+
* useSsl: true,
|
|
164
|
+
* skipCertCheck: true,
|
|
165
|
+
* useNoProfile: true,
|
|
166
|
+
* },
|
|
156
167
|
* identifier: "org_kerberos_keytab_v3",
|
|
157
168
|
* name: "Org Kerberos KeyTab v3",
|
|
158
169
|
* description: "Org-level WinRM with Kerberos KeyTab",
|
|
@@ -162,17 +173,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
162
173
|
* "auth:kerberos-keytab",
|
|
163
174
|
* ],
|
|
164
175
|
* port: 5986,
|
|
165
|
-
* kerberos: {
|
|
166
|
-
* principal: "orgservice@EXAMPLE.COM",
|
|
167
|
-
* realm: "EXAMPLE.COM",
|
|
168
|
-
* tgtGenerationMethod: "KeyTabFilePath",
|
|
169
|
-
* useSsl: true,
|
|
170
|
-
* skipCertCheck: true,
|
|
171
|
-
* useNoProfile: true,
|
|
172
|
-
* tgtKeyTabFilePathSpec: {
|
|
173
|
-
* keyPath: "/etc/org.keytab",
|
|
174
|
-
* },
|
|
175
|
-
* },
|
|
176
176
|
* });
|
|
177
177
|
* // 6. Org-level Kerberos with Password
|
|
178
178
|
* const orgKerberosPassword = new harness.platform.SecretText("org_kerberos_password", {
|
|
@@ -185,6 +185,17 @@ const utilities = __importStar(require("../utilities"));
|
|
|
185
185
|
* value: "org_kerberos_pass",
|
|
186
186
|
* });
|
|
187
187
|
* const orgKerberosPasswordSecretWinrm = new harness.platform.SecretWinrm("org_kerberos_password", {
|
|
188
|
+
* kerberos: {
|
|
189
|
+
* tgtPasswordSpec: {
|
|
190
|
+
* passwordRef: pulumi.interpolate`org.${orgKerberosPassword.id}`,
|
|
191
|
+
* },
|
|
192
|
+
* principal: "orguser@EXAMPLE.COM",
|
|
193
|
+
* realm: "EXAMPLE.COM",
|
|
194
|
+
* tgtGenerationMethod: "Password",
|
|
195
|
+
* useSsl: true,
|
|
196
|
+
* skipCertCheck: false,
|
|
197
|
+
* useNoProfile: true,
|
|
198
|
+
* },
|
|
188
199
|
* identifier: "org_kerb_winrm_v3",
|
|
189
200
|
* name: "Org Kerberos WinRM v3",
|
|
190
201
|
* description: "Org-level WinRM with Kerberos Password",
|
|
@@ -194,17 +205,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
194
205
|
* "auth:kerberos-password",
|
|
195
206
|
* ],
|
|
196
207
|
* port: 5986,
|
|
197
|
-
* kerberos: {
|
|
198
|
-
* principal: "orguser@EXAMPLE.COM",
|
|
199
|
-
* realm: "EXAMPLE.COM",
|
|
200
|
-
* tgtGenerationMethod: "Password",
|
|
201
|
-
* useSsl: true,
|
|
202
|
-
* skipCertCheck: false,
|
|
203
|
-
* useNoProfile: true,
|
|
204
|
-
* tgtPasswordSpec: {
|
|
205
|
-
* passwordRef: pulumi.interpolate`org.${orgKerberosPassword.id}`,
|
|
206
|
-
* },
|
|
207
|
-
* },
|
|
208
208
|
* });
|
|
209
209
|
* // ============================================================================
|
|
210
210
|
* // PROJECT LEVEL TESTS (3 scenarios)
|
|
@@ -221,6 +221,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
221
221
|
* value: "project_ntlm_pass",
|
|
222
222
|
* });
|
|
223
223
|
* const projectNtlm = new harness.platform.SecretWinrm("project_ntlm", {
|
|
224
|
+
* ntlm: {
|
|
225
|
+
* domain: "project.example.com",
|
|
226
|
+
* username: "projectadmin",
|
|
227
|
+
* passwordRef: projectNtlmPassword.id,
|
|
228
|
+
* useSsl: true,
|
|
229
|
+
* skipCertCheck: false,
|
|
230
|
+
* useNoProfile: false,
|
|
231
|
+
* },
|
|
224
232
|
* identifier: "proj_ntlm_winrm_v3",
|
|
225
233
|
* name: "Project NTLM WinRM v3",
|
|
226
234
|
* description: "Project-level WinRM with NTLM",
|
|
@@ -231,17 +239,20 @@ const utilities = __importStar(require("../utilities"));
|
|
|
231
239
|
* "auth:ntlm",
|
|
232
240
|
* ],
|
|
233
241
|
* port: 5986,
|
|
234
|
-
* ntlm: {
|
|
235
|
-
* domain: "project.example.com",
|
|
236
|
-
* username: "projectadmin",
|
|
237
|
-
* passwordRef: projectNtlmPassword.id,
|
|
238
|
-
* useSsl: true,
|
|
239
|
-
* skipCertCheck: false,
|
|
240
|
-
* useNoProfile: false,
|
|
241
|
-
* },
|
|
242
242
|
* });
|
|
243
243
|
* // 8. Project-level Kerberos with KeyTab
|
|
244
244
|
* const projectKerberosKeytab = new harness.platform.SecretWinrm("project_kerberos_keytab", {
|
|
245
|
+
* kerberos: {
|
|
246
|
+
* tgtKeyTabFilePathSpec: {
|
|
247
|
+
* keyPath: "/etc/project.keytab",
|
|
248
|
+
* },
|
|
249
|
+
* principal: "projectservice@EXAMPLE.COM",
|
|
250
|
+
* realm: "EXAMPLE.COM",
|
|
251
|
+
* tgtGenerationMethod: "KeyTabFilePath",
|
|
252
|
+
* useSsl: false,
|
|
253
|
+
* skipCertCheck: false,
|
|
254
|
+
* useNoProfile: false,
|
|
255
|
+
* },
|
|
245
256
|
* identifier: "proj_kerb_keytab_v3",
|
|
246
257
|
* name: "Project Kerberos KeyTab v3",
|
|
247
258
|
* description: "Project-level WinRM with Kerberos KeyTab",
|
|
@@ -252,17 +263,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
252
263
|
* "auth:kerberos-keytab",
|
|
253
264
|
* ],
|
|
254
265
|
* port: 5986,
|
|
255
|
-
* kerberos: {
|
|
256
|
-
* principal: "projectservice@EXAMPLE.COM",
|
|
257
|
-
* realm: "EXAMPLE.COM",
|
|
258
|
-
* tgtGenerationMethod: "KeyTabFilePath",
|
|
259
|
-
* useSsl: false,
|
|
260
|
-
* skipCertCheck: false,
|
|
261
|
-
* useNoProfile: false,
|
|
262
|
-
* tgtKeyTabFilePathSpec: {
|
|
263
|
-
* keyPath: "/etc/project.keytab",
|
|
264
|
-
* },
|
|
265
|
-
* },
|
|
266
266
|
* });
|
|
267
267
|
* // 9. Project-level Kerberos with Password
|
|
268
268
|
* const projectKerberosPassword = new harness.platform.SecretText("project_kerberos_password", {
|
|
@@ -276,6 +276,17 @@ const utilities = __importStar(require("../utilities"));
|
|
|
276
276
|
* value: "project_kerberos_pass",
|
|
277
277
|
* });
|
|
278
278
|
* const projectKerberosPasswordSecretWinrm = new harness.platform.SecretWinrm("project_kerberos_password", {
|
|
279
|
+
* kerberos: {
|
|
280
|
+
* tgtPasswordSpec: {
|
|
281
|
+
* passwordRef: projectKerberosPassword.id,
|
|
282
|
+
* },
|
|
283
|
+
* principal: "projectuser@EXAMPLE.COM",
|
|
284
|
+
* realm: "EXAMPLE.COM",
|
|
285
|
+
* tgtGenerationMethod: "Password",
|
|
286
|
+
* useSsl: false,
|
|
287
|
+
* skipCertCheck: true,
|
|
288
|
+
* useNoProfile: true,
|
|
289
|
+
* },
|
|
279
290
|
* identifier: "proj_kerb_winrm_v3",
|
|
280
291
|
* name: "Project Kerberos WinRM v3",
|
|
281
292
|
* description: "Project-level WinRM with Kerberos Password",
|
|
@@ -286,17 +297,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
286
297
|
* "auth:kerberos-password",
|
|
287
298
|
* ],
|
|
288
299
|
* port: 5986,
|
|
289
|
-
* kerberos: {
|
|
290
|
-
* principal: "projectuser@EXAMPLE.COM",
|
|
291
|
-
* realm: "EXAMPLE.COM",
|
|
292
|
-
* tgtGenerationMethod: "Password",
|
|
293
|
-
* useSsl: false,
|
|
294
|
-
* skipCertCheck: true,
|
|
295
|
-
* useNoProfile: true,
|
|
296
|
-
* tgtPasswordSpec: {
|
|
297
|
-
* passwordRef: projectKerberosPassword.id,
|
|
298
|
-
* },
|
|
299
|
-
* },
|
|
300
300
|
* });
|
|
301
301
|
* ```
|
|
302
302
|
*
|
package/platform/service.d.ts
CHANGED
|
@@ -11,11 +11,6 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.platform.Service("example", {
|
|
14
|
-
* identifier: "identifier",
|
|
15
|
-
* name: "name",
|
|
16
|
-
* description: "test",
|
|
17
|
-
* orgId: "org_id",
|
|
18
|
-
* projectId: "project_id",
|
|
19
14
|
* gitDetails: {
|
|
20
15
|
* branchName: "branchName",
|
|
21
16
|
* commitMessage: "commitMessage",
|
|
@@ -24,6 +19,11 @@ import * as outputs from "../types/output";
|
|
|
24
19
|
* storeType: "REMOTE",
|
|
25
20
|
* repoName: "repoName",
|
|
26
21
|
* },
|
|
22
|
+
* identifier: "identifier",
|
|
23
|
+
* name: "name",
|
|
24
|
+
* description: "test",
|
|
25
|
+
* orgId: "org_id",
|
|
26
|
+
* projectId: "project_id",
|
|
27
27
|
* yaml: `service:
|
|
28
28
|
* name: name
|
|
29
29
|
* identifier: identifier
|
|
@@ -66,11 +66,6 @@ import * as outputs from "../types/output";
|
|
|
66
66
|
* });
|
|
67
67
|
* //## Importing Service from Git
|
|
68
68
|
* const test = new harness.platform.Service("test", {
|
|
69
|
-
* identifier: "id",
|
|
70
|
-
* name: "name",
|
|
71
|
-
* orgId: "org_id",
|
|
72
|
-
* projectId: "project_id",
|
|
73
|
-
* importFromGit: true,
|
|
74
69
|
* gitDetails: {
|
|
75
70
|
* storeType: "REMOTE",
|
|
76
71
|
* connectorRef: "account.DoNotDeleteGitX",
|
|
@@ -78,6 +73,11 @@ import * as outputs from "../types/output";
|
|
|
78
73
|
* filePath: ".harness/accountService.yaml",
|
|
79
74
|
* branch: "main",
|
|
80
75
|
* },
|
|
76
|
+
* identifier: "id",
|
|
77
|
+
* name: "name",
|
|
78
|
+
* orgId: "org_id",
|
|
79
|
+
* projectId: "project_id",
|
|
80
|
+
* importFromGit: true,
|
|
81
81
|
* });
|
|
82
82
|
* ```
|
|
83
83
|
*
|
package/platform/service.js
CHANGED
|
@@ -38,11 +38,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.Service("example", {
|
|
41
|
-
* identifier: "identifier",
|
|
42
|
-
* name: "name",
|
|
43
|
-
* description: "test",
|
|
44
|
-
* orgId: "org_id",
|
|
45
|
-
* projectId: "project_id",
|
|
46
41
|
* gitDetails: {
|
|
47
42
|
* branchName: "branchName",
|
|
48
43
|
* commitMessage: "commitMessage",
|
|
@@ -51,6 +46,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
51
46
|
* storeType: "REMOTE",
|
|
52
47
|
* repoName: "repoName",
|
|
53
48
|
* },
|
|
49
|
+
* identifier: "identifier",
|
|
50
|
+
* name: "name",
|
|
51
|
+
* description: "test",
|
|
52
|
+
* orgId: "org_id",
|
|
53
|
+
* projectId: "project_id",
|
|
54
54
|
* yaml: `service:
|
|
55
55
|
* name: name
|
|
56
56
|
* identifier: identifier
|
|
@@ -93,11 +93,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
93
93
|
* });
|
|
94
94
|
* //## Importing Service from Git
|
|
95
95
|
* const test = new harness.platform.Service("test", {
|
|
96
|
-
* identifier: "id",
|
|
97
|
-
* name: "name",
|
|
98
|
-
* orgId: "org_id",
|
|
99
|
-
* projectId: "project_id",
|
|
100
|
-
* importFromGit: true,
|
|
101
96
|
* gitDetails: {
|
|
102
97
|
* storeType: "REMOTE",
|
|
103
98
|
* connectorRef: "account.DoNotDeleteGitX",
|
|
@@ -105,6 +100,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
105
100
|
* filePath: ".harness/accountService.yaml",
|
|
106
101
|
* branch: "main",
|
|
107
102
|
* },
|
|
103
|
+
* identifier: "id",
|
|
104
|
+
* name: "name",
|
|
105
|
+
* orgId: "org_id",
|
|
106
|
+
* projectId: "project_id",
|
|
107
|
+
* importFromGit: true,
|
|
108
108
|
* });
|
|
109
109
|
* ```
|
|
110
110
|
*
|
package/platform/slo.d.ts
CHANGED
|
@@ -11,20 +11,7 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const example = new harness.platform.Slo("example", {
|
|
14
|
-
* orgId: "org_id",
|
|
15
|
-
* projectId: "project_id",
|
|
16
|
-
* identifier: "identifier",
|
|
17
14
|
* request: {
|
|
18
|
-
* name: "name",
|
|
19
|
-
* description: "description",
|
|
20
|
-
* tags: [
|
|
21
|
-
* "foo:bar",
|
|
22
|
-
* "bar:foo",
|
|
23
|
-
* ],
|
|
24
|
-
* userJourneyRefs: [
|
|
25
|
-
* "one",
|
|
26
|
-
* "two",
|
|
27
|
-
* ],
|
|
28
15
|
* sloTarget: {
|
|
29
16
|
* type: "Calender",
|
|
30
17
|
* sloTargetPercentage: 10,
|
|
@@ -35,6 +22,20 @@ import * as outputs from "../types/output";
|
|
|
35
22
|
* },
|
|
36
23
|
* }),
|
|
37
24
|
* },
|
|
25
|
+
* notificationRuleRefs: [{
|
|
26
|
+
* notificationRuleRef: "notification_rule_ref",
|
|
27
|
+
* enabled: true,
|
|
28
|
+
* }],
|
|
29
|
+
* name: "name",
|
|
30
|
+
* description: "description",
|
|
31
|
+
* tags: [
|
|
32
|
+
* "foo:bar",
|
|
33
|
+
* "bar:foo",
|
|
34
|
+
* ],
|
|
35
|
+
* userJourneyRefs: [
|
|
36
|
+
* "one",
|
|
37
|
+
* "two",
|
|
38
|
+
* ],
|
|
38
39
|
* type: "Simple",
|
|
39
40
|
* spec: JSON.stringify({
|
|
40
41
|
* monitoredServiceRef: "monitoredServiceRef",
|
|
@@ -54,11 +55,10 @@ import * as outputs from "../types/output";
|
|
|
54
55
|
* },
|
|
55
56
|
* }],
|
|
56
57
|
* }),
|
|
57
|
-
* notificationRuleRefs: [{
|
|
58
|
-
* notificationRuleRef: "notification_rule_ref",
|
|
59
|
-
* enabled: true,
|
|
60
|
-
* }],
|
|
61
58
|
* },
|
|
59
|
+
* orgId: "org_id",
|
|
60
|
+
* projectId: "project_id",
|
|
61
|
+
* identifier: "identifier",
|
|
62
62
|
* });
|
|
63
63
|
* ```
|
|
64
64
|
*
|
package/platform/slo.js
CHANGED
|
@@ -38,20 +38,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const example = new harness.platform.Slo("example", {
|
|
41
|
-
* orgId: "org_id",
|
|
42
|
-
* projectId: "project_id",
|
|
43
|
-
* identifier: "identifier",
|
|
44
41
|
* request: {
|
|
45
|
-
* name: "name",
|
|
46
|
-
* description: "description",
|
|
47
|
-
* tags: [
|
|
48
|
-
* "foo:bar",
|
|
49
|
-
* "bar:foo",
|
|
50
|
-
* ],
|
|
51
|
-
* userJourneyRefs: [
|
|
52
|
-
* "one",
|
|
53
|
-
* "two",
|
|
54
|
-
* ],
|
|
55
42
|
* sloTarget: {
|
|
56
43
|
* type: "Calender",
|
|
57
44
|
* sloTargetPercentage: 10,
|
|
@@ -62,6 +49,20 @@ const utilities = __importStar(require("../utilities"));
|
|
|
62
49
|
* },
|
|
63
50
|
* }),
|
|
64
51
|
* },
|
|
52
|
+
* notificationRuleRefs: [{
|
|
53
|
+
* notificationRuleRef: "notification_rule_ref",
|
|
54
|
+
* enabled: true,
|
|
55
|
+
* }],
|
|
56
|
+
* name: "name",
|
|
57
|
+
* description: "description",
|
|
58
|
+
* tags: [
|
|
59
|
+
* "foo:bar",
|
|
60
|
+
* "bar:foo",
|
|
61
|
+
* ],
|
|
62
|
+
* userJourneyRefs: [
|
|
63
|
+
* "one",
|
|
64
|
+
* "two",
|
|
65
|
+
* ],
|
|
65
66
|
* type: "Simple",
|
|
66
67
|
* spec: JSON.stringify({
|
|
67
68
|
* monitoredServiceRef: "monitoredServiceRef",
|
|
@@ -81,11 +82,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
81
82
|
* },
|
|
82
83
|
* }],
|
|
83
84
|
* }),
|
|
84
|
-
* notificationRuleRefs: [{
|
|
85
|
-
* notificationRuleRef: "notification_rule_ref",
|
|
86
|
-
* enabled: true,
|
|
87
|
-
* }],
|
|
88
85
|
* },
|
|
86
|
+
* orgId: "org_id",
|
|
87
|
+
* projectId: "project_id",
|
|
88
|
+
* identifier: "identifier",
|
|
89
89
|
* });
|
|
90
90
|
* ```
|
|
91
91
|
*
|
|
@@ -12,6 +12,10 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* // Example 1: Username/Password Authentication (New Block Format)
|
|
14
14
|
* const usernamePassword = new harness.platform.SplunkConnector("username_password", {
|
|
15
|
+
* usernamePassword: {
|
|
16
|
+
* username: "splunk_user",
|
|
17
|
+
* passwordRef: "account.splunk_password",
|
|
18
|
+
* },
|
|
15
19
|
* identifier: "splunk_userpass",
|
|
16
20
|
* name: "Splunk Username/Password",
|
|
17
21
|
* description: "Splunk connector with username/password authentication",
|
|
@@ -19,13 +23,12 @@ import * as outputs from "../types/output";
|
|
|
19
23
|
* url: "https://splunk.company.com:8089",
|
|
20
24
|
* delegateSelectors: ["harness-delegate"],
|
|
21
25
|
* accountId: "splunk_account_id",
|
|
22
|
-
* usernamePassword: {
|
|
23
|
-
* username: "splunk_user",
|
|
24
|
-
* passwordRef: "account.splunk_password",
|
|
25
|
-
* },
|
|
26
26
|
* });
|
|
27
27
|
* // Example 2: Bearer Token Authentication
|
|
28
28
|
* const bearerToken = new harness.platform.SplunkConnector("bearer_token", {
|
|
29
|
+
* bearerToken: {
|
|
30
|
+
* bearerTokenRef: "account.splunk_bearer_token",
|
|
31
|
+
* },
|
|
29
32
|
* identifier: "splunk_bearer",
|
|
30
33
|
* name: "Splunk Bearer Token",
|
|
31
34
|
* description: "Splunk connector with bearer token authentication",
|
|
@@ -33,12 +36,12 @@ import * as outputs from "../types/output";
|
|
|
33
36
|
* url: "https://splunk.company.com:8089",
|
|
34
37
|
* delegateSelectors: ["harness-delegate"],
|
|
35
38
|
* accountId: "splunk_account_id",
|
|
36
|
-
* bearerToken: {
|
|
37
|
-
* bearerTokenRef: "account.splunk_bearer_token",
|
|
38
|
-
* },
|
|
39
39
|
* });
|
|
40
40
|
* // Example 3: HEC Token Authentication
|
|
41
41
|
* const hecToken = new harness.platform.SplunkConnector("hec_token", {
|
|
42
|
+
* hecToken: {
|
|
43
|
+
* hecTokenRef: "account.splunk_hec_token",
|
|
44
|
+
* },
|
|
42
45
|
* identifier: "splunk_hec",
|
|
43
46
|
* name: "Splunk HEC Token",
|
|
44
47
|
* description: "Splunk connector with HEC token authentication",
|
|
@@ -46,12 +49,10 @@ import * as outputs from "../types/output";
|
|
|
46
49
|
* url: "https://splunk.company.com:8088",
|
|
47
50
|
* delegateSelectors: ["harness-delegate"],
|
|
48
51
|
* accountId: "splunk_account_id",
|
|
49
|
-
* hecToken: {
|
|
50
|
-
* hecTokenRef: "account.splunk_hec_token",
|
|
51
|
-
* },
|
|
52
52
|
* });
|
|
53
53
|
* // Example 4: No Authentication
|
|
54
54
|
* const noAuth = new harness.platform.SplunkConnector("no_auth", {
|
|
55
|
+
* noAuthentication: {},
|
|
55
56
|
* identifier: "splunk_no_auth",
|
|
56
57
|
* name: "Splunk No Auth",
|
|
57
58
|
* description: "Splunk connector without authentication",
|
|
@@ -59,7 +60,6 @@ import * as outputs from "../types/output";
|
|
|
59
60
|
* url: "https://splunk-dev.company.com:8089",
|
|
60
61
|
* delegateSelectors: ["harness-delegate"],
|
|
61
62
|
* accountId: "splunk_account_id",
|
|
62
|
-
* noAuthentication: {},
|
|
63
63
|
* });
|
|
64
64
|
* // Example 5: Legacy Format (Deprecated but still supported)
|
|
65
65
|
* const legacy = new harness.platform.SplunkConnector("legacy", {
|
|
@@ -39,6 +39,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
39
39
|
*
|
|
40
40
|
* // Example 1: Username/Password Authentication (New Block Format)
|
|
41
41
|
* const usernamePassword = new harness.platform.SplunkConnector("username_password", {
|
|
42
|
+
* usernamePassword: {
|
|
43
|
+
* username: "splunk_user",
|
|
44
|
+
* passwordRef: "account.splunk_password",
|
|
45
|
+
* },
|
|
42
46
|
* identifier: "splunk_userpass",
|
|
43
47
|
* name: "Splunk Username/Password",
|
|
44
48
|
* description: "Splunk connector with username/password authentication",
|
|
@@ -46,13 +50,12 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
50
|
* url: "https://splunk.company.com:8089",
|
|
47
51
|
* delegateSelectors: ["harness-delegate"],
|
|
48
52
|
* accountId: "splunk_account_id",
|
|
49
|
-
* usernamePassword: {
|
|
50
|
-
* username: "splunk_user",
|
|
51
|
-
* passwordRef: "account.splunk_password",
|
|
52
|
-
* },
|
|
53
53
|
* });
|
|
54
54
|
* // Example 2: Bearer Token Authentication
|
|
55
55
|
* const bearerToken = new harness.platform.SplunkConnector("bearer_token", {
|
|
56
|
+
* bearerToken: {
|
|
57
|
+
* bearerTokenRef: "account.splunk_bearer_token",
|
|
58
|
+
* },
|
|
56
59
|
* identifier: "splunk_bearer",
|
|
57
60
|
* name: "Splunk Bearer Token",
|
|
58
61
|
* description: "Splunk connector with bearer token authentication",
|
|
@@ -60,12 +63,12 @@ const utilities = __importStar(require("../utilities"));
|
|
|
60
63
|
* url: "https://splunk.company.com:8089",
|
|
61
64
|
* delegateSelectors: ["harness-delegate"],
|
|
62
65
|
* accountId: "splunk_account_id",
|
|
63
|
-
* bearerToken: {
|
|
64
|
-
* bearerTokenRef: "account.splunk_bearer_token",
|
|
65
|
-
* },
|
|
66
66
|
* });
|
|
67
67
|
* // Example 3: HEC Token Authentication
|
|
68
68
|
* const hecToken = new harness.platform.SplunkConnector("hec_token", {
|
|
69
|
+
* hecToken: {
|
|
70
|
+
* hecTokenRef: "account.splunk_hec_token",
|
|
71
|
+
* },
|
|
69
72
|
* identifier: "splunk_hec",
|
|
70
73
|
* name: "Splunk HEC Token",
|
|
71
74
|
* description: "Splunk connector with HEC token authentication",
|
|
@@ -73,12 +76,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
73
76
|
* url: "https://splunk.company.com:8088",
|
|
74
77
|
* delegateSelectors: ["harness-delegate"],
|
|
75
78
|
* accountId: "splunk_account_id",
|
|
76
|
-
* hecToken: {
|
|
77
|
-
* hecTokenRef: "account.splunk_hec_token",
|
|
78
|
-
* },
|
|
79
79
|
* });
|
|
80
80
|
* // Example 4: No Authentication
|
|
81
81
|
* const noAuth = new harness.platform.SplunkConnector("no_auth", {
|
|
82
|
+
* noAuthentication: {},
|
|
82
83
|
* identifier: "splunk_no_auth",
|
|
83
84
|
* name: "Splunk No Auth",
|
|
84
85
|
* description: "Splunk connector without authentication",
|
|
@@ -86,7 +87,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
86
87
|
* url: "https://splunk-dev.company.com:8089",
|
|
87
88
|
* delegateSelectors: ["harness-delegate"],
|
|
88
89
|
* accountId: "splunk_account_id",
|
|
89
|
-
* noAuthentication: {},
|
|
90
90
|
* });
|
|
91
91
|
* // Example 5: Legacy Format (Deprecated but still supported)
|
|
92
92
|
* const legacy = new harness.platform.SplunkConnector("legacy", {
|
|
@@ -11,15 +11,15 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as harness from "@pulumi/harness";
|
|
12
12
|
*
|
|
13
13
|
* const test = new harness.platform.TemplateFilters("test", {
|
|
14
|
+
* filterProperties: {
|
|
15
|
+
* tags: ["foo:bar"],
|
|
16
|
+
* filterType: "Template",
|
|
17
|
+
* },
|
|
14
18
|
* identifier: "identifier",
|
|
15
19
|
* name: "name",
|
|
16
20
|
* orgId: "org_id",
|
|
17
21
|
* projectId: "project_id",
|
|
18
22
|
* type: "Template",
|
|
19
|
-
* filterProperties: {
|
|
20
|
-
* tags: ["foo:bar"],
|
|
21
|
-
* filterType: "Template",
|
|
22
|
-
* },
|
|
23
23
|
* filterVisibility: "EveryOne",
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
@@ -38,15 +38,15 @@ const utilities = __importStar(require("../utilities"));
|
|
|
38
38
|
* import * as harness from "@pulumi/harness";
|
|
39
39
|
*
|
|
40
40
|
* const test = new harness.platform.TemplateFilters("test", {
|
|
41
|
+
* filterProperties: {
|
|
42
|
+
* tags: ["foo:bar"],
|
|
43
|
+
* filterType: "Template",
|
|
44
|
+
* },
|
|
41
45
|
* identifier: "identifier",
|
|
42
46
|
* name: "name",
|
|
43
47
|
* orgId: "org_id",
|
|
44
48
|
* projectId: "project_id",
|
|
45
49
|
* type: "Template",
|
|
46
|
-
* filterProperties: {
|
|
47
|
-
* tags: ["foo:bar"],
|
|
48
|
-
* filterType: "Template",
|
|
49
|
-
* },
|
|
50
50
|
* filterVisibility: "EveryOne",
|
|
51
51
|
* });
|
|
52
52
|
* ```
|