public class Identity extends Object
| Constructor and Description |
|---|
Identity() |
| Modifier and Type | Method and Description |
|---|---|
NotificationPreferences |
getAlert()
Get alerting preferences for identity
|
ArrayList<String> |
getAliases()
Get username aliases for identity
|
String |
getEscalateTo()
Get escalate to email address
|
NotificationPreferences |
getNotify()
Get notification preferences for identity
|
void |
logWarnings(String identity)
Analyze identity, logging warnings if required
|
Boolean |
shouldAlertViaEmail()
Returns true if this identity should be alerted via email
|
Boolean |
shouldAlertViaSlack()
Returns true if this identity should be alerted via slack
|
Boolean |
shouldNotifyViaEmail()
Returns true if this identity should be notified via email
|
Boolean |
shouldNotifyViaSlack()
Returns true if this identity should be notified via slack
|
public void logWarnings(String identity)
Review identity configuration and log any possible issues with the configuration as warnings. Purely informational and will not throw exceptions if misconfigurations exist.
identity - The identity key associated with this identitypublic String getEscalateTo()
public NotificationPreferences getNotify()
NotificationPreferencespublic NotificationPreferences getAlert()
NotificationPreferencespublic Boolean shouldNotifyViaSlack()
public Boolean shouldNotifyViaEmail()
public Boolean shouldAlertViaSlack()
public Boolean shouldAlertViaEmail()
Copyright © 2022. All rights reserved.