-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathnotifiers.go
More file actions
18 lines (16 loc) · 1.05 KB
/
notifiers.go
File metadata and controls
18 lines (16 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package env
import "time"
var (
// AWSSHUploadTimeout specifies the upload timeout for the AWS Security Hub notifier.
AWSSHUploadTimeout = registerDurationSetting("ROX_AWSSH_UPLOAD_TIMEOUT", 2*time.Second)
// AWSSHUploadInterval specifies the interval for uploading alerts to AWS Security Hub.
AWSSHUploadInterval = registerDurationSetting("ROX_AWSSH_UPLOAD_INTERVAL", 15*time.Second)
// SyslogUploadTimeout specifies the upload timeout for the Syslog notifier.
SyslogUploadTimeout = registerDurationSetting("ROX_SYSLOG_UPLOAD_TIMEOUT", 5*time.Second)
// TeamsTimeout specifies the timeout for posting messages to Teams via the Teams notifier.
TeamsTimeout = registerDurationSetting("ROX_TEAMS_TIMEOUT", 10*time.Second)
// CSCCTimeout specifies the timeout for sending alerts to Google Cloud Security Platform.
CSCCTimeout = registerDurationSetting("ROX_CSCC_TIMEOUT", 5*time.Second)
// WebhookTimeout specifies the timeout for sending alerts via the generic webhook notifier.
WebhookTimeout = registerDurationSetting("ROX_WEBHOOK_TIMEOUT", 5*time.Second)
)