Enable security scanning 15/15515/2
authorLuke Hinds <lukehinds@gmail.com>
Tue, 14 Jun 2016 10:07:38 +0000 (11:07 +0100)
committerLuke Hinds <lukehinds@gmail.com>
Tue, 14 Jun 2016 12:13:03 +0000 (13:13 +0100)
Change-Id: Ib179ee6b2fcc7cf6c9ac522fdb83755ecbb99f52
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
ci/exec_test.sh
testcases/security_scan/config.ini

index 2269aa7..3af1649 100755 (executable)
@@ -134,8 +134,7 @@ function run_test(){
             # ${repos_dir}/ovno/Testcases/RunTests.sh
         ;;
         "security_scan")
-            # To be enabled once verified manually
-            # python ${FUNCTEST_REPO_DIR}/Testcases/security_scan/security_scan.py --config config.ini
+            python ${FUNCTEST_REPO_DIR}/testcases/security_scan/security_scan.py --config ${FUNCTEST_REPO_DIR}/testcases/security_scan/config.ini
         ;;
         *)
             echo "The test case '${test_name}' does not exist."
index bfbcf82..9d97fc1 100644 (file)
@@ -10,7 +10,7 @@ user = heat-admin
 scantype = xccdf
 secpolicy = /usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml
 cpe = /usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml
-profile = standard
+profile = stig-rhel7-server-upstream
 report = report.hmtl
 results = results.xml
 reports_dir=/home/opnfv/functest/results/security_scan/
@@ -22,7 +22,7 @@ user = heat-admin
 scantype = xccdf
 secpolicy = /usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml
 cpe = /usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml
-profile = standard
+profile = sstig-rhel7-server-upstream
 report = report.hmtl
 results = results.xml
 reports_dir=/home/opnfv/functest/results/security_scan/