The Assimilation Project  based on Assimilation version 1.1.7.1474836767
bestpractices.py File Reference

Go to the source code of this file.

Data Structures

class  cma.bestpractices.BestPractices
 
class  cma.bestpractices.BestPracticesCMA
 
class  cma.bestpractices.DebugEventObserver
 
class  cma.bestpractices.DummyDrone
 

Namespaces

 cma.bestpractices
 

Variables

 cma.bestpractices.JSON_data
 
 cma.bestpractices.rulefile = None
 
 cma.bestpractices.dummydrone = DummyDrone()
 
 cma.bestpractices.testrules = pyConfigContext(procsys_file.read())
 
 cma.bestpractices.testjsonobj = pyConfigContext(JSON_data)
 
 cma.bestpractices.logger = logging.getLogger('BestPracticesTest')
 
dictionary cma.bestpractices.testconfig = {'allbpdiscoverytypes': ['login_defs', 'pam', 'proc_sys', 'sshd']}
 
 cma.bestpractices.bpobj = BestPractices(testconfig, None, None, logger, False)
 
 cma.bestpractices.ourstats = procsys.evaluate("testdrone", None, testjsonobj, testrules, 'proc_sys')
 
 cma.bestpractices.size = sum([len(ourstats[st]) for st in ourstats.keys() if st != 'score'])
 
 cma.bestpractices.score
 
 cma.bestpractices.tstdiffs
 
 cma.bestpractices.atestrule = testrules['itbp-00001']