1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

fix(whitesourceExecuteScan): orgToken from Vault (#3614)

supersedes #3168
This commit is contained in:
Oliver Nocon 2022-03-08 08:59:12 +01:00 committed by GitHub
parent 0998a80f07
commit f9ad6dc048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -616,6 +616,12 @@ func whitesourceExecuteScanMetadata() config.StepData {
Name: "orgAdminUserTokenCredentialsId", Name: "orgAdminUserTokenCredentialsId",
Type: "secret", Type: "secret",
}, },
{
Name: "whitesourceVaultSecret",
Type: "vaultSecret",
Default: "whitesource",
},
}, },
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"}, Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string", Type: "string",

View File

@ -257,6 +257,9 @@ spec:
resourceRef: resourceRef:
- name: orgAdminUserTokenCredentialsId - name: orgAdminUserTokenCredentialsId
type: secret type: secret
- type: vaultSecret
name: whitesourceVaultSecret
default: whitesource
- name: productName - name: productName
aliases: aliases:
- name: whitesourceProductName - name: whitesourceProductName