From dfa6934d4728c28a66b88b586aa5c5ba8ad76602 Mon Sep 17 00:00:00 2001 From: Volker Scheuber Date: Sat, 23 Mar 2024 15:25:50 -0500 Subject: [PATCH] fix rockcarver/frodo-lib#391 and upgrade to frodo-lib 2.0.0-74 --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package-lock.json | 12 ++++++------ package.json | 2 +- src/ops/ConnectionProfileOps.ts | 2 ++ 4 files changed, 37 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d69f8e19..1474220a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Update to frodo-lib 2.0.0-74 + +### Fixed + +- rockcarver/frodo-lib#391: Frodo now creates service accounts with all allowed scopes: + - `fr:am:*` + - `fr:idc:analytics:*` + - `fr:autoaccess:*` + - `fr:idc:certificate:*` + - `fr:idc:certificate:read` + - `fr:idc:content-security-policy:*` + - `fr:idc:custom-domain:*` + - `fr:idc:esv:*` + - `fr:idc:esv:read` + - `fr:idc:esv:restart` + - `fr:idc:esv:update` + - `fr:idm:*` + - `fr:iga:*` + - `fr:idc:promotion:*` + - `fr:idc:release:*` + - `fr:idc:sso-cookie:*` + ## [2.0.0-52] - 2024-03-23 +### Changed + +- Update to frodo-lib 2.0.0-73 + ### Fixed - \#378: `--llt` option of `frodo admin create-oauth2-client-with-admin-privileges` now works properly again diff --git a/package-lock.json b/package-lock.json index a6eafb250..82807c529 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@rockcarver/frodo-cli", - "version": "2.0.0-51", + "version": "2.0.0-52", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rockcarver/frodo-cli", - "version": "2.0.0-51", + "version": "2.0.0-52", "license": "MIT", "dependencies": { - "@rockcarver/frodo-lib": "2.0.0-73", + "@rockcarver/frodo-lib": "2.0.0-74", "chokidar": "^3.5.3", "cli-progress": "^3.11.2", "cli-table3": "^0.6.3", @@ -3119,9 +3119,9 @@ } }, "node_modules/@rockcarver/frodo-lib": { - "version": "2.0.0-73", - "resolved": "https://registry.npmjs.org/@rockcarver/frodo-lib/-/frodo-lib-2.0.0-73.tgz", - "integrity": "sha512-4CPiagN5NT6i60efIXJWKnpGrWztE1mnNvCXdv0MgN4uDUjU40SDJfL1AqEbWBjgsz3iqg8lrS5bCRvguYNhQQ==", + "version": "2.0.0-74", + "resolved": "https://registry.npmjs.org/@rockcarver/frodo-lib/-/frodo-lib-2.0.0-74.tgz", + "integrity": "sha512-S6uDO0TOLMLCbMbFXmaPBZB0i+mszpQVjXiWoj6TwXg2qLLheuEv3KLsq9UA4F9SabHzVWG89i6HmZBNn70Pbg==", "dependencies": { "@pollyjs/adapter-node-http": "^6.0.5", "@pollyjs/core": "^6.0.5", diff --git a/package.json b/package.json index 6265a250a..548c9db0f 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ ] }, "dependencies": { - "@rockcarver/frodo-lib": "2.0.0-73", + "@rockcarver/frodo-lib": "2.0.0-74", "chokidar": "^3.5.3", "cli-progress": "^3.11.2", "cli-table3": "^0.6.3", diff --git a/src/ops/ConnectionProfileOps.ts b/src/ops/ConnectionProfileOps.ts index 18087c3c9..966e9cb77 100644 --- a/src/ops/ConnectionProfileOps.ts +++ b/src/ops/ConnectionProfileOps.ts @@ -93,6 +93,7 @@ export async function describeConnectionProfile( delete profile.svcacctId; delete profile.svcacctJwk; delete profile.svcacctName; + delete profile.svcacctScope; } if (showSecrets && jwk) { (profile as unknown)['svcacctJwk'] = 'see below'; @@ -112,6 +113,7 @@ export async function describeConnectionProfile( svcacctName: 'Service Account Name', svcacctId: 'Service Account Id', svcacctJwk: 'Service Account JWK', + svcacctScope: 'Service Account Scope', }; const table = createObjectTable(profile, keyMap); printMessage(table.toString(), 'data');