From 31c573f87117d287da2dbb0409b3bf6e2aebff2a Mon Sep 17 00:00:00 2001 From: Kyle Pollich Date: Tue, 9 Apr 2024 12:18:05 -0400 Subject: [PATCH] Try setting privileges back to original value --- .../apis/security/privileges_basic.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/x-pack/test/api_integration/apis/security/privileges_basic.ts b/x-pack/test/api_integration/apis/security/privileges_basic.ts index a846678c4781e..7f0ea3f10f77a 100644 --- a/x-pack/test/api_integration/apis/security/privileges_basic.ts +++ b/x-pack/test/api_integration/apis/security/privileges_basic.ts @@ -12,7 +12,7 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService }: FtrProviderContext) { const supertest = getService('supertest'); - describe('Privileges', () => { + describe('Privileges (basic)', () => { describe('GET /api/security/privileges', () => { it('should return a privilege map with all known privileges, without actions', async () => { // If you're adding a privilege to the following, that's great! @@ -45,18 +45,7 @@ export default function ({ getService }: FtrProviderContext) { siem: ['all', 'read', 'minimal_all', 'minimal_read'], securitySolutionAssistant: ['all', 'read', 'minimal_all', 'minimal_read'], securitySolutionCases: ['all', 'read', 'minimal_all', 'minimal_read'], - fleetv2: [ - 'all', - 'read', - 'minimal_all', - 'minimal_read', - 'agents_all', - 'agents_read', - 'agent_policies_all', - 'agent_policies_read', - 'settings_all', - 'settings_read', - ], + fleetv2: ['all', 'read', 'minimal_all', 'minimal_read'], fleet: ['all', 'read', 'minimal_all', 'minimal_read'], stackAlerts: ['all', 'read', 'minimal_all', 'minimal_read'], actions: ['all', 'read', 'minimal_all', 'minimal_read'],