From c407f38b9b9771899f0f2c3fcf2165281cb84df7 Mon Sep 17 00:00:00 2001 From: Kristen Cheung Date: Fri, 2 May 2025 18:49:10 -0400 Subject: [PATCH] update prefix --- .trunk/trunk.yaml | 14 +++++++------- src/commands/login/index.ts | 6 +++++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index a4ff825..657bebd 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -2,12 +2,12 @@ # To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml version: 0.1 cli: - version: 1.22.12 + version: 1.22.15 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk - ref: v1.6.7 + ref: v1.6.8 uri: https://github.com/trunk-io/plugins # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: @@ -28,18 +28,18 @@ lint: - "**/*.html" - "**/*.json" enabled: - - trivy@0.61.0 + - trivy@0.61.1 - actionlint@1.7.7 - - checkov@3.2.396 + - checkov@3.2.414 - git-diff-check - markdownlint@0.44.0 - - osv-scanner@2.0.1 + - osv-scanner@2.0.2 - prettier@3.5.3 - biome@1.9.4 - - renovate@39.233.2 + - renovate@40.0.6 - shellcheck@0.10.0 - shfmt@3.6.0 - - trufflehog@3.88.22 + - trufflehog@3.88.26 - yamllint@1.37.0 actions: enabled: diff --git a/src/commands/login/index.ts b/src/commands/login/index.ts index 722a69c..b19fc51 100644 --- a/src/commands/login/index.ts +++ b/src/commands/login/index.ts @@ -141,7 +141,11 @@ export default class LoginIndex extends Command { userId, name: 'CLI Access Key', expiresIn: 60 * 60 * 24 * 365, // 365 days - prefix: 'cli', + prefix: 'hyp_usr', + metadata: { + ownerType: 'user', + ownerId: userId, + }, }), }, )