1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/malwareExecuteScan.yaml

70 lines
1.8 KiB
YAML
Raw Normal View History

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
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
params:
- name: host
type: string
description: "malware scanning host."
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-05-06 08:52:26 +02:00
- name: username
type: string
description: "User"
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-05-06 08:52:26 +02:00
secret: true
resourceRef:
- name: malwareScanCredentialsId
type: secret
param: username
- name: malwareScanUsernameVaultSecretName
type: vaultSecret
default: malware-scan
- name: password
type: string
description: "Password"
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-05-06 08:52:26 +02:00
secret: true
resourceRef:
- 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"
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
2020-05-06 08:52:26 +02:00
mandatory: true
- name: timeout
type: string
description: "timeout for http layer in seconds"
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: false
default: 600