Skip to content

Conversation

@secDre4mer
Copy link
Contributor

No description provided.

@secDre4mer secDre4mer requested a review from gremat July 24, 2025 03:51
@secDre4mer secDre4mer self-assigned this Jul 24, 2025
type ParentProcessInfo struct {
Pid int32 `json:"pid" textlog:"ppid"`
Exe string `json:"exe" textlog:"parent"`
CommandLine string `json:"command" textlog:"parent_command"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CommandLine is inconsistent with Cmdline from above.

Exe string `json:"exe" textlog:"parent"`
CommandLine string `json:"command" textlog:"parent_command"`
} `json:"parent_info,omitempty" textlog:",expand,omitempty"`
ParentInfo ParentProcessInfo `json:"parent_info,omitempty" textlog:",expand,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't _info redundant in JSON? Or do you want to distinguish it from a nested (or linked) ProcessInfo struct for the parent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants