You are viewing documentation for a release that is no longer maintained. To view the documentation for the most recent version, see the latest RHACS docs.
4.3. 配置策略通知
为系统策略启用警报通知。
流程
-
在 RHACS 门户网站中,导航至 Platform Configuration
Policies。 - 选择您要为其发送警报的策略。
-
选择 Actions
Edit Policy。 在 Attach Notifiers 部分,选择 Slack notifier 的复选框。
注意如果您还没有配置任何集成,系统会显示一个没有配置通知程序的信息。
- 点 Next,直到达到 Review Policy,然后点 Save。
注意
- Red Hat Advanced Cluster Security for Kubernetes 根据选择发送通知。要接收通知,您必须首先为策略分配通知程序。
- 通知仅针对给定警报发送一次。如果您已将通知程序分配给策略,则不会收到通知,除非违反情况生成新警报。
Red Hat Advanced Cluster Security for Kubernetes 在以下情况下创建新警报:
- 首次在部署中发生策略违反情况。
- 在解决了之前部署的策略警报后,在部署后出现运行时策略违反情况。