Skip to content

SHAA: Backend: Hosts summary and hosts filtering API changes #40795

@JordanMontgomery

Description

@JordanMontgomery

Related user story

#39063

Task

Add filtering parameters dep_profile_error(boolean) and dep_assign_profile_response(string) to /hosts endpoint as described in https://github.com/fleetdm/fleet/pull/40722/changes#diff-7246bc304b15c8865ed8eaa205e9c244d0a0314e4bae60cf553dc06147c38b64R2954

Add dep_assign_error_count to hosts summary endpoint as specified in https://github.com/fleetdm/fleet/pull/40722/changes#diff-7246bc304b15c8865ed8eaa205e9c244d0a0314e4bae60cf553dc06147c38b64R3312

Condition of satisfaction

Hosts endpoint allows filtering both by hosts with DEP profile error and filtering by the specific dep_assign_profile_response values(including success, though UI won't use that right now AFAIK).

Hosts summary returns a count of hosts with DEP errors so it can be displayed if non-zero

Metadata

Metadata

Assignees

Labels

#g-softwareSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.~assisting g-mdmThis is a #g-mdm issue that another product group is assisting~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)

Type

No type

Projects

Status

✅ Ready for release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions