summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-30Define security_scan console scriptHEADmasterCédric Ollivier2-2/+5
It eases calling securityscanning from Functest. Change-Id: I54ffa61f4bcd366c185596056b49e492c88cc78b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Define config.ini as data_fileCédric Ollivier1-0/+3
Change-Id: Ie74f5481be99117c82bfb4b369f6de1eee70e26d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-24Create securityscanning python packageCédric Ollivier5-4/+42
It also adds requirements and leverages on pkg_resources to find scripts. Change-Id: Ie92128ca9f08a9c39025b36ce7664f72982aacc6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-19Configure logging in main entry pointCédric Ollivier2-1/+1
It completes the previous change [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/34019/ Change-Id: Ic9ed0ec7d1c58565af8dba9b5b4dee975e9015be Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-15Update logger in security_scan via logging.getLogger()Linda Wang1-2/+3
1. The module functest.utils.functest_logger has been deleted and logger has been reconfigured in functest [1]. 2. Update connect.py to get logger via logging.getLogger(). [1] https://gerrit.opnfv.org/gerrit/#/c/34019/ JIRA: FUNCTEST-824 Change-Id: Icda67289e503f824b893f8279df979f4a4514497 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-03-03Modify functest_dir to securityscanning repo pathstable/danubeLinda Wang1-3/+3
After the logic of security_scan called by functest is changed, the path of some functions needed when running security_scan.py is modified to the path where securityscanning project is located, that is "/home/opnfv/ repos/securityscanning" Change-Id: I7fee0c508f8ce67b0403556a15531c4fd9989c0d Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-06Lowers logging outout to debuglhinds2-11/+11
Change-Id: Ic10e18d652e76fadff6157f32b8f06d0e55d47f9 JIRA: SECSCAN-20 Signed-off-by: lhinds <lhinds@redhat.com>
2016-09-27Adding Project INFO filestable/coloradoLuke Hinds1-0/+22
Change-Id: I049d0ef24161370ab1553c94d75bf34d851c265a Signed-off-by: Luke Hinds <lhinds@redhat.com>
2016-08-30Fixes Profile "sstig-rhel7-server-upstream" was not found.Luke Hinds1-1/+1
JIRA: SECSCAN-18 Change-Id: I8bba9f5dca6f790bffdce4dba4d0aa62aa52752a Signed-off-by: Luke Hinds <lhinds@redhat.com>
2016-08-16Cleaned up comments and added PEP 257 -- Docstring ConventionsLuke Hinds3-12/+19
Change-Id: Id7e8e627e3e249948181c09deadf2d114b77dbf7 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-08-16Merging Internet Connection checkLuke Hinds2-15/+62
Issues were found with FDIO repo in Apex, so to prevent other connectivity issues from having an adverse effect on functest run times, this patch adds a check to insure the connection works correctly, but creating a socket connection to port 80 on google.com Change-Id: If6841ee81e19996d3640a4551b1fac2770401da8 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-15Adding gitignoreLuke Hinds1-0/+30
Change-Id: Iae91685dd66a064e35c9d7d259e525f8395a7425 Signed-off-by: Luke Hinds <lhinds@redhat.com>
2016-07-15Initial code push and adding .gitreviewLuke Hinds7-0/+551
Change-Id: I062fa135aed0256675e9d10c3fc2e64df828350c Signed-off-by: Luke Hinds <lhinds@redhat.com>
2016-07-14Initial empty repositoryAric Gardner0-0/+0