fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.01k stars 418 forks source link

Update integrations and automation user interface to use new dedicated endpoints #8266

Open lukeheath opened 1 year ago

lukeheath commented 1 year ago

Goal

As an Engineer, I want to manage integrations and automations using REST endpoints so that I can interact with the API using established patterns.

Requirements

  1. Stop relying on global configuration object for integrations and automations.
  2. Instead, use new REST endpoints created as part of #8188

Related issues

Tasks

Specced by @RachelElysia assuming we are making a breaking change

GET, POST, PATCH, and DELETE endpoints for /integrations and /automations

1 Update frontend/interfaces/config.ts

2 Create frontend/interfaces/automations.ts and update frontend/interfaces/integrations.ts

3 Update frontend/interfaces/team.ts

4 Create frontend/services/entities/integration.ts

5 Create frontend/services/entities/automations.ts

host status webhook

4 IntegrationsPage.tsx

5 Software page ManageAutomationsModal.tsx

6 Policy page ManageAutomationsModal.tsx

7 Update settings > organization > host-status-webhook HostStatusWebhook.tsx

8 Ensure any remaining /config endpoint has all /integrations and /automations stuffz removed

9 Update e2e tests

lukeheath commented 1 year ago

@RachelElysia I am assigning you this ticket to complete the implementation specs. The backend portion will go into the next release, then we'll bring this ticket into the following release after the backend is implemented.

lukeheath commented 1 year ago

Moving issue off roadmap board because v5 has been deferred.