blob: 7bedf619e2851be8e709bf4487b95e1b1d4e6587 [file] [log] [blame]
Ivan Udovichenkodefb2de2018-09-26 14:47:05 +03001#
2# Job to collect oscap results based on input benchmarks
3#
4parameters:
5 jenkins:
6 client:
7 job:
8 run-openscap-xccdf-evaluation:
9 type: workflow-scm
10 concurrent: true
11 discard:
12 build:
13 keep_num: 10
14 artifact:
15 keep_num: 10
16 display_name: "Run openscap xccdf evaluation on given nodes"
17 scm:
18 type: git
19 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
20 branch: "${_param:jenkins_pipelines_branch}"
21 credentials: "gerrit"
22 script: test-openscap-pipeline.groovy
23 param:
24 DASHBOARD_API_URL:
25 type: string
26 default: ""
27 description: "The WORP api base url. Mandatory if UPLOAD_TO_DASHBOARD is true"
28 SALT_MASTER_URL:
29 type: string
30 default: ""
31 SALT_MASTER_CREDENTIALS:
32 type: string
Vasyl Saienko04d144f2018-10-01 09:55:29 +030033 default: "salt-qa-credentials"
Ivan Udovichenkodefb2de2018-09-26 14:47:05 +030034 TARGET_SERVERS:
35 type: string
36 default: '*'
37 description: "The target Salt nodes"
38 UPLOAD_TO_DASHBOARD:
39 type: boolean
40 default: "false"
41 description: "Upload results to the WORP or not"
42 XCCDF_BENCHMARKS:
43 type: string
44 default: "cis_ubuntu_1604_server_l2/cis_ubuntu_1604_server_l2-xccdf.xml,default"
45 description: "List of pairs XCCDF benchmark filename and corresponding profile, format xccdf_benchmark 1, profile; xccdf_benchmark 2, profile"
46 XCCDF_BENCHMARKS_DIR:
47 type: string
48 default: "/usr/share/xccdf-benchmarks/mirantis/"
49 description: "The XCCDF benchmarks base directory"
50 XCCDF_VERSION:
51 type: string
52 default: "1.2"
53 description: "The XCCDF version"
54 XCCDF_TAILORING_ID:
55 type: string
56 default: "None"
57 description: "The tailoring id"