opal-security 3.1.1-beta.e92fdf8 → 3.1.1-beta.f1a5f49

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.
@@ -316,6 +316,34 @@
316
316
  "set-url.js"
317
317
  ]
318
318
  },
319
+ "whoami": {
320
+ "aliases": [],
321
+ "args": {},
322
+ "description": "Describes current url set, organization name, and logged in user if applicabled.",
323
+ "flags": {
324
+ "help": {
325
+ "char": "h",
326
+ "description": "Show CLI help.",
327
+ "name": "help",
328
+ "allowNo": false,
329
+ "type": "boolean"
330
+ }
331
+ },
332
+ "hasDynamicHelp": false,
333
+ "hiddenAliases": [],
334
+ "id": "whoami",
335
+ "pluginAlias": "opal-security",
336
+ "pluginName": "opal-security",
337
+ "pluginType": "core",
338
+ "strict": true,
339
+ "enableJsonFlag": false,
340
+ "isESM": false,
341
+ "relativePath": [
342
+ "lib",
343
+ "commands",
344
+ "whoami.js"
345
+ ]
346
+ },
319
347
  "aws:identity": {
320
348
  "aliases": [],
321
349
  "args": {},
@@ -365,7 +393,7 @@
365
393
  },
366
394
  "id": {
367
395
  "char": "i",
368
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
396
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
369
397
  "name": "id",
370
398
  "hasDynamicHelp": false,
371
399
  "multiple": false,
@@ -407,7 +435,7 @@
407
435
  },
408
436
  "id": {
409
437
  "char": "i",
410
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
438
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
411
439
  "name": "id",
412
440
  "hasDynamicHelp": false,
413
441
  "multiple": false,
@@ -471,7 +499,7 @@
471
499
  },
472
500
  "id": {
473
501
  "char": "i",
474
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
502
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
475
503
  "name": "id",
476
504
  "hasDynamicHelp": false,
477
505
  "multiple": false,
@@ -537,7 +565,7 @@
537
565
  },
538
566
  "id": {
539
567
  "char": "i",
540
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
568
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
541
569
  "name": "id",
542
570
  "hasDynamicHelp": false,
543
571
  "multiple": false,
@@ -594,13 +622,10 @@
594
622
  "start.js"
595
623
  ]
596
624
  },
597
- "resources:get": {
625
+ "request:create": {
598
626
  "aliases": [],
599
627
  "args": {},
600
- "description": "Get resource info for a particular resource.",
601
- "examples": [
602
- "opal resources:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4"
603
- ],
628
+ "description": "Creates an Opal access request via an interactive form",
604
629
  "flags": {
605
630
  "help": {
606
631
  "char": "h",
@@ -609,37 +634,32 @@
609
634
  "allowNo": false,
610
635
  "type": "boolean"
611
636
  },
612
- "id": {
613
- "char": "i",
614
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
615
- "name": "id",
637
+ "assets": {
638
+ "char": "a",
639
+ "description": "The ids of the assets (resource, group) to request access to. Append a role ID using a colon if needed, e.g. `--assets 123:456`. \n If not provided, an interactive selection flow will be available to select assets to request.",
640
+ "name": "assets",
641
+ "hasDynamicHelp": false,
642
+ "multiple": true,
643
+ "type": "option"
644
+ },
645
+ "reason": {
646
+ "char": "r",
647
+ "description": "The reason for the request, contained in quotes. If not provided, you will be prompted.",
648
+ "name": "reason",
649
+ "hasDynamicHelp": false,
650
+ "multiple": false,
651
+ "type": "option"
652
+ },
653
+ "duration": {
654
+ "char": "d",
655
+ "description": "The duration of access for the request in minutes. If not provided, you will be prompted.",
656
+ "name": "duration",
616
657
  "hasDynamicHelp": false,
617
658
  "multiple": false,
618
659
  "type": "option"
619
660
  }
620
661
  },
621
662
  "hasDynamicHelp": false,
622
- "hiddenAliases": [],
623
- "id": "resources:get",
624
- "pluginAlias": "opal-security",
625
- "pluginName": "opal-security",
626
- "pluginType": "core",
627
- "strict": true,
628
- "enableJsonFlag": false,
629
- "isESM": false,
630
- "relativePath": [
631
- "lib",
632
- "commands",
633
- "resources",
634
- "get.js"
635
- ]
636
- },
637
- "request:create": {
638
- "aliases": [],
639
- "args": {},
640
- "description": "Creates an Opal access request via an interactive form",
641
- "flags": {},
642
- "hasDynamicHelp": false,
643
663
  "hidden": true,
644
664
  "hiddenAliases": [],
645
665
  "id": "request:create",
@@ -674,7 +694,7 @@
674
694
  },
675
695
  "id": {
676
696
  "char": "i",
677
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
697
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
678
698
  "name": "id",
679
699
  "hasDynamicHelp": false,
680
700
  "multiple": false,
@@ -764,6 +784,46 @@
764
784
  "list.js"
765
785
  ]
766
786
  },
787
+ "resources:get": {
788
+ "aliases": [],
789
+ "args": {},
790
+ "description": "Get resource info for a particular resource.",
791
+ "examples": [
792
+ "opal resources:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4"
793
+ ],
794
+ "flags": {
795
+ "help": {
796
+ "char": "h",
797
+ "description": "Show CLI help.",
798
+ "name": "help",
799
+ "allowNo": false,
800
+ "type": "boolean"
801
+ },
802
+ "id": {
803
+ "char": "i",
804
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
805
+ "name": "id",
806
+ "hasDynamicHelp": false,
807
+ "multiple": false,
808
+ "type": "option"
809
+ }
810
+ },
811
+ "hasDynamicHelp": false,
812
+ "hiddenAliases": [],
813
+ "id": "resources:get",
814
+ "pluginAlias": "opal-security",
815
+ "pluginName": "opal-security",
816
+ "pluginType": "core",
817
+ "strict": true,
818
+ "enableJsonFlag": false,
819
+ "isESM": false,
820
+ "relativePath": [
821
+ "lib",
822
+ "commands",
823
+ "resources",
824
+ "get.js"
825
+ ]
826
+ },
767
827
  "ssh:copyFrom": {
768
828
  "aliases": [],
769
829
  "args": {},
@@ -808,7 +868,7 @@
808
868
  },
809
869
  "id": {
810
870
  "char": "i",
811
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
871
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
812
872
  "name": "id",
813
873
  "hasDynamicHelp": false,
814
874
  "multiple": false,
@@ -883,7 +943,7 @@
883
943
  },
884
944
  "id": {
885
945
  "char": "i",
886
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
946
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
887
947
  "name": "id",
888
948
  "hasDynamicHelp": false,
889
949
  "multiple": false,
@@ -932,7 +992,7 @@
932
992
  },
933
993
  "id": {
934
994
  "char": "i",
935
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
995
+ "description": "The Opal ID of the asset. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
936
996
  "name": "id",
937
997
  "hasDynamicHelp": false,
938
998
  "multiple": false,
@@ -971,5 +1031,5 @@
971
1031
  ]
972
1032
  }
973
1033
  },
974
- "version": "3.1.1-beta.e92fdf8"
1034
+ "version": "3.1.1-beta.f1a5f49"
975
1035
  }
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.1-beta.e92fdf8",
4
+ "version": "3.1.1-beta.f1a5f49",
5
5
  "author": "Stephen Cobbe",
6
6
  "bin": {
7
7
  "opal": "./bin/run"