Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "windows-bench", Short: "windows-bench is a Go application that checks whether the windows operating system is deployed securely", Long: `This tool runs the CIS Windows Benchmark (https://www.cisecurity.org/cis-benchmarks)`, RunE: func(cmd *cobra.Command, args []string) error { b := commonCheck.NewBench() ps, err := shell.NewPowerShell() if err != nil { return err } err = b.RegisterAuditType(shell.TypePowershell, func() interface{} { if err != nil { return nil } glog.V(2).Info("Returning a PowerShell (Auditer) \n") return ps }) return runChecks(b, ps.OsType, ps.ServerCaption) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.