We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca46845 commit a15bd8dCopy full SHA for a15bd8d
x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts
@@ -90,6 +90,7 @@ export function taskRunner(
90
91
totalInvalidated = await runInvalidate({
92
encryptedSavedObjectsClient,
93
+ invalidateApiKeyFn: security?.authc.apiKeys.invalidateAsInternalUser,
94
logger,
95
removalDelay: config.invalidateApiKeysTask.removalDelay,
96
savedObjectsClient,
@@ -104,7 +105,6 @@ export function taskRunner(
104
105
apiKeyAttributePath: `${ACTION_TASK_PARAMS_SAVED_OBJECT_TYPE}.attributes.apiKeyId`,
106
},
107
],
- security,
108
});
109
110
const updatedState: LatestTaskStateSchema = {
0 commit comments