opal-security 3.1.0 → 3.1.3

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/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install -g opal-security
22
22
  $ opal COMMAND
23
23
  running command...
24
24
  $ opal (--version)
25
- opal-security/3.1.0 linux-x64 node-v20.19.0
25
+ opal-security/3.1.3 linux-x64 node-v20.19.0
26
26
  $ opal --help [COMMAND]
27
27
  USAGE
28
28
  $ opal COMMAND
@@ -44,7 +44,6 @@ USAGE
44
44
  * [`opal login`](#opal-login)
45
45
  * [`opal logout`](#opal-logout)
46
46
  * [`opal postgres-instances start`](#opal-postgres-instances-start)
47
- * [`opal request ls`](#opal-request-ls)
48
47
  * [`opal resources get`](#opal-resources-get)
49
48
  * [`opal set-auth-provider`](#opal-set-auth-provider)
50
49
  * [`opal set-custom-header`](#opal-set-custom-header)
@@ -102,7 +101,7 @@ EXAMPLES
102
101
  $ opal aws:identity
103
102
  ```
104
103
 
105
- _See code: [src/commands/aws/identity.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/aws/identity.ts)_
104
+ _See code: [src/commands/aws/identity.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/aws/identity.ts)_
106
105
 
107
106
  ## `opal clear-auth-provider`
108
107
 
@@ -122,7 +121,7 @@ EXAMPLES
122
121
  $ opal clear-auth-provider
123
122
  ```
124
123
 
125
- _See code: [src/commands/clear-auth-provider.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/clear-auth-provider.ts)_
124
+ _See code: [src/commands/clear-auth-provider.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/clear-auth-provider.ts)_
126
125
 
127
126
  ## `opal curl-example`
128
127
 
@@ -139,7 +138,7 @@ DESCRIPTION
139
138
  Prints out an example cURL command containing the parameters the CLI uses to query the Opal server.
140
139
  ```
141
140
 
142
- _See code: [src/commands/curl-example.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/curl-example.ts)_
141
+ _See code: [src/commands/curl-example.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/curl-example.ts)_
143
142
 
144
143
  ## `opal groups get`
145
144
 
@@ -160,7 +159,7 @@ EXAMPLES
160
159
  $ opal groups:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4
161
160
  ```
162
161
 
163
- _See code: [src/commands/groups/get.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/groups/get.ts)_
162
+ _See code: [src/commands/groups/get.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/groups/get.ts)_
164
163
 
165
164
  ## `opal help [COMMANDS]`
166
165
 
@@ -210,7 +209,7 @@ EXAMPLES
210
209
  $ opal iam-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --profileName "custom-profile"
211
210
  ```
212
211
 
213
- _See code: [src/commands/iam-roles/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/iam-roles/start.ts)_
212
+ _See code: [src/commands/iam-roles/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/iam-roles/start.ts)_
214
213
 
215
214
  ## `opal kube-roles start`
216
215
 
@@ -241,7 +240,7 @@ EXAMPLES
241
240
  $ opal kube-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId "arn:aws:iam::712234975475:role/acme-eks-cluster-admin-role"
242
241
  ```
243
242
 
244
- _See code: [src/commands/kube-roles/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/kube-roles/start.ts)_
243
+ _See code: [src/commands/kube-roles/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/kube-roles/start.ts)_
245
244
 
246
245
  ## `opal login`
247
246
 
@@ -262,7 +261,7 @@ EXAMPLES
262
261
  $ opal login
263
262
  ```
264
263
 
265
- _See code: [src/commands/login.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/login.ts)_
264
+ _See code: [src/commands/login.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/login.ts)_
266
265
 
267
266
  ## `opal logout`
268
267
 
@@ -282,7 +281,7 @@ EXAMPLES
282
281
  $ opal logout
283
282
  ```
284
283
 
285
- _See code: [src/commands/logout.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/logout.ts)_
284
+ _See code: [src/commands/logout.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/logout.ts)_
286
285
 
287
286
  ## `opal postgres-instances start`
288
287
 
@@ -319,22 +318,7 @@ EXAMPLES
319
318
  $ opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId fullaccess --action view
320
319
  ```
321
320
 
322
- _See code: [src/commands/postgres-instances/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/postgres-instances/start.ts)_
323
-
324
- ## `opal request ls`
325
-
326
- Lists access requests
327
-
328
- ```
329
- USAGE
330
- $ opal request ls
331
-
332
- DESCRIPTION
333
- Lists access requests
334
-
335
- ALIASES
336
- $ opal request ls
337
- ```
321
+ _See code: [src/commands/postgres-instances/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/postgres-instances/start.ts)_
338
322
 
339
323
  ## `opal resources get`
340
324
 
@@ -355,7 +339,7 @@ EXAMPLES
355
339
  $ opal resources:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4
356
340
  ```
357
341
 
358
- _See code: [src/commands/resources/get.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/resources/get.ts)_
342
+ _See code: [src/commands/resources/get.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/resources/get.ts)_
359
343
 
360
344
  ## `opal set-auth-provider`
361
345
 
@@ -381,7 +365,7 @@ EXAMPLES
381
365
  $ opal set-auth-provider --clientID 1234asdf --issuerUrl https://auth.example.com
382
366
  ```
383
367
 
384
- _See code: [src/commands/set-auth-provider.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/set-auth-provider.ts)_
368
+ _See code: [src/commands/set-auth-provider.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/set-auth-provider.ts)_
385
369
 
386
370
  ## `opal set-custom-header`
387
371
 
@@ -402,7 +386,7 @@ EXAMPLES
402
386
  $ opal set-custom-header --header 'cf-access-token: $TOKEN'
403
387
  ```
404
388
 
405
- _See code: [src/commands/set-custom-header.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/set-custom-header.ts)_
389
+ _See code: [src/commands/set-custom-header.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/set-custom-header.ts)_
406
390
 
407
391
  ## `opal set-token`
408
392
 
@@ -422,7 +406,7 @@ EXAMPLES
422
406
  $ opal set-token
423
407
  ```
424
408
 
425
- _See code: [src/commands/set-token.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/set-token.ts)_
409
+ _See code: [src/commands/set-token.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/set-token.ts)_
426
410
 
427
411
  ## `opal set-url [URL]`
428
412
 
@@ -446,7 +430,7 @@ EXAMPLES
446
430
  $ opal set-url
447
431
  ```
448
432
 
449
- _See code: [src/commands/set-url.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/set-url.ts)_
433
+ _See code: [src/commands/set-url.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/set-url.ts)_
450
434
 
451
435
  ## `opal ssh copyFrom`
452
436
 
@@ -477,7 +461,7 @@ EXAMPLES
477
461
  $ opal ssh:copyFrom --src instance/dir --dest my/dir --id 51f7176b-0464-4a6f-8369-e951e187b398
478
462
  ```
479
463
 
480
- _See code: [src/commands/ssh/copyFrom.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/ssh/copyFrom.ts)_
464
+ _See code: [src/commands/ssh/copyFrom.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/ssh/copyFrom.ts)_
481
465
 
482
466
  ## `opal ssh copyTo`
483
467
 
@@ -508,7 +492,7 @@ EXAMPLES
508
492
  $ opal ssh:copyTo --src my/dir --dest instance/dir --id 51f7176b-0464-4a6f-8369-e951e187b398
509
493
  ```
510
494
 
511
- _See code: [src/commands/ssh/copyTo.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/ssh/copyTo.ts)_
495
+ _See code: [src/commands/ssh/copyTo.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/ssh/copyTo.ts)_
512
496
 
513
497
  ## `opal ssh start`
514
498
 
@@ -535,7 +519,7 @@ EXAMPLES
535
519
  $ opal ssh:start --id 51f7176b-0464-4a6f-8369-e951e187b398
536
520
  ```
537
521
 
538
- _See code: [src/commands/ssh/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.0/src/commands/ssh/start.ts)_
522
+ _See code: [src/commands/ssh/start.ts](https://github.com/opalsecurity/opal-cli/blob/v3.1.3/src/commands/ssh/start.ts)_
539
523
 
540
524
  ## `opal version`
541
525
 
@@ -2,6 +2,5 @@ import { Command } from "@oclif/core";
2
2
  export default class RequestList extends Command {
3
3
  static hidden: boolean;
4
4
  static description: string;
5
- static aliases: string[];
6
5
  run(): Promise<void>;
7
6
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const utils_1 = require("../../utils/utils");
5
5
  class RequestList extends core_1.Command {
6
+ // static aliases = ["request:ls"];
6
7
  async run() {
7
8
  (0, utils_1.restrictToDev)(); //TODO: Remove after development is complete
8
9
  this.log("Running the list command");
@@ -10,5 +11,4 @@ class RequestList extends core_1.Command {
10
11
  }
11
12
  RequestList.hidden = true;
12
13
  RequestList.description = "Lists access requests";
13
- RequestList.aliases = ["request:ls"];
14
14
  exports.default = RequestList;
@@ -388,70 +388,6 @@
388
388
  "get.js"
389
389
  ]
390
390
  },
391
- "iam-roles:start": {
392
- "aliases": [],
393
- "args": {},
394
- "description": "Starts a session to assume an IAM role.",
395
- "examples": [
396
- "opal iam-roles:start",
397
- "opal iam-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
398
- "opal iam-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --profileName \"custom-profile\""
399
- ],
400
- "flags": {
401
- "help": {
402
- "char": "h",
403
- "description": "Show CLI help.",
404
- "name": "help",
405
- "allowNo": false,
406
- "type": "boolean"
407
- },
408
- "id": {
409
- "char": "i",
410
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
411
- "name": "id",
412
- "hasDynamicHelp": false,
413
- "multiple": false,
414
- "type": "option"
415
- },
416
- "sessionId": {
417
- "char": "s",
418
- "description": "The Opal ID of the session to connect to. Uses an existing session that was created via the web flow.",
419
- "name": "sessionId",
420
- "hasDynamicHelp": false,
421
- "multiple": false,
422
- "type": "option"
423
- },
424
- "refresh": {
425
- "char": "r",
426
- "description": "Starts a new session even if one already exists. Useful if a session is about to expire.",
427
- "name": "refresh",
428
- "allowNo": false,
429
- "type": "boolean"
430
- },
431
- "profileName": {
432
- "description": "Uses a custom AWS profile name for the IAM role. Default value is the role's name.",
433
- "name": "profileName",
434
- "hasDynamicHelp": false,
435
- "multiple": false,
436
- "type": "option"
437
- }
438
- },
439
- "hasDynamicHelp": false,
440
- "hiddenAliases": [],
441
- "id": "iam-roles:start",
442
- "pluginAlias": "opal-security",
443
- "pluginName": "opal-security",
444
- "pluginType": "core",
445
- "strict": true,
446
- "enableJsonFlag": false,
447
- "isESM": false,
448
- "relativePath": [
449
- "lib",
450
- "commands",
451
- "iam-roles",
452
- "start.js"
453
- ]
454
- },
455
391
  "kube-roles:start": {
456
392
  "aliases": [],
457
393
  "args": {},
@@ -639,9 +575,7 @@
639
575
  ]
640
576
  },
641
577
  "request:list": {
642
- "aliases": [
643
- "request:ls"
644
- ],
578
+ "aliases": [],
645
579
  "args": {},
646
580
  "description": "Lists access requests",
647
581
  "flags": {},
@@ -662,6 +596,70 @@
662
596
  "list.js"
663
597
  ]
664
598
  },
599
+ "iam-roles:start": {
600
+ "aliases": [],
601
+ "args": {},
602
+ "description": "Starts a session to assume an IAM role.",
603
+ "examples": [
604
+ "opal iam-roles:start",
605
+ "opal iam-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
606
+ "opal iam-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --profileName \"custom-profile\""
607
+ ],
608
+ "flags": {
609
+ "help": {
610
+ "char": "h",
611
+ "description": "Show CLI help.",
612
+ "name": "help",
613
+ "allowNo": false,
614
+ "type": "boolean"
615
+ },
616
+ "id": {
617
+ "char": "i",
618
+ "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
619
+ "name": "id",
620
+ "hasDynamicHelp": false,
621
+ "multiple": false,
622
+ "type": "option"
623
+ },
624
+ "sessionId": {
625
+ "char": "s",
626
+ "description": "The Opal ID of the session to connect to. Uses an existing session that was created via the web flow.",
627
+ "name": "sessionId",
628
+ "hasDynamicHelp": false,
629
+ "multiple": false,
630
+ "type": "option"
631
+ },
632
+ "refresh": {
633
+ "char": "r",
634
+ "description": "Starts a new session even if one already exists. Useful if a session is about to expire.",
635
+ "name": "refresh",
636
+ "allowNo": false,
637
+ "type": "boolean"
638
+ },
639
+ "profileName": {
640
+ "description": "Uses a custom AWS profile name for the IAM role. Default value is the role's name.",
641
+ "name": "profileName",
642
+ "hasDynamicHelp": false,
643
+ "multiple": false,
644
+ "type": "option"
645
+ }
646
+ },
647
+ "hasDynamicHelp": false,
648
+ "hiddenAliases": [],
649
+ "id": "iam-roles:start",
650
+ "pluginAlias": "opal-security",
651
+ "pluginName": "opal-security",
652
+ "pluginType": "core",
653
+ "strict": true,
654
+ "enableJsonFlag": false,
655
+ "isESM": false,
656
+ "relativePath": [
657
+ "lib",
658
+ "commands",
659
+ "iam-roles",
660
+ "start.js"
661
+ ]
662
+ },
665
663
  "resources:get": {
666
664
  "aliases": [],
667
665
  "args": {},
@@ -909,5 +907,5 @@
909
907
  ]
910
908
  }
911
909
  },
912
- "version": "3.1.0"
910
+ "version": "3.1.3"
913
911
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opal-security",
3
3
  "description": "Opal allows you to centrally manage access to all of your sensitive systems.",
4
- "version": "3.1.0",
4
+ "version": "3.1.3",
5
5
  "author": "Stephen Cobbe",
6
6
  "bin": {
7
7
  "opal": "./bin/run"