You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
feat(malwareExecuteScan): support for vault (#3346)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
@@ -157,6 +157,12 @@ func malwareExecuteScanMetadata() config.StepData {
|
||||
Param: "username",
|
||||
Type: "secret",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "malwareScanUsernameVaultSecretName",
|
||||
Type: "vaultSecret",
|
||||
Default: "malware-scan",
|
||||
},
|
||||
},
|
||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||
Type: "string",
|
||||
@@ -172,6 +178,12 @@ func malwareExecuteScanMetadata() config.StepData {
|
||||
Param: "password",
|
||||
Type: "secret",
|
||||
},
|
||||
|
||||
{
|
||||
Name: "malwareScanPasswordVaultSecretName",
|
||||
Type: "vaultSecret",
|
||||
Default: "malware-scan",
|
||||
},
|
||||
},
|
||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||
Type: "string",
|
||||
|
||||
@@ -31,6 +31,9 @@ spec:
|
||||
- name: malwareScanCredentialsId
|
||||
type: secret
|
||||
param: username
|
||||
- name: malwareScanUsernameVaultSecretName
|
||||
type: vaultSecret
|
||||
default: malware-scan
|
||||
- name: password
|
||||
type: string
|
||||
description: "Password"
|
||||
@@ -44,6 +47,9 @@ spec:
|
||||
- name: malwareScanCredentialsId
|
||||
type: secret
|
||||
param: password
|
||||
- name: malwareScanPasswordVaultSecretName
|
||||
type: vaultSecret
|
||||
default: malware-scan
|
||||
- name: file
|
||||
type: string
|
||||
description: "The file which is scanned for malware"
|
||||
|
||||
Reference in New Issue
Block a user