2020-04-23 09:12:10 +02:00
metadata :
name : malwareExecuteScan
description : Performs a malware scan
longDescription : |
Performs a malware scan
spec :
inputs :
2020-05-06 08:52:26 +02:00
secrets :
2020-08-31 16:10:28 +02:00
- name : malwareScanCredentialsId
2020-09-23 13:22:51 +02:00
description : Jenkins 'Username with password' credentials ID containing the technical user/password credential used to communicate with the malwarescanning service.
2020-08-31 16:10:28 +02:00
type : jenkins
2020-04-23 09:12:10 +02:00
params :
- name : host
type : string
description : "malware scanning host."
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-23 09:12:10 +02:00
mandatory : true
2020-05-06 08:52:26 +02:00
- name : username
2020-04-23 09:12:10 +02:00
type : string
description : "User"
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-23 09:12:10 +02:00
mandatory : true
2020-05-06 08:52:26 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : malwareScanCredentialsId
type : secret
param : username
2021-12-13 12:58:33 +02:00
- name : malwareScanUsernameVaultSecretName
type : vaultSecret
default : malware-scan
2020-04-23 09:12:10 +02:00
- name : password
type : string
description : "Password"
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-04-23 09:12:10 +02:00
mandatory : true
2020-05-06 08:52:26 +02:00
secret : true
2020-08-28 15:38:15 +02:00
resourceRef :
- name : malwareScanCredentialsId
type : secret
param : password
2021-12-13 12:58:33 +02:00
- name : malwareScanPasswordVaultSecretName
type : vaultSecret
default : malware-scan
2020-04-23 09:12:10 +02:00
- name : file
type : string
description : "The file which is scanned for malware"
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-05-06 08:52:26 +02:00
mandatory : true
2020-06-03 11:08:34 +02:00
- name : timeout
type : string
description : "timeout for http layer in seconds"
scope :
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-06-03 11:08:34 +02:00
mandatory : false
default : 600