Skip to content

Commit

Permalink
drop values pull from runtime from osq query
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Pickett committed Aug 12, 2024
1 parent e2200b0 commit 1ee38d1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/osquery/enrollment_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ func getEnrollDetails(ctx context.Context, osquerydPath string) (service.Enrollm
osquery_info.version as osquery_version,
os_version.build as os_build,
os_version.name as os_name,
os_version.platform as os_platform,
os_version.platform_like as os_platform_like,
os_version.version as os_version,
system_info.hardware_model,
system_info.hardware_serial,
Expand Down Expand Up @@ -108,12 +106,6 @@ func getEnrollDetails(ctx context.Context, osquerydPath string) (service.Enrollm
if val, ok := resp[0]["os_name"]; ok {
details.OSName = val
}
if val, ok := resp[0]["os_platform"]; ok {
details.OSPlatform = val
}
if val, ok := resp[0]["os_platform_like"]; ok {
details.OSPlatformLike = val
}
if val, ok := resp[0]["osquery_version"]; ok {
details.OsqueryVersion = val
}
Expand Down

0 comments on commit 1ee38d1

Please sign in to comment.