Skip to content

Commit

Permalink
[Security Solution][Endpoint] Change trustedAppByPolicyEnabled flag…
Browse files Browse the repository at this point in the history
… to `true` by default (elastic#115264)

* set `trustedAppsByPolicyEnabled` flag to true by default
* Adjust server tests
  • Loading branch information
paul-tavares authored Oct 18, 2021
1 parent 3cfa21d commit c3ff2b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const allowedExperimentalValues = Object.freeze({
ruleRegistryEnabled: false,
tGridEnabled: true,
tGridEventRenderedViewEnabled: true,
trustedAppsByPolicyEnabled: false,
trustedAppsByPolicyEnabled: true,
excludePoliciesInFilterEnabled: false,
uebaEnabled: false,
disableIsolationUIPendingStatuses: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,10 @@ describe('ingest_integration tests ', () => {
});
});

it("doesn't remove policy from trusted app FF disabled", async () => {
it("doesn't remove policy from trusted app if feature flag is disabled", async () => {
await invokeDeleteCallback({
...allowedExperimentalValues,
trustedAppsByPolicyEnabled: false, // since it was changed to `true` by default
});

expect(exceptionListClient.findExceptionListItem).toHaveBeenCalledTimes(0);
Expand Down

0 comments on commit c3ff2b0

Please sign in to comment.