@pierskarsenbarg/sdm 1.16.0 → 1.18.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.
- package/getAccount.js +16 -1
- package/getAccount.js.map +1 -1
- package/getAccountAttachment.js +7 -1
- package/getAccountAttachment.js.map +1 -1
- package/getApprovalWorkflow.js +8 -1
- package/getApprovalWorkflow.js.map +1 -1
- package/getApprovalWorkflowApprover.js +9 -1
- package/getApprovalWorkflowApprover.js.map +1 -1
- package/getApprovalWorkflowStep.js +6 -1
- package/getApprovalWorkflowStep.js.map +1 -1
- package/getIdentityAlias.js +8 -1
- package/getIdentityAlias.js.map +1 -1
- package/getIdentitySet.js +6 -1
- package/getIdentitySet.js.map +1 -1
- package/getNode.js +10 -1
- package/getNode.js.map +1 -1
- package/getPeeringGroup.js +6 -1
- package/getPeeringGroup.js.map +1 -1
- package/getPeeringGroupNode.js +7 -1
- package/getPeeringGroupNode.js.map +1 -1
- package/getPeeringGroupPeer.js +7 -1
- package/getPeeringGroupPeer.js.map +1 -1
- package/getPeeringGroupResource.js +7 -1
- package/getPeeringGroupResource.js.map +1 -1
- package/getPolicy.d.ts +103 -0
- package/getPolicy.js +58 -0
- package/getPolicy.js.map +1 -0
- package/getProxyClusterKey.d.ts +81 -0
- package/getProxyClusterKey.js +56 -0
- package/getProxyClusterKey.js.map +1 -0
- package/getRemoteIdentity.js +8 -1
- package/getRemoteIdentity.js.map +1 -1
- package/getRemoteIdentityGroup.js +6 -1
- package/getRemoteIdentityGroup.js.map +1 -1
- package/getResource.js +11 -1
- package/getResource.js.map +1 -1
- package/getRole.js +7 -1
- package/getRole.js.map +1 -1
- package/getSecretStore.js +8 -1
- package/getSecretStore.js.map +1 -1
- package/getSshCaPubkey.js +6 -1
- package/getSshCaPubkey.js.map +1 -1
- package/getWorkflow.d.ts +0 -22
- package/getWorkflow.js +11 -23
- package/getWorkflow.js.map +1 -1
- package/getWorkflowApprover.js +8 -1
- package/getWorkflowApprover.js.map +1 -1
- package/getWorkflowRole.js +7 -1
- package/getWorkflowRole.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +18 -2
- package/index.js.map +1 -1
- package/node.d.ts +12 -0
- package/node.js +2 -0
- package/node.js.map +1 -1
- package/package.json +1 -1
- package/policy.d.ts +98 -0
- package/policy.js +79 -0
- package/policy.js.map +1 -0
- package/proxyClusterKey.d.ts +72 -0
- package/proxyClusterKey.js +78 -0
- package/proxyClusterKey.js.map +1 -0
- package/resource.d.ts +24 -0
- package/resource.js +4 -0
- package/resource.js.map +1 -1
- package/types/input.d.ts +153 -0
- package/types/output.d.ts +352 -0
- package/workflow.d.ts +0 -28
- package/workflow.js +0 -28
- package/workflow.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -263,6 +263,10 @@ export interface GetNodeNode {
|
|
|
263
263
|
* Gateway represents a StrongDM CLI installation running in gateway mode.
|
|
264
264
|
*/
|
|
265
265
|
gateways: outputs.GetNodeNodeGateway[];
|
|
266
|
+
/**
|
|
267
|
+
* ProxyCluster represents a cluster of StrongDM proxies.
|
|
268
|
+
*/
|
|
269
|
+
proxyClusters: outputs.GetNodeNodeProxyCluster[];
|
|
266
270
|
/**
|
|
267
271
|
* Relay represents a StrongDM CLI installation running in relay mode.
|
|
268
272
|
*/
|
|
@@ -316,6 +320,34 @@ export interface GetNodeNodeGatewayMaintenanceWindow {
|
|
|
316
320
|
cronSchedule: string;
|
|
317
321
|
requireIdleness: boolean;
|
|
318
322
|
}
|
|
323
|
+
export interface GetNodeNodeProxyCluster {
|
|
324
|
+
/**
|
|
325
|
+
* The public hostname/port tuple at which the proxy cluster will be accessible to clients.
|
|
326
|
+
*/
|
|
327
|
+
address?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Unique identifier of the Relay.
|
|
330
|
+
*/
|
|
331
|
+
id?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
|
|
334
|
+
*/
|
|
335
|
+
maintenanceWindows?: outputs.GetNodeNodeProxyClusterMaintenanceWindow[];
|
|
336
|
+
/**
|
|
337
|
+
* Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
|
338
|
+
*/
|
|
339
|
+
name?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Tags is a map of key, value pairs.
|
|
342
|
+
*/
|
|
343
|
+
tags?: {
|
|
344
|
+
[key: string]: string;
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
export interface GetNodeNodeProxyClusterMaintenanceWindow {
|
|
348
|
+
cronSchedule: string;
|
|
349
|
+
requireIdleness: boolean;
|
|
350
|
+
}
|
|
319
351
|
export interface GetNodeNodeRelay {
|
|
320
352
|
/**
|
|
321
353
|
* Device is a read only device name uploaded by the gateway process when it comes online.
|
|
@@ -408,6 +440,34 @@ export interface GetPeeringGroupResourcePeeringGroupResource {
|
|
|
408
440
|
*/
|
|
409
441
|
resourceId?: string;
|
|
410
442
|
}
|
|
443
|
+
export interface GetPolicyPolicy {
|
|
444
|
+
/**
|
|
445
|
+
* Optional description of the Policy.
|
|
446
|
+
*/
|
|
447
|
+
description?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Unique identifier of the Policy.
|
|
450
|
+
*/
|
|
451
|
+
id?: string;
|
|
452
|
+
/**
|
|
453
|
+
* Unique human-readable name of the Policy.
|
|
454
|
+
*/
|
|
455
|
+
name?: string;
|
|
456
|
+
/**
|
|
457
|
+
* The content of the Policy, in Cedar policy language.
|
|
458
|
+
*/
|
|
459
|
+
policy?: string;
|
|
460
|
+
}
|
|
461
|
+
export interface GetProxyClusterKeyProxyClusterKey {
|
|
462
|
+
/**
|
|
463
|
+
* Unique identifier of the Relay.
|
|
464
|
+
*/
|
|
465
|
+
id?: string;
|
|
466
|
+
/**
|
|
467
|
+
* The ID of the proxy cluster which this key authenticates to.
|
|
468
|
+
*/
|
|
469
|
+
proxyClusterId?: string;
|
|
470
|
+
}
|
|
411
471
|
export interface GetRemoteIdentityGroupRemoteIdentityGroup {
|
|
412
472
|
/**
|
|
413
473
|
* Unique identifier of the RemoteIdentityGroup.
|
|
@@ -465,6 +525,8 @@ export interface GetResourceResource {
|
|
|
465
525
|
cituses: outputs.GetResourceResourceCitus[];
|
|
466
526
|
clustrixes: outputs.GetResourceResourceClustrix[];
|
|
467
527
|
cockroaches: outputs.GetResourceResourceCockroach[];
|
|
528
|
+
couchbaseDatabases: outputs.GetResourceResourceCouchbaseDatabase[];
|
|
529
|
+
couchbaseWebUis: outputs.GetResourceResourceCouchbaseWebUi[];
|
|
468
530
|
db2Is: outputs.GetResourceResourceDb2I[];
|
|
469
531
|
db2Luws: outputs.GetResourceResourceDb2Luw[];
|
|
470
532
|
documentDbHosts: outputs.GetResourceResourceDocumentDbHost[];
|
|
@@ -524,6 +586,10 @@ export interface GetResourceResource {
|
|
|
524
586
|
trinos: outputs.GetResourceResourceTrino[];
|
|
525
587
|
}
|
|
526
588
|
export interface GetResourceResourceAk {
|
|
589
|
+
/**
|
|
590
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
591
|
+
*/
|
|
592
|
+
allowResourceRoleBypass?: boolean;
|
|
527
593
|
/**
|
|
528
594
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
529
595
|
*/
|
|
@@ -656,6 +722,10 @@ export interface GetResourceResourceAksBasicAuth {
|
|
|
656
722
|
username?: string;
|
|
657
723
|
}
|
|
658
724
|
export interface GetResourceResourceAksServiceAccount {
|
|
725
|
+
/**
|
|
726
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
727
|
+
*/
|
|
728
|
+
allowResourceRoleBypass?: boolean;
|
|
659
729
|
/**
|
|
660
730
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
661
731
|
*/
|
|
@@ -902,6 +972,10 @@ export interface GetResourceResourceAmazonEk {
|
|
|
902
972
|
* The Access Key ID to use to authenticate.
|
|
903
973
|
*/
|
|
904
974
|
accessKey?: string;
|
|
975
|
+
/**
|
|
976
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
977
|
+
*/
|
|
978
|
+
allowResourceRoleBypass?: boolean;
|
|
905
979
|
/**
|
|
906
980
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
907
981
|
*/
|
|
@@ -986,6 +1060,10 @@ export interface GetResourceResourceAmazonEk {
|
|
|
986
1060
|
};
|
|
987
1061
|
}
|
|
988
1062
|
export interface GetResourceResourceAmazonEksInstanceProfile {
|
|
1063
|
+
/**
|
|
1064
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
1065
|
+
*/
|
|
1066
|
+
allowResourceRoleBypass?: boolean;
|
|
989
1067
|
/**
|
|
990
1068
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
991
1069
|
*/
|
|
@@ -2271,6 +2349,115 @@ export interface GetResourceResourceCockroach {
|
|
|
2271
2349
|
*/
|
|
2272
2350
|
username?: string;
|
|
2273
2351
|
}
|
|
2352
|
+
export interface GetResourceResourceCouchbaseDatabase {
|
|
2353
|
+
/**
|
|
2354
|
+
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
2355
|
+
*/
|
|
2356
|
+
bindInterface?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* A filter applied to the routing logic to pin datasource to nodes.
|
|
2359
|
+
*/
|
|
2360
|
+
egressFilter?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* The host to dial to initiate a connection from the egress node to this resource.
|
|
2363
|
+
*/
|
|
2364
|
+
hostname?: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Unique identifier of the Resource.
|
|
2367
|
+
*/
|
|
2368
|
+
id?: string;
|
|
2369
|
+
/**
|
|
2370
|
+
* The port number for N1QL queries. Default HTTP is 8093. Default HTTPS is 18093.
|
|
2371
|
+
*/
|
|
2372
|
+
n1QlPort?: number;
|
|
2373
|
+
/**
|
|
2374
|
+
* Unique human-readable name of the Resource.
|
|
2375
|
+
*/
|
|
2376
|
+
name?: string;
|
|
2377
|
+
/**
|
|
2378
|
+
* The password to authenticate with.
|
|
2379
|
+
*/
|
|
2380
|
+
password?: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* The port to dial to initiate a connection from the egress node to this resource.
|
|
2383
|
+
*/
|
|
2384
|
+
port?: number;
|
|
2385
|
+
/**
|
|
2386
|
+
* The local port used by clients to connect to this resource.
|
|
2387
|
+
*/
|
|
2388
|
+
portOverride?: number;
|
|
2389
|
+
/**
|
|
2390
|
+
* ID of the secret store containing credentials for this resource, if any.
|
|
2391
|
+
*/
|
|
2392
|
+
secretStoreId?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
|
2395
|
+
*/
|
|
2396
|
+
subdomain?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* Tags is a map of key, value pairs.
|
|
2399
|
+
*/
|
|
2400
|
+
tags?: {
|
|
2401
|
+
[key: string]: string;
|
|
2402
|
+
};
|
|
2403
|
+
/**
|
|
2404
|
+
* If set, TLS must be used to connect to this resource.
|
|
2405
|
+
*/
|
|
2406
|
+
tlsRequired?: boolean;
|
|
2407
|
+
/**
|
|
2408
|
+
* The username to authenticate with.
|
|
2409
|
+
*/
|
|
2410
|
+
username?: string;
|
|
2411
|
+
}
|
|
2412
|
+
export interface GetResourceResourceCouchbaseWebUi {
|
|
2413
|
+
/**
|
|
2414
|
+
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
2415
|
+
*/
|
|
2416
|
+
bindInterface?: string;
|
|
2417
|
+
/**
|
|
2418
|
+
* A filter applied to the routing logic to pin datasource to nodes.
|
|
2419
|
+
*/
|
|
2420
|
+
egressFilter?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* Unique identifier of the Resource.
|
|
2423
|
+
*/
|
|
2424
|
+
id?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* Unique human-readable name of the Resource.
|
|
2427
|
+
*/
|
|
2428
|
+
name?: string;
|
|
2429
|
+
/**
|
|
2430
|
+
* The password to authenticate with.
|
|
2431
|
+
*/
|
|
2432
|
+
password?: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* The local port used by clients to connect to this resource.
|
|
2435
|
+
*/
|
|
2436
|
+
portOverride?: number;
|
|
2437
|
+
/**
|
|
2438
|
+
* ID of the secret store containing credentials for this resource, if any.
|
|
2439
|
+
*/
|
|
2440
|
+
secretStoreId?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
|
2443
|
+
*/
|
|
2444
|
+
subdomain?: string;
|
|
2445
|
+
/**
|
|
2446
|
+
* Tags is a map of key, value pairs.
|
|
2447
|
+
*/
|
|
2448
|
+
tags?: {
|
|
2449
|
+
[key: string]: string;
|
|
2450
|
+
};
|
|
2451
|
+
/**
|
|
2452
|
+
* The base address of your website without the path.
|
|
2453
|
+
* * kubernetes:
|
|
2454
|
+
*/
|
|
2455
|
+
url?: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* The username to authenticate with.
|
|
2458
|
+
*/
|
|
2459
|
+
username?: string;
|
|
2460
|
+
}
|
|
2274
2461
|
export interface GetResourceResourceDb2I {
|
|
2275
2462
|
/**
|
|
2276
2463
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
@@ -2768,6 +2955,10 @@ export interface GetResourceResourceGcp {
|
|
|
2768
2955
|
};
|
|
2769
2956
|
}
|
|
2770
2957
|
export interface GetResourceResourceGoogleGke {
|
|
2958
|
+
/**
|
|
2959
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
2960
|
+
*/
|
|
2961
|
+
allowResourceRoleBypass?: boolean;
|
|
2771
2962
|
/**
|
|
2772
2963
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
2773
2964
|
*/
|
|
@@ -3119,6 +3310,10 @@ export interface GetResourceResourceHttpNoAuth {
|
|
|
3119
3310
|
url?: string;
|
|
3120
3311
|
}
|
|
3121
3312
|
export interface GetResourceResourceKubernete {
|
|
3313
|
+
/**
|
|
3314
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
3315
|
+
*/
|
|
3316
|
+
allowResourceRoleBypass?: boolean;
|
|
3122
3317
|
/**
|
|
3123
3318
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
3124
3319
|
*/
|
|
@@ -3251,6 +3446,10 @@ export interface GetResourceResourceKubernetesBasicAuth {
|
|
|
3251
3446
|
username?: string;
|
|
3252
3447
|
}
|
|
3253
3448
|
export interface GetResourceResourceKubernetesServiceAccount {
|
|
3449
|
+
/**
|
|
3450
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
3451
|
+
*/
|
|
3452
|
+
allowResourceRoleBypass?: boolean;
|
|
3254
3453
|
/**
|
|
3255
3454
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
3256
3455
|
*/
|
|
@@ -6543,6 +6742,30 @@ export interface NodeGatewayMaintenanceWindow {
|
|
|
6543
6742
|
cronSchedule: string;
|
|
6544
6743
|
requireIdleness: boolean;
|
|
6545
6744
|
}
|
|
6745
|
+
export interface NodeProxyCluster {
|
|
6746
|
+
/**
|
|
6747
|
+
* The public hostname/port tuple at which the proxy cluster will be accessible to clients.
|
|
6748
|
+
*/
|
|
6749
|
+
address: string;
|
|
6750
|
+
/**
|
|
6751
|
+
* Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
|
|
6752
|
+
*/
|
|
6753
|
+
maintenanceWindows?: outputs.NodeProxyClusterMaintenanceWindow[];
|
|
6754
|
+
/**
|
|
6755
|
+
* Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
|
6756
|
+
*/
|
|
6757
|
+
name: string;
|
|
6758
|
+
/**
|
|
6759
|
+
* Tags is a map of key, value pairs.
|
|
6760
|
+
*/
|
|
6761
|
+
tags?: {
|
|
6762
|
+
[key: string]: string;
|
|
6763
|
+
};
|
|
6764
|
+
}
|
|
6765
|
+
export interface NodeProxyClusterMaintenanceWindow {
|
|
6766
|
+
cronSchedule: string;
|
|
6767
|
+
requireIdleness: boolean;
|
|
6768
|
+
}
|
|
6546
6769
|
export interface NodeRelay {
|
|
6547
6770
|
/**
|
|
6548
6771
|
* Device is a read only device name uploaded by the gateway process when it comes online.
|
|
@@ -6581,6 +6804,10 @@ export interface NodeRelayMaintenanceWindow {
|
|
|
6581
6804
|
requireIdleness: boolean;
|
|
6582
6805
|
}
|
|
6583
6806
|
export interface ResourceAks {
|
|
6807
|
+
/**
|
|
6808
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
6809
|
+
*/
|
|
6810
|
+
allowResourceRoleBypass?: boolean;
|
|
6584
6811
|
/**
|
|
6585
6812
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
6586
6813
|
*/
|
|
@@ -6705,6 +6932,10 @@ export interface ResourceAksBasicAuth {
|
|
|
6705
6932
|
username?: string;
|
|
6706
6933
|
}
|
|
6707
6934
|
export interface ResourceAksServiceAccount {
|
|
6935
|
+
/**
|
|
6936
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
6937
|
+
*/
|
|
6938
|
+
allowResourceRoleBypass?: boolean;
|
|
6708
6939
|
/**
|
|
6709
6940
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
6710
6941
|
*/
|
|
@@ -6879,6 +7110,10 @@ export interface ResourceAmazonEks {
|
|
|
6879
7110
|
* The Access Key ID to use to authenticate.
|
|
6880
7111
|
*/
|
|
6881
7112
|
accessKey?: string;
|
|
7113
|
+
/**
|
|
7114
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
7115
|
+
*/
|
|
7116
|
+
allowResourceRoleBypass?: boolean;
|
|
6882
7117
|
/**
|
|
6883
7118
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
6884
7119
|
*/
|
|
@@ -6959,6 +7194,10 @@ export interface ResourceAmazonEks {
|
|
|
6959
7194
|
};
|
|
6960
7195
|
}
|
|
6961
7196
|
export interface ResourceAmazonEksInstanceProfile {
|
|
7197
|
+
/**
|
|
7198
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
7199
|
+
*/
|
|
7200
|
+
allowResourceRoleBypass?: boolean;
|
|
6962
7201
|
/**
|
|
6963
7202
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
6964
7203
|
*/
|
|
@@ -8216,6 +8455,107 @@ export interface ResourceCockroach {
|
|
|
8216
8455
|
*/
|
|
8217
8456
|
username?: string;
|
|
8218
8457
|
}
|
|
8458
|
+
export interface ResourceCouchbaseDatabase {
|
|
8459
|
+
/**
|
|
8460
|
+
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
8461
|
+
*/
|
|
8462
|
+
bindInterface: string;
|
|
8463
|
+
/**
|
|
8464
|
+
* A filter applied to the routing logic to pin datasource to nodes.
|
|
8465
|
+
*/
|
|
8466
|
+
egressFilter?: string;
|
|
8467
|
+
/**
|
|
8468
|
+
* The host to dial to initiate a connection from the egress node to this resource.
|
|
8469
|
+
*/
|
|
8470
|
+
hostname: string;
|
|
8471
|
+
/**
|
|
8472
|
+
* The port number for N1QL queries. Default HTTP is 8093. Default HTTPS is 18093.
|
|
8473
|
+
*/
|
|
8474
|
+
n1QlPort: number;
|
|
8475
|
+
/**
|
|
8476
|
+
* Unique human-readable name of the Resource.
|
|
8477
|
+
*/
|
|
8478
|
+
name: string;
|
|
8479
|
+
/**
|
|
8480
|
+
* The password to authenticate with.
|
|
8481
|
+
*/
|
|
8482
|
+
password?: string;
|
|
8483
|
+
/**
|
|
8484
|
+
* The port to dial to initiate a connection from the egress node to this resource.
|
|
8485
|
+
*/
|
|
8486
|
+
port?: number;
|
|
8487
|
+
/**
|
|
8488
|
+
* The local port used by clients to connect to this resource.
|
|
8489
|
+
*/
|
|
8490
|
+
portOverride: number;
|
|
8491
|
+
/**
|
|
8492
|
+
* ID of the secret store containing credentials for this resource, if any.
|
|
8493
|
+
*/
|
|
8494
|
+
secretStoreId?: string;
|
|
8495
|
+
/**
|
|
8496
|
+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
|
8497
|
+
*/
|
|
8498
|
+
subdomain: string;
|
|
8499
|
+
/**
|
|
8500
|
+
* Tags is a map of key, value pairs.
|
|
8501
|
+
*/
|
|
8502
|
+
tags?: {
|
|
8503
|
+
[key: string]: string;
|
|
8504
|
+
};
|
|
8505
|
+
/**
|
|
8506
|
+
* If set, TLS must be used to connect to this resource.
|
|
8507
|
+
*/
|
|
8508
|
+
tlsRequired?: boolean;
|
|
8509
|
+
/**
|
|
8510
|
+
* The username to authenticate with.
|
|
8511
|
+
*/
|
|
8512
|
+
username?: string;
|
|
8513
|
+
}
|
|
8514
|
+
export interface ResourceCouchbaseWebUi {
|
|
8515
|
+
/**
|
|
8516
|
+
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
8517
|
+
*/
|
|
8518
|
+
bindInterface: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* A filter applied to the routing logic to pin datasource to nodes.
|
|
8521
|
+
*/
|
|
8522
|
+
egressFilter?: string;
|
|
8523
|
+
/**
|
|
8524
|
+
* Unique human-readable name of the Resource.
|
|
8525
|
+
*/
|
|
8526
|
+
name: string;
|
|
8527
|
+
/**
|
|
8528
|
+
* The password to authenticate with.
|
|
8529
|
+
*/
|
|
8530
|
+
password?: string;
|
|
8531
|
+
/**
|
|
8532
|
+
* The local port used by clients to connect to this resource.
|
|
8533
|
+
*/
|
|
8534
|
+
portOverride: number;
|
|
8535
|
+
/**
|
|
8536
|
+
* ID of the secret store containing credentials for this resource, if any.
|
|
8537
|
+
*/
|
|
8538
|
+
secretStoreId?: string;
|
|
8539
|
+
/**
|
|
8540
|
+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
|
8541
|
+
*/
|
|
8542
|
+
subdomain: string;
|
|
8543
|
+
/**
|
|
8544
|
+
* Tags is a map of key, value pairs.
|
|
8545
|
+
*/
|
|
8546
|
+
tags?: {
|
|
8547
|
+
[key: string]: string;
|
|
8548
|
+
};
|
|
8549
|
+
/**
|
|
8550
|
+
* The base address of your website without the path.
|
|
8551
|
+
* * kubernetes:
|
|
8552
|
+
*/
|
|
8553
|
+
url: string;
|
|
8554
|
+
/**
|
|
8555
|
+
* The username to authenticate with.
|
|
8556
|
+
*/
|
|
8557
|
+
username?: string;
|
|
8558
|
+
}
|
|
8219
8559
|
export interface ResourceDb2I {
|
|
8220
8560
|
/**
|
|
8221
8561
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
@@ -8677,6 +9017,10 @@ export interface ResourceGcp {
|
|
|
8677
9017
|
};
|
|
8678
9018
|
}
|
|
8679
9019
|
export interface ResourceGoogleGke {
|
|
9020
|
+
/**
|
|
9021
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
9022
|
+
*/
|
|
9023
|
+
allowResourceRoleBypass?: boolean;
|
|
8680
9024
|
/**
|
|
8681
9025
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
8682
9026
|
*/
|
|
@@ -9004,6 +9348,10 @@ export interface ResourceHttpNoAuth {
|
|
|
9004
9348
|
url: string;
|
|
9005
9349
|
}
|
|
9006
9350
|
export interface ResourceKubernetes {
|
|
9351
|
+
/**
|
|
9352
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
9353
|
+
*/
|
|
9354
|
+
allowResourceRoleBypass?: boolean;
|
|
9007
9355
|
/**
|
|
9008
9356
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
9009
9357
|
*/
|
|
@@ -9128,6 +9476,10 @@ export interface ResourceKubernetesBasicAuth {
|
|
|
9128
9476
|
username?: string;
|
|
9129
9477
|
}
|
|
9130
9478
|
export interface ResourceKubernetesServiceAccount {
|
|
9479
|
+
/**
|
|
9480
|
+
* If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
|
|
9481
|
+
*/
|
|
9482
|
+
allowResourceRoleBypass?: boolean;
|
|
9131
9483
|
/**
|
|
9132
9484
|
* The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
|
9133
9485
|
*/
|
package/workflow.d.ts
CHANGED
|
@@ -3,34 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
4
4
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
5
5
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
11
|
-
*
|
|
12
|
-
* const autoGrantWorkflow = new sdm.Workflow("autoGrantWorkflow", {
|
|
13
|
-
* autoGrant: true,
|
|
14
|
-
* enabled: true,
|
|
15
|
-
* accessRules: JSON.stringify([{
|
|
16
|
-
* type: "redis",
|
|
17
|
-
* tags: {
|
|
18
|
-
* region: "us-east",
|
|
19
|
-
* },
|
|
20
|
-
* }]),
|
|
21
|
-
* });
|
|
22
|
-
* const manualApprovalWorkflow = new sdm.Workflow("manualApprovalWorkflow", {
|
|
23
|
-
* autoGrant: false,
|
|
24
|
-
* accessRules: JSON.stringify([{
|
|
25
|
-
* type: "redis",
|
|
26
|
-
* tags: {
|
|
27
|
-
* region: "us-east",
|
|
28
|
-
* },
|
|
29
|
-
* }]),
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
* This resource can be imported using the import command.
|
|
33
|
-
*
|
|
34
6
|
* ## Import
|
|
35
7
|
*
|
|
36
8
|
* A Workflow can be imported using the id, e.g.,
|
package/workflow.js
CHANGED
|
@@ -9,34 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* Workflows are the collection of rules that define the resources to which access can be requested,
|
|
10
10
|
* the users that can request that access, and the mechanism for approving those requests which can either
|
|
11
11
|
* but automatic approval or a set of users authorized to approve the requests.
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
17
|
-
*
|
|
18
|
-
* const autoGrantWorkflow = new sdm.Workflow("autoGrantWorkflow", {
|
|
19
|
-
* autoGrant: true,
|
|
20
|
-
* enabled: true,
|
|
21
|
-
* accessRules: JSON.stringify([{
|
|
22
|
-
* type: "redis",
|
|
23
|
-
* tags: {
|
|
24
|
-
* region: "us-east",
|
|
25
|
-
* },
|
|
26
|
-
* }]),
|
|
27
|
-
* });
|
|
28
|
-
* const manualApprovalWorkflow = new sdm.Workflow("manualApprovalWorkflow", {
|
|
29
|
-
* autoGrant: false,
|
|
30
|
-
* accessRules: JSON.stringify([{
|
|
31
|
-
* type: "redis",
|
|
32
|
-
* tags: {
|
|
33
|
-
* region: "us-east",
|
|
34
|
-
* },
|
|
35
|
-
* }]),
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
* This resource can be imported using the import command.
|
|
39
|
-
*
|
|
40
12
|
* ## Import
|
|
41
13
|
*
|
|
42
14
|
* A Workflow can be imported using the id, e.g.,
|
package/workflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../workflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../workflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG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