Cortex allows you to control notifications at both the team and individual member level using the entity descriptor (YAML file). Here’s how you can manage notification settings for your teams:
1. Configure Notifications for Individual Team Members
You can enable or disable notifications for specific team members by setting the notificationsEnabled field in the team entity YAML. For example:
openapi: 3.0.1
info:
title: Eng Team
x-cortex-tag: eng-team
x-cortex-team:
members:
- name: Jane Doe
role: Engineering Manager
email: jdoe@example.com
notificationsEnabled: true
- name: Aaron Smith
role: Staff Software Engineer
email: asmith@example.com
notificationsEnabled: falseIn this example, Jane will receive notifications, but Aaron will not. This allows you to tailor notifications to only those team members who need them.
2. Configure Notifications for Team Slack or Microsoft Teams Channels
You can also control notifications for specific Slack or MS Teams channels associated with a team:
x-cortex-slack: channels: - name: team-insights notificationsEnabled: true - name: escalate-insights notificationsEnabled: false
This configuration enables notifications for the team-insights channel, but disables them for escalate-insights.