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 fd7718b commit e5eb387Copy full SHA for e5eb387
x-pack/plugins/alerts/server/alerts_client.ts
@@ -713,6 +713,6 @@ export class AlertsClient {
713
}
714
715
private generateAPIKeyName(alertTypeId: string, alertName: string) {
716
- return `alerting:${this.spaceId ?? ''}:${alertTypeId}:${_.snakeCase(alertName)}`;
+ return _.truncate(`Alerting: ${alertTypeId}/${alertName}`, { length: 256 });
717
718
0 commit comments