mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
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:
parent
7e02b7abe3
commit
471f25e470
2 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue