Documentation
¶
Index ¶
- Constants
- func New(_ string, _ job_manager.IsConfig, logger *log.Entry, ...) job_manager.Job
- type Analyzer
- type Registry
- func (r *Registry) Close() error
- func (r *Registry) GetBOM() (*cdx.BOM, error)
- func (r *Registry) GetPlatform() (map[string]string, error)
- func (r *Registry) GetSystemApps() ([]map[string]string, error)
- func (r *Registry) GetUpdates() ([]string, error)
- func (r *Registry) GetUsersApps() ([]map[string]string, error)
Constants ¶
View Source
const AnalyzerName = "windows"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(_ string, _ job_manager.IsConfig, logger *log.Entry, resultChan chan job_manager.Result) job_manager.Job
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistryForMount ¶
func (*Registry) Close ¶
Close needs to be called when done to free up resources. Registry is not usable once closed.
func (*Registry) GetBOM ¶
GetBOM returns cyclone database from the registry data. TODO(ramizpolic): Other registry fetch methods should return a struct instead of maps.
func (*Registry) GetPlatform ¶
GetPlatform returns OS-specific data from the registry.
func (*Registry) GetSystemApps ¶
GetSystemApps returns installed system-wide apps from the registry.
func (*Registry) GetUpdates ¶
GetUpdates returns a slice of all installed system updates from the registry.
func (*Registry) GetUsersApps ¶
GetUsersApps returns installed apps from the registry for all users. This method will not error in case user profile cannot be loaded. It only errors if the system registry cannot be accessed to get the list of user profiles.
Click to show internal directories.
Click to hide internal directories.