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",
|
Param: "username",
|
||||||
Type: "secret",
|
Type: "secret",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
Name: "malwareScanUsernameVaultSecretName",
|
||||||
|
Type: "vaultSecret",
|
||||||
|
Default: "malware-scan",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
@@ -172,6 +178,12 @@ func malwareExecuteScanMetadata() config.StepData {
|
|||||||
Param: "password",
|
Param: "password",
|
||||||
Type: "secret",
|
Type: "secret",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
Name: "malwareScanPasswordVaultSecretName",
|
||||||
|
Type: "vaultSecret",
|
||||||
|
Default: "malware-scan",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ spec:
|
|||||||
- name: malwareScanCredentialsId
|
- name: malwareScanCredentialsId
|
||||||
type: secret
|
type: secret
|
||||||
param: username
|
param: username
|
||||||
|
- name: malwareScanUsernameVaultSecretName
|
||||||
|
type: vaultSecret
|
||||||
|
default: malware-scan
|
||||||
- name: password
|
- name: password
|
||||||
type: string
|
type: string
|
||||||
description: "Password"
|
description: "Password"
|
||||||
@@ -44,6 +47,9 @@ spec:
|
|||||||
- name: malwareScanCredentialsId
|
- name: malwareScanCredentialsId
|
||||||
type: secret
|
type: secret
|
||||||
param: password
|
param: password
|
||||||
|
- name: malwareScanPasswordVaultSecretName
|
||||||
|
type: vaultSecret
|
||||||
|
default: malware-scan
|
||||||
- name: file
|
- name: file
|
||||||
type: string
|
type: string
|
||||||
description: "The file which is scanned for malware"
|
description: "The file which is scanned for malware"
|
||||||
|
|||||||
Reference in New Issue
Block a user