summaryrefslogtreecommitdiffstats
path: root/testcases/security_scan
AgeCommit message (Collapse)AuthorFilesLines
2016-09-01Change debug mode for commands that generate too much output in sec_scanjose.lausuch1-6/+7
The security scan test case generates sometimes too much output messages and makes Jenkins unreadable. For example: https://build.opnfv.org/ci/job/functest-apex-apex-daily-colorado-daily-colorado/65/console 80% of the output belongs to this test case. This patch will reduce it since debug information is not showed in Jenkins but it is pushed as part of functest.log to artifacts. Change-Id: I56b3adf87d302d118ee5c15eb86bc10237a7cc4e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-01stop hardcoded FUNCTEST_REPO path everywhereSerenaFeng1-5/+7
functest repo is used by almost every testcase, each place we get it like: REPOS_DIR = os.getenv('repos_dir') FUNCTEST_REPO = ("%s/functest" % REPOS_DIR) provide a common interface in functest_util.py JIRA: FUNCTEST-453 Change-Id: Ie0635dacc761ed2d05b7e606530368844f32ebaf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-12Provides connection check for package download.Luke Hinds2-15/+62
JIRA: FUNCTEST-388 Performs simple connection test, using socket from std python library. If no connection can be made, socket will timeout and gracefully move to trying the next compute / control node. Change-Id: I0048d74d607c8824688c73791c9646f9e9186756 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-15Fixed typo in config.ini for reports.htmlLuke Hinds1-2/+2
JIRA: FUNCTEST-359 Change-Id: Ide565cea987592446a44b168bd4cff0285864192 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier1-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-05Fix incorrect path for createfiles.py and amended hiera pathLuke Hinds1-2/+3
JIRA: FUNCTEST-350 Change-Id: I29cdd2e6783fb659a673346d3033b1b2e7b3461b Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-16Fixed auth url in v2.PasswordLuke Hinds1-3/+4
Completes "Added use of OS_AUTH_URL to security_scan and exec_test.sh" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15633/ Change-Id: I756c10091c3e7fe9e7c8978e2747582bb0f4d281 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-15Added use of OS_AUTH_URL to security_scan and exec_test.shLuke Hinds1-3/+10
JIRA: FUNCTEST-315 Change-Id: I1f8ac20cd93ce25548dbf47d62fc6a076d347d62 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-14Enable security scanningLuke Hinds1-2/+2
Change-Id: Ib179ee6b2fcc7cf6c9ac522fdb83755ecbb99f52 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-13SSH key key type select improvements and jump host renameLuke Hinds5-32/+46
JIRA: FUNCTEST-310 Change-Id: I7adca57febfe8e6861d22de18858c6afd97b5199 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-13Fix flake8 violationsMorgan Richomme2-1/+3
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-09Fixes and Docker Specific Attributes on security_scanLuke Hinds5-66/+95
JIRA: FUNCTEST-306 Fixed Incorrect logging format Added Key Download Added Docker Specifics discovered during tests Change-Id: I0c275c77a1eeb5911afb472bd0cb9c8020ae5879 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-08Merge "Fixes incorrect parenthesis format & adds ft_logger import"Morgan Richomme2-23/+27
2016-06-08Fixes incorrect parenthesis format & adds ft_logger importLuke Hinds2-27/+28
JIRA: FUNCTEST-302 Change-Id: Id83077a1b1376f726ea8abd4a97e5b705c22f9cc Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-08Added paramiko.util.log_to_fileLuke Hinds1-4/+3
JIRA: FUNCTEST-301 Change-Id: I489653d4e47232c5bf51bbae54d2a89c7ac780b6 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-05-31Add Apex based security scan codelukehinds6-0/+490
JIRA: FUNCTEST-169 Performs a SCAP based security scan of all overcloud nodes, followed by report download to functest dashboard Change-Id: I9058227e19c0877e5f8913931febdd667a908cdd Signed-off-by: lukehinds <lukehinds@gmail.com>