Create email notification within instance security center when I run file export
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 07:53 AM
send an email notification for when I run a file export within the instance security center as an elevated user, e.g Admin
I need an email notification sent to the "risk_group"
How do I create an email notification within the instance security center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 01:52 PM
Hi, If you want to use a BR to define recipients, then you would want to include this in your event trigger script IE query for recipients then trigger multiple instances of your sysevent and set a recipient as parm1 or 2 for each event. But in my opinion it is better to manage the recipients via membership of a group configured in the Notification who will receive tab, and this solution is configuration whereas a BR solution is customization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 02:07 PM
I think I am creating more confusion
The recipient is already defined on group. Who will relieve?
That is not where I am having issues, issue is who is sending, I dont want it to trigger when anyone other than a user with admin role sends it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 02:18 PM
I would create a custom event and trigger only when user meets the admin requirement IE.
if (gs.hasRole("admin") || (gs.hasRole("security_admin")) {
gs.eventQueue('appsec.security.exports.admin', current, ",");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 02:45 PM - edited 11-20-2023 02:45 PM
got it so no need for a BR. Will attempt and let you know how it works out.
Appreciate your help sir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 04:05 PM
struggling with this code, I keep getting an error and cant see any error message parsing error: unexpected token {