mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
feature(protecodeExecuteScan) proper Vault support (#2483)
This commit is contained in:
parent
b101106a05
commit
4bd155d1ed
@ -321,6 +321,12 @@ func protecodeExecuteScanMetadata() config.StepData {
|
||||
Param: "username",
|
||||
Type: "secret",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "",
|
||||
Paths: []string{"$(vaultPath)/protecode", "$(vaultBasePath)/$(vaultPipelineName)/protecode", "$(vaultBasePath)/GROUP-SECRETS/protecode"},
|
||||
Type: "vaultSecret",
|
||||
},
|
||||
},
|
||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||
Type: "string",
|
||||
@ -335,6 +341,12 @@ func protecodeExecuteScanMetadata() config.StepData {
|
||||
Param: "password",
|
||||
Type: "secret",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "",
|
||||
Paths: []string{"$(vaultPath)/protecode", "$(vaultBasePath)/$(vaultPipelineName)/protecode", "$(vaultBasePath)/GROUP-SECRETS/protecode"},
|
||||
Type: "vaultSecret",
|
||||
},
|
||||
},
|
||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||
Type: "string",
|
||||
|
@ -174,6 +174,11 @@ spec:
|
||||
- name: protecodeCredentialsId
|
||||
type: secret
|
||||
param: username
|
||||
- type: vaultSecret
|
||||
paths:
|
||||
- $(vaultPath)/protecode
|
||||
- $(vaultBasePath)/$(vaultPipelineName)/protecode
|
||||
- $(vaultBasePath)/GROUP-SECRETS/protecode
|
||||
- name: password
|
||||
type: string
|
||||
description: Password which is used for the user
|
||||
@ -187,6 +192,11 @@ spec:
|
||||
- name: protecodeCredentialsId
|
||||
type: secret
|
||||
param: password
|
||||
- type: vaultSecret
|
||||
paths:
|
||||
- $(vaultPath)/protecode
|
||||
- $(vaultBasePath)/$(vaultPipelineName)/protecode
|
||||
- $(vaultBasePath)/GROUP-SECRETS/protecode
|
||||
- name: artifactVersion
|
||||
type: string
|
||||
description: The version of the artifact to allow identification in protecode backend
|
||||
|
Loading…
Reference in New Issue
Block a user