Event Center
Introduction
The Akeyless Event Center is your hub for everything event related.
This document will detail where you can access your event center, what it can do, and how you can benefit from using it.
The Event Center can be accessed by Admins through the bell icon on the top right-hand corner of your screen, next to your user icon. Selecting the bell will also show you any pending notifications you might have from the event center, based on your settings. Setting up notification triggers will also be explained later in this guide.
Using the Event Center
The Akeykless event center shows your event logs in the form of a table, and allows you to monitor, filter, and search through the different events that happen in your Akeyless account.
On the upper left-hand side of the table, you will see a few interactable buttons, including a refresh button, a filter button, and a forwarder button, that allows you to use your event data to your benefit or to search through it.
Event Forwarders
Event forwarders are tools you can configure through the event center in order to get notified on other platforms (e.g email) when a certain event type happens. For example, one might want to be notified every time a certain Certificate is about to expire or when a user requests to access an item you have in your Akeyless Platform.
Forwarded Events Format:
The following JSON structure describes the forwarded event's format:
{
"Akeyelss Events": {
"Certificate Expried": [{
"name": "<cert A name>"
},
{
"name": "<cert b name>"
}
],
"Certificate About to Expire": [{
"name": "<cert c name>"
},
{
"name": "<cert D name>"
}
],
"Request Access": [{...}]
}
}
The URL for Service Now endpoint would be: <serviceNowURL>/Akeyless-events/
Forwarders in the CLI
Create a Forwarder
To set up an event forwarder, use the following command:
akeyless create-event-forwarder -n <name> --forwarder-type <type> -s <source>
The main parameters for the command are as follows:
-n
or--name
: The desired name for the forwarder. This parameter is mandatory.--forwarder-type
: Where will the events be forwarded, currently we supportemail
andservicenow
. This parameter is mandatory.--runner-type
: Would you like this to be the default, which isimmediate
(i.e run once), orperiodic
(i.e run periodically).--every
: If you chose periodic, this parameter will determine how many hours will pass between every run of the forwarder.-s
or--event-source-locations
: A comma-separated list of event sources to forward event about, for example,/abc/def
,/abc/xyz/*
. This parameter is mandatory.--event-source-type
: The type of event,item
(the default) ortarget
.--event-types
: A comma-separated list of types of events to notify about [request-access, certificate-pending-expiration, certificate-expired].--host
: ServiceNow host URL (relevant only for "servicenow" Event Forwarder).--admin-name
: Admin name (relevant only for "servicenow" Event Forwarder).--email-to
: A comma-separated list of email addresses to send events to (relevant only for "email" Event Forwarder).--admin-pwd
: Admin Password (relevant only for "servicenow" Event Forwarder).
Additional parameters can be found in the CLI Reference.
Update a Forwarder
If you wish to update an existing forwarder, use the following command:
akeyless update-event-forwarder
This command can accept the same parameters as the creation command, barring the forwarder type, the runner type, and the runner frequency. This command can also accept the --new-name
parameter in order to change the forwarder name.
Additionally, the ServiceNow admin password can currently only be edited through the CLI.
Get Forwarder Details
In order to get information on an existing forwarder, use the following command:
akeyless get-event-forwarder -n <forwarder name>
Deleting a Forwarder
In order to delete an existing forwarder, use the following command:
akeyless delete-event-forwarder -n <forwarder name>
Setting Up an Event Forwarder in the Console
To create or manage event forwarders, do the following:
-
Go to the event center and select Manage Forwarders. If this is your first Forwarder, the button will read Add Forwarder instead.
-
Choose where you would like your events to be forwarded to. The identifier parameters will vary based on the type of forwarder selected:
- Email: Email address only.
- ServiceNow: ServiceNow URL, Username, and Password.
- After the identifier, the rest of the parameters are identical, and go as follows:
- Event Sources Location: The location in Akeyless of the item or group of items you would like to be notified about. this parameter may be defined multiple times.
- Event type: A list of types of events to notify about (request-access, certificate-pending-expiration, certificate-expired).
- Protection Key: Protection key other than the default, if you wish to change it.
- Forward immediately\periodically: Check the box for the preferred type of forwarder, an immediate one-time forwarder, or a periodic one that runs every defined amount of days.
- Finish and save.
Updated 24 days ago