We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3004ac9 commit 68f8e7bCopy full SHA for 68f8e7b
src/util.ts
@@ -95,8 +95,11 @@ export function generateUILink() {
95
96
if (targetBranch !== defaultBranch) return ''
97
98
+ let lwAccountName = process.env.LW_ACCOUNT_NAME
99
+ lwAccountName = lwAccountName?.replace(/\.lacework\.net$/, '')
100
+
101
let url =
- `https://${process.env.LW_ACCOUNT_NAME}.lacework.net` +
102
+ `https://${lwAccountName}.lacework.net` +
103
`/ui/investigation/codesec/applications/repositories/` +
104
`${context.repo.owner}%2F${context.repo.repo}` +
105
`/${defaultBranch}`
0 commit comments