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):
16 def __init__(self, **kwargs):
17 kwargs["repo"] = 'dir_repo_securityscan'
18 super(SecurityScan, self).__init__(**kwargs)
19 self.cmd = ('. {0}/stackrc && '
21 'python security_scan.py --config config.ini && '
22 'cd -'.format(CONST.dir_functest_conf,