Versions in this module Expand all Collapse all v1 v1.2.1 Mar 21, 2017 v1.2.0 Mar 21, 2017 Changes in this version + func NewBadTempFile(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewBindsToAllNetworkInterfaces(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewBlacklist_crypto_des(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewBlacklist_crypto_md5(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewBlacklist_crypto_rc4(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewBlacklist_net_http_cgi(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewCompatTlsCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewFilePerms(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewHardcodedCredentials(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewIntermediateTlsCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewMkdirPerms(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewModernTlsCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewNoErrorCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewSqlStrConcat(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewSqlStrFormat(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewSubproc(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewTemplateCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewUsesWeakCryptography(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewUsingUnsafe(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewWeakKeyStrength(conf map[string]interface{}) (gas.Rule, []ast.Node) + func NewWeakRandCheck(conf map[string]interface{}) (gas.Rule, []ast.Node) + type BadTempFile struct + func (t *BadTempFile) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type BindsToAllNetworkInterfaces struct + func (r *BindsToAllNetworkInterfaces) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type BlacklistImport struct + Path string + func (r *BlacklistImport) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type Credentials struct + func (r *Credentials) Match(n ast.Node, ctx *gas.Context) (*gas.Issue, error) + type FilePermissions struct + func (r *FilePermissions) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) + type InsecureConfigTLS struct + MaxVersion int16 + MinVersion int16 + func (t *InsecureConfigTLS) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type NoErrorCheck struct + func (r *NoErrorCheck) Match(n ast.Node, ctx *gas.Context) (*gas.Issue, error) + type SqlStatement struct + type SqlStrConcat struct + func (s *SqlStrConcat) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) + type SqlStrFormat struct + func (s *SqlStrFormat) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type Subprocess struct + func (r *Subprocess) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) + type TemplateCheck struct + func (t *TemplateCheck) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type UsesWeakCryptography struct + func (r *UsesWeakCryptography) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) + type UsingUnsafe struct + func (r *UsingUnsafe) Match(n ast.Node, c *gas.Context) (gi *gas.Issue, err error) + type WeakKeyStrength struct + func (w *WeakKeyStrength) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) + type WeakRand struct + func (w *WeakRand) Match(n ast.Node, c *gas.Context) (*gas.Issue, error)