Documentation ¶
Index ¶
Constants ¶
View Source
const TypePowershell = "powershell"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerShell ¶
type PowerShell struct { Cmd map[string]string OsType string // contains filtered or unexported fields }
func NewPowerShell ¶
func NewPowerShell() (*PowerShell, error)
func (*PowerShell) Execute ¶
func (p *PowerShell) Execute(customConfig ...interface{}) (result string, errMessage string, state check.State)
Execute - Implements the 'check.Auditer' interface It uses the aquasecurity/go-powershell package to interface with the windows powershell to execute the command.
func (*PowerShell) Exit ¶
func (p *PowerShell) Exit()
Click to show internal directories.
Click to hide internal directories.