opal-security 3.1.0 → 3.1.1-beta.65d1a96

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.
@@ -452,14 +452,15 @@
452
452
  "start.js"
453
453
  ]
454
454
  },
455
- "kube-roles:start": {
455
+ "postgres-instances:start": {
456
456
  "aliases": [],
457
457
  "args": {},
458
- "description": "Starts a session to assume a Kubernetes cluster IAM role.",
458
+ "description": "Starts a session to connect to a Postgres database.",
459
459
  "examples": [
460
- "opal kube-roles:start",
461
- "opal kube-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
462
- "opal kube-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId \"arn:aws:iam::712234975475:role/acme-eks-cluster-admin-role\""
460
+ "opal postgres-instances:start",
461
+ "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
462
+ "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId fullaccess",
463
+ "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId fullaccess --action view"
463
464
  ],
464
465
  "flags": {
465
466
  "help": {
@@ -499,11 +500,22 @@
499
500
  "name": "refresh",
500
501
  "allowNo": false,
501
502
  "type": "boolean"
503
+ },
504
+ "action": {
505
+ "description": "Method of connecting to the database.\n- psql: Start psql session in shell\n- view: View connection configuration details",
506
+ "name": "action",
507
+ "hasDynamicHelp": false,
508
+ "multiple": false,
509
+ "options": [
510
+ "psql",
511
+ "view"
512
+ ],
513
+ "type": "option"
502
514
  }
503
515
  },
504
516
  "hasDynamicHelp": false,
505
517
  "hiddenAliases": [],
506
- "id": "kube-roles:start",
518
+ "id": "postgres-instances:start",
507
519
  "pluginAlias": "opal-security",
508
520
  "pluginName": "opal-security",
509
521
  "pluginType": "core",
@@ -513,19 +525,18 @@
513
525
  "relativePath": [
514
526
  "lib",
515
527
  "commands",
516
- "kube-roles",
528
+ "postgres-instances",
517
529
  "start.js"
518
530
  ]
519
531
  },
520
- "postgres-instances:start": {
532
+ "kube-roles:start": {
521
533
  "aliases": [],
522
534
  "args": {},
523
- "description": "Starts a session to connect to a Postgres database.",
535
+ "description": "Starts a session to assume a Kubernetes cluster IAM role.",
524
536
  "examples": [
525
- "opal postgres-instances:start",
526
- "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
527
- "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId fullaccess",
528
- "opal postgres-instances:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId fullaccess --action view"
537
+ "opal kube-roles:start",
538
+ "opal kube-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398",
539
+ "opal kube-roles:start --id 51f7176b-0464-4a6f-8369-e951e187b398 --accessLevelRemoteId \"arn:aws:iam::712234975475:role/acme-eks-cluster-admin-role\""
529
540
  ],
530
541
  "flags": {
531
542
  "help": {
@@ -565,22 +576,51 @@
565
576
  "name": "refresh",
566
577
  "allowNo": false,
567
578
  "type": "boolean"
579
+ }
580
+ },
581
+ "hasDynamicHelp": false,
582
+ "hiddenAliases": [],
583
+ "id": "kube-roles:start",
584
+ "pluginAlias": "opal-security",
585
+ "pluginName": "opal-security",
586
+ "pluginType": "core",
587
+ "strict": true,
588
+ "enableJsonFlag": false,
589
+ "isESM": false,
590
+ "relativePath": [
591
+ "lib",
592
+ "commands",
593
+ "kube-roles",
594
+ "start.js"
595
+ ]
596
+ },
597
+ "resources:get": {
598
+ "aliases": [],
599
+ "args": {},
600
+ "description": "Get resource info for a particular resource.",
601
+ "examples": [
602
+ "opal resources:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4"
603
+ ],
604
+ "flags": {
605
+ "help": {
606
+ "char": "h",
607
+ "description": "Show CLI help.",
608
+ "name": "help",
609
+ "allowNo": false,
610
+ "type": "boolean"
568
611
  },
569
- "action": {
570
- "description": "Method of connecting to the database.\n- psql: Start psql session in shell\n- view: View connection configuration details",
571
- "name": "action",
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",
572
616
  "hasDynamicHelp": false,
573
617
  "multiple": false,
574
- "options": [
575
- "psql",
576
- "view"
577
- ],
578
618
  "type": "option"
579
619
  }
580
620
  },
581
621
  "hasDynamicHelp": false,
582
622
  "hiddenAliases": [],
583
- "id": "postgres-instances:start",
623
+ "id": "resources:get",
584
624
  "pluginAlias": "opal-security",
585
625
  "pluginName": "opal-security",
586
626
  "pluginType": "core",
@@ -590,8 +630,8 @@
590
630
  "relativePath": [
591
631
  "lib",
592
632
  "commands",
593
- "postgres-instances",
594
- "start.js"
633
+ "resources",
634
+ "get.js"
595
635
  ]
596
636
  },
597
637
  "request:create": {
@@ -620,7 +660,23 @@
620
660
  "aliases": [],
621
661
  "args": {},
622
662
  "description": "Lists access requests",
623
- "flags": {},
663
+ "flags": {
664
+ "help": {
665
+ "char": "h",
666
+ "description": "Show CLI help.",
667
+ "name": "help",
668
+ "allowNo": false,
669
+ "type": "boolean"
670
+ },
671
+ "id": {
672
+ "char": "i",
673
+ "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
674
+ "name": "id",
675
+ "hasDynamicHelp": false,
676
+ "multiple": false,
677
+ "type": "option"
678
+ }
679
+ },
624
680
  "hasDynamicHelp": false,
625
681
  "hidden": true,
626
682
  "hiddenAliases": [],
@@ -639,9 +695,7 @@
639
695
  ]
640
696
  },
641
697
  "request:list": {
642
- "aliases": [
643
- "request:ls"
644
- ],
698
+ "aliases": [],
645
699
  "args": {},
646
700
  "description": "Lists access requests",
647
701
  "flags": {},
@@ -662,46 +716,6 @@
662
716
  "list.js"
663
717
  ]
664
718
  },
665
- "resources:get": {
666
- "aliases": [],
667
- "args": {},
668
- "description": "Get resource info for a particular resource.",
669
- "examples": [
670
- "opal resources:get --id 54052a3e-5375-4392-aeaf-0c6c44c131d4"
671
- ],
672
- "flags": {
673
- "help": {
674
- "char": "h",
675
- "description": "Show CLI help.",
676
- "name": "help",
677
- "allowNo": false,
678
- "type": "boolean"
679
- },
680
- "id": {
681
- "char": "i",
682
- "description": "The Opal ID of the resource. You can find this from the URL, e.g. https://opal.dev/resources/[ID]",
683
- "name": "id",
684
- "hasDynamicHelp": false,
685
- "multiple": false,
686
- "type": "option"
687
- }
688
- },
689
- "hasDynamicHelp": false,
690
- "hiddenAliases": [],
691
- "id": "resources:get",
692
- "pluginAlias": "opal-security",
693
- "pluginName": "opal-security",
694
- "pluginType": "core",
695
- "strict": true,
696
- "enableJsonFlag": false,
697
- "isESM": false,
698
- "relativePath": [
699
- "lib",
700
- "commands",
701
- "resources",
702
- "get.js"
703
- ]
704
- },
705
719
  "ssh:copyFrom": {
706
720
  "aliases": [],
707
721
  "args": {},
@@ -909,5 +923,5 @@
909
923
  ]
910
924
  }
911
925
  },
912
- "version": "3.1.0"
926
+ "version": "3.1.1-beta.65d1a96"
913
927
  }
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.1-beta.65d1a96",
5
5
  "author": "Stephen Cobbe",
6
6
  "bin": {
7
7
  "opal": "./bin/run"