Skip to content

Commit

Permalink
Return denylist parameter with pack configs
Browse files Browse the repository at this point in the history
This was previously handled correctly within the Fleet server datastores
and API endpoints, but not returned to the actual osquery client.

Fixes fleetdm#338
  • Loading branch information
zwass committed Feb 21, 2021
1 parent 1c71d39 commit 8b9dcff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/kolide/osquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type QueryContent struct {
Snapshot *bool `json:"snapshot,omitempty"`
Removed *bool `json:"removed,omitempty"`
Shard *uint `json:"shard,omitempty"`
Denylist *bool `json:"denylist,omitempty"`
}

type PermissiveQueryContent struct {
Expand Down
1 change: 1 addition & 0 deletions server/service/service_osquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func (svc service) GetClientConfig(ctx context.Context) (map[string]interface{},
Version: query.Version,
Removed: query.Removed,
Shard: query.Shard,
Denylist: query.Denylist,
}

if query.Removed != nil {
Expand Down

0 comments on commit 8b9dcff

Please sign in to comment.