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:
|
|
|
|
- name: malwareScanCredentialsId
|
|
|
|
description: The technical user/password credential used to communicate with the malwarescanning service
|
|
|
|
type: jenkins
|
2020-04-23 09:12:10 +02:00
|
|
|
params:
|
|
|
|
- name: host
|
|
|
|
type: string
|
|
|
|
description: "malware scanning host."
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
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:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: true
|
2020-05-06 08:52:26 +02:00
|
|
|
secret: true
|
2020-04-23 09:12:10 +02:00
|
|
|
- name: password
|
|
|
|
type: string
|
|
|
|
description: "Password"
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: true
|
2020-05-06 08:52:26 +02:00
|
|
|
secret: true
|
2020-04-23 09:12:10 +02:00
|
|
|
- name: file
|
|
|
|
type: string
|
|
|
|
description: "The file which is scanned for malware"
|
|
|
|
scope:
|
|
|
|
- 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:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
default: 600
|