Remove host files and uninstall agent when deleting hosts
This commit is contained in:
@@ -92,6 +92,7 @@ describe('authentication and machine boundaries', () => {
|
||||
it.each([
|
||||
['/api/agent/enroll', 'POST'], ['/api/agent/heartbeat', 'POST'], ['/api/agent/operations', 'GET'],
|
||||
['/api/agent/operations/[id]', 'POST'], ['/api/agent/libraries/[id]/files/[...path]', 'GET'],
|
||||
['/api/agent/decommission/[id]', 'POST'],
|
||||
['/api/agent/imports/[id]/files/[...path]', 'PUT'], ['/api/agent/imports/[id]/complete', 'POST'],
|
||||
['/api/agent/install.sh', 'GET'], ['/api/agent/release/[file]', 'GET'], ['/api/telemetry', 'POST']
|
||||
])('preserves endpoint-specific machine authentication for %s', (route, method) => {
|
||||
|
||||
Reference in New Issue
Block a user