Return denylist parameter with pack configs (#339)

This was previously handled correctly within the Fleet server datastores
and API endpoints, but not returned to the actual osquery client.

Fixes #338
This commit is contained in:
Zach Wasserman 2021-02-21 09:58:36 -08:00 committed by GitHub
parent 7e02b7abe3
commit 471f25e470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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 {

View file

@ -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 {