Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
banderror committed Aug 25, 2021
1 parent a480916 commit c3e2a8f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,6 @@ export class AlertsClient {
const toReturn = validAuthorizedFeatures.flatMap((feature) => {
const indices = this.ruleDataService.findIndicesByFeature(feature, Dataset.alerts);
if (feature === 'siem') {
// TODO: Remove space id from the index name and make sure the app works well.
// We should not include space id into the index name, because a
// namespace goes into the index name, and it's user-defined in general.
// The user can set a custom namespace per rule instance which could be != space id.
return indices.map((i) => `${i.baseName}-${this.spaceId}`);
} else {
return indices.map((i) => i.baseName);
Expand Down

0 comments on commit c3e2a8f

Please sign in to comment.