3 # Copyright (c) 2015 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
11 import functest.core.feature as base
12 from functest.utils.constants import CONST
15 class SecurityScan(base.Feature):
17 super(SecurityScan, self).__init__(project='securityscanning',
19 repo='dir_repo_securityscan')
20 self.cmd = ('. {0}/stackrc && '
22 'python security_scan.py --config config.ini && '
23 'cd -'.format(CONST.dir_functest_conf,