| # Job to collect oscap results based on input benchmarks |
| run-openscap-xccdf-evaluation: |
| display_name: "Run openscap xccdf evaluation on given nodes" |
| url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| branch: "${_param:jenkins_pipelines_branch}" |
| credentials: ${_param:jenkins_gerrit_credentials} |
| script: test-openscap-pipeline.groovy |
| description: "Type of tests to run" |
| default: "http://oscore-bandit.vm.mirantis.net:8090/api" |
| description: "The WORP api base url. Mandatory if UPLOAD_TO_DASHBOARD is true" |
| default: "salt-qa-credentials" |
| description: "The target Salt nodes" |
| description: "Upload results to the WORP or not" |
| default: "cis_ubuntu_1604_server_l2/cis_ubuntu_1604_server_l2-xccdf.xml,default" |
| description: "List of pairs XCCDF benchmark filename and corresponding profile, format xccdf_benchmark 1, profile; xccdf_benchmark 2, profile" |
| default: "/usr/share/xccdf-benchmarks/mirantis/" |
| description: "The XCCDF benchmarks base directory" |
| description: "The XCCDF version" |
| description: "The tailoring id" |
| default: '/usr/share/mirantis-scap-content/mirantis/cpe/openscap-cpe-dict.xml' |
| description: "CPE dictionary or language for applicability checks. (Example: /usr/share/openscap/cpe/openscap-cpe-dict.xml)" |