-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsource_types.yml
516 lines (516 loc) · 15.1 KB
/
source_types.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
---
amazon:
product_name: Amazon Web Services
category: Cloud
schema:
authentication:
- type: access_key_secret_key
is_superkey: true
name: AWS Secret key
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: access_key_secret_key
- component: text-field
name: authentication.username
label: Access key
- component: text-field
name: authentication.password
label: Secret key
type: password
- type: arn
name: Cost Management ARN
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: arn
- name: application.extra.bucket
stepKey: cost-management
component: text-field
label: S3 bucket name
isRequired: true
validate:
- type: required
- type: pattern
pattern: "^[A-Za-z0-9]+[A-Za-z0-9_-]*$"
- component: select
name: application.extra.bucket_region
label: AWS region
isRequired: true
validate:
- type: required
- name: authentication.extra.external_id
component: text-field
hideField: true
initializeOnMount: true
- name: authentication.username
stepKey: arn
component: text-field
label: ARN
isRequired: true
validate:
- type: required
- type: pattern
pattern: "^arnaws:.*"
- type: min-length
threshold: 10
- component: select
name: application.extra.metered
label: Metered Product
simpleValue: true
options:
- label: None
value: ""
- label: Red Hat Enterprise Linux
value: rhel
isRequired: false
hideField: false
- type: cloud-meter-arn
name: Subscription Watch ARN
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: cloud-meter-arn
- name: authentication.username
component: text-field
label: ARN
isRequired: true
validate:
- type: required
- type: pattern
pattern: "^arnaws:.*"
- type: min-length
threshold: 10
- name: authentication.extra.external_id
component: text-field
hideField: true
initializeOnMount: true
- type: provisioning-arn
name: Provisioning's ARN
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: provisioning-arn
- name: authentication.username
component: text-field
label: ARN
isRequired: true
validate:
- type: required
- type: pattern
pattern: "^arn:aws:.*"
- type: min-length
threshold: 10
vendor: Amazon
icon_url: "/apps/frontend-assets/partners-icons/aws-long.svg"
google:
product_name: Google Cloud
category: Cloud
vendor: Google
icon_url: "/apps/frontend-assets/partners-icons/google-cloud.svg"
schema:
authentication:
- type: project_id_service_account_json
name: Project ID and Service Account JSON
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: project_id_service_account_json
- component: text-field
name: authentication.username
label: Project ID
- component: textarea
name: authentication.password
label: Service Account JSON
- component: text-field
name: application.extra.dataset
stepKey: cost-management
label: Dataset name
- component: text-field
name: application.extra.bucket
stepKey: cost-management
label: Cloud storage bucket name
validate:
- type: required
- type: pattern
pattern: "^[a-z0-9_.-]+$"
- type: min-length
threshold: 3
- type: provisioning_project_id
name: Provisioning — project ID
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: provisioning_project_id
- component: text-field
name: authentication.username
label: Project ID
azure:
product_name: Microsoft Azure
category: Cloud
vendor: Azure
icon_url: "/apps/chrome/assets/images/partners-icons/microsoft-azure.svg"
schema:
authentication:
- type: lighthouse_subscription_id
name: Subscription ID
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: lighthouse_subscription_id
- component: text-field
name: authentication.username
label: Subscription ID
isRequired: true
validate:
- type: required
- type: provisioning_lighthouse_subscription_id
name: Provisioning — Subscription ID
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: provisioning_lighthouse_subscription_id
- component: text-field
name: authentication.username
label: Subscription ID
isRequired: true
validate:
- type: required
- type: tenant_id_client_id_client_secret
name: Tenant ID, Client ID, Client Secret
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: tenant_id_client_id_client_secret
- component: text-field
name: application.extra.resource_group
label: Resource group name
stepKey: azure-2
- component: text-field
name: application.extra.storage_account
label: Storage account name
stepKey: azure-2
- component: text-field
name: application.extra.subscription_id
label: Subscription ID
stepKey: service-principle
- component: text-field
name: application.extra.scope
label: Cost export scope
stepKey: azure-1
- component: text-field
name: application.extra.export_name
label: Export name
stepKey: azure-3
- component: text-field
name: authentication.extra.azure.tenant_id
label: Tenant ID
- component: text-field
name: authentication.username
label: Client ID
- component: text-field
name: authentication.password
label: Client Secret
type: password
- component: select
name: application.extra.metered
label: Metered Product
simpleValue: true
options:
- label: None
value: ""
- label: Red Hat Enterprise Linux
value: rhel
isRequired: false
hideField: false
bitbucket:
product_name: Bitbucket
category: Developer sources
vendor: Atlassian
schema:
authentication:
- type: bitbucket-app-password
name: Bitbucket app password
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: bitbucket-app-password
- component: text-field
name: authentication.username
label: Username for the Bitbucket account
- component: text-field
name: authentication.password
label: App password for the Bitbucket account
dockerhub:
product_name: Docker Hub
category: Developer sources
vendor: Docker
schema:
authentication:
- type: docker-access-token
name: Docker access token
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: docker-access-token
- component: text-field
name: authentication.username
label: Username of the Docker Hub account
- component: text-field
name: authentication.password
label: Acces Token for the Docker Hub account
github:
product_name: GitHub
category: Developer sources
vendor: Microsoft
schema:
authentication:
- type: github-personal-access-token
name: GitHub personal access token
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: github-personal-access-token
- component: text-field
name: authentication.username
label: Username of the GitHub account
- component: text-field
name: authentication.password
label: Personal Acces Token (PAT) for the GitHub account
gitlab:
product_name: GitLab
category: Developer sources
vendor: GitLab
schema:
authentication:
- type: gitlab-personal-access-token
name: GitLab personal access token
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: gitlab-personal-access-token
- component: text-field
name: authentication.username
label: Username of the GitLab account
- component: text-field
name: authentication.password
label: Personal Acces Token for the GitLab account
oracle-cloud-infrastructure:
category: Cloud
product_name: Oracle Cloud Infrastructure
vendor: Oracle
icon_url: "/apps/frontend-assets/partners-icons/oracle-short.svg"
schema:
authentication:
- type: ocid
name: Oracle Cloud ID (OCID)
fields:
- component: text-field
hideField: true
initializeOnMount: true
initialValue: ocid
name: authentication.authtype
- component: text-field
hideField: true
initializeOnMount: true
initialValue: ocid.uuid
name: authentication.username
- component: text-field
name: application.extra.bucket
label: Bucket Name
isRequired: true
validate:
- type: required
- component: text-field
name: application.extra.bucket_namespace
label: Bucket Namespace
isRequired: true
validate:
- type: required
- component: text-field
name: application.extra.bucket_region
label: Bucket Region
isRequired: true
validate:
- type: required
openshift:
product_name: Red Hat OpenShift Container Platform
category: Red Hat
schema:
authentication:
- type: token
name: Token
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: token
- component: text-field
name: source.source_ref
label: Cluster ID
stepKey: usageCollector
- component: text-field
name: authentication.password
label: Token
type: password
isRequired: true
validate:
- type: required
endpoint:
title: OpenShift endpoint
fields:
- component: text-field
name: endpoint.role
hideField: true
initializeOnMount: true
initialValue: kubernetes
- component: text-field
name: url
label: URL
validate:
- type: url
- component: switch
name: endpoint.verify_ssl
label: Verify SSL
- component: text-field
name: endpoint.certificate_authority
label: Certificate Authority
condition:
when: endpoint.verify_ssl
is: true
vendor: Red Hat
icon_url: "/apps/frontend-assets/platform-logos/openshift-container-platform.svg"
quay:
product_name: Quay
category: Developer sources
vendor: Red Hat
schema:
authentication:
- type: quay-encrypted-password
name: Quay's encrypted password
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: quay-encrypted-password
- component: text-field
name: authentication.username
label: Username of the Quay account
- component: text-field
name: authentication.password
label: Quay account's encrypted password
rh-marketplace:
product_name: Red Hat Marketplace
category: Red Hat
vendor: Red Hat
icon_url: "/apps/frontend-assets/red-hat-logos/stacked.svg"
schema:
authentication:
- type: marketplace-token
name: API Token
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: token
- component: text-field
name: authentication.password
label: API Token
isRequired: true
validate:
- type: required
satellite:
product_name: Red Hat Satellite
category: Red Hat
vendor: Red Hat
schema:
authentication:
- type: receptor_node
name: Receptor node
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: receptor_node
- component: text-field
name: source.source_ref
label: Satellite ID
isRequired: true
validate:
- type: required
endpoint:
title: Red Hat Satellite endpoint
fields:
- component: text-field
name: endpoint.receptor_node
label: Receptor ID
- component: text-field
name: endpoint.role
hideField: true
initializeOnMount: true
initialValue: satellite
icon_url: "/apps/frontend-assets/platform-logos/satellite.svg"
ibm:
product_name: IBM Cloud
category: Cloud
vendor: IBM
icon_url: "/apps/frontend-assets/partners-icons/ibm-cloud.svg"
schema:
authentication:
- type: api_token_account_id
name: API Token and Account ID
fields:
- component: text-field
name: authentication.authtype
hideField: true
initializeOnMount: true
initialValue: api_token_account_id
- component: text-field
name: authentication.username
label: Account ID
isRequired: true
validate:
- type: required
- component: text-field
name: authentication.password
label: API Token
type: password
isRequired: true
validate:
- type: required
- component: text-field
name: application.extra.enterprise_id
label: Enterprise ID
isRequired: true
validate:
- type: required