Skip to content

Commit

Permalink
[Fleet] Enable subfeature privileges (#203182)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored Dec 10, 2024
1 parent 93112b9 commit 418e50b
Show file tree
Hide file tree
Showing 4 changed files with 691 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/common/experimental_features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const _allowedExperimentalValues = {
outputSecretsStorage: true,
remoteESOutput: true,
enableStrictKQLValidation: true,
subfeaturePrivileges: false,
subfeaturePrivileges: true,
advancedPolicySettings: true,
useSpaceAwareness: false,
enableReusableIntegrationPolicies: true,
Expand Down
13 changes: 12 additions & 1 deletion x-pack/test/api_integration/apis/security/privileges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,18 @@ export default function ({ getService }: FtrProviderContext) {
slo: ['all', 'read', 'minimal_all', 'minimal_read'],
searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'],
searchInferenceEndpoints: ['all', 'read', 'minimal_all', 'minimal_read'],
fleetv2: ['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',
],
fleet: ['all', 'read', 'minimal_all', 'minimal_read'],
actions: ['all', 'read', 'minimal_all', 'minimal_read'],
stackAlerts: ['all', 'read', 'minimal_all', 'minimal_read'],
Expand Down
13 changes: 12 additions & 1 deletion x-pack/test/api_integration/apis/security/privileges_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,18 @@ export default function ({ getService }: FtrProviderContext) {
slo: ['all', 'read', 'minimal_all', 'minimal_read'],
searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'],
searchInferenceEndpoints: ['all', 'read', 'minimal_all', 'minimal_read'],
fleetv2: ['all', 'read', 'minimal_all', 'minimal_read'],
fleetv2: [
'agent_policies_all',
'agent_policies_read',
'agents_all',
'agents_read',
'all',
'minimal_all',
'minimal_read',
'read',
'settings_all',
'settings_read',
],
fleet: ['all', 'read', 'minimal_all', 'minimal_read'],
actions: ['all', 'read', 'minimal_all', 'minimal_read'],
stackAlerts: ['all', 'read', 'minimal_all', 'minimal_read'],
Expand Down
Loading

0 comments on commit 418e50b

Please sign in to comment.