Opsgenie¶
Opsgenie, Atlassian tarafından sunulan bir olay yönetimi ve uyarı aracıdır. Wallarm’ı, uyarıları Opsgenie’ye gönderecek şekilde yapılandırabilirsiniz.
Entegrasyonun ayarlanması¶
Opsgenie UI içinde:
-
Ekibinize gidin ➝ Integrations.
-
Add integration düğmesine tıklayın ve API seçin.
-
Yeni entegrasyon için bir ad girin ve Save Integration’a tıklayın.
-
Sağlanan API key’i kopyalayın.
Wallarm UI’de:
-
Integrations bölümünü açın.
-
Opsgenie bloğuna tıklayın veya Add integration düğmesine tıklayıp Opsgenie’yi seçin.
-
Bir entegrasyon adı girin.
-
Kopyaladığınız API key’i API key alanına yapıştırın.
-
Opsgenie’nin EU instance'ını kullanıyorsanız, listeden uygun Opsgenie API endpoint’ini seçin. Varsayılan olarak US instance endpoint’i ayarlıdır.
-
Bildirimleri tetikleyecek olay türlerini seçin.
Kullanılabilir olayların ayrıntıları:
- System related:
- User changes (newly created, deleted, role change)
- Integration changes (disabled, deleted)
- Application changes (newly created, deleted, name change)
- Errors during regular update of specifications used for rogue API detection or API specification enforcement
- Vulnerabilities detected, all by default or only for the selected risk level(s):
- High risk
- Medium risk
- Low risk
- Rules and triggers changed (creating, updating, or deleting the rule or trigger)
- (Requires AASM Enterprise) Security issues detected, all or only for the selected risk level(s):
- Critical risk
- High risk
- Medium risk
- Low risk
- Info risk
- System related:
-
Yapılandırmanın doğruluğunu, Wallarm Cloud erişilebilirliğini ve bildirim biçimini kontrol etmek için Test integration’a tıklayın.
Bu, “[Test message]” öneki ile test bildirimleri gönderecektir:
-
Add integration’a tıklayın.
Wallarm Cloud IP addresses
To provide Wallarm Cloud access to your system, you may need a list of its public IP addresses:
Ek uyarıların ayarlanması¶
Besides the notifications you have already set up through the integration card, Wallarm triggers allow you to select additional events for notifications:
-
Number of attacks, hits or incidents per time interval (day, hour, etc.) exceeds the set number
What is not counted
- For attacks:
- The experimental attacks based on the custom regular expressions.
- For hits:
- The experimental hits based on the custom regular expressions.
- Hits not saved in the sample.
- For attacks:
-
Changes in API took place
-
IP address was denylisted
-
New rogue API (shadow, orphan, zombie) was detected
-
New user was added to the company account
For condition detailing, you can add one or more filters. As soon, as condition and filters are set, select the integration through which the selected alert should be sent. You can select several integrations simultaneously.
Örnek: Bir saniye içinde 2 veya daha fazla olay tespit edilirse Opsgenie bildirimi¶
Uygulama sunucusu veya veritabanı ile ilgili 1 saniye içinde 2 veya daha fazla olay tespit edilirse bu olaya ilişkin bildirim Opsgenie’ye gönderilecektir.
Tetiği test etmek için, korunan kaynağa, aktif bir güvenlik açığını istismar eden saldırı göndermek gerekir. Wallarm Console → Vulnerabilities bölümü, uygulamalarınızda tespit edilen aktif güvenlik açıklarını ve bu açıkları istismar eden saldırı örneklerini görüntüler.
Saldırı örneği korunan kaynağa gönderilirse, Wallarm olayı kaydedecektir. İki veya daha fazla kayıtlı olay, aşağıdaki bildirimin Opsgenie’ye gönderilmesini tetikleyecektir:
[Wallarm] Trigger: Olay sayısı eşik değerini aştı
Bildirim türü: incidents_exceeded
Algılanan olay sayısı 1'i 1 saniye içinde aştı.
Bu bildirim "Notification about incidents" trigger'ı tarafından tetiklendi.
Tetikleyicinin ek koşulları:
Hedef: sunucu, veritabanı.
Olayları görüntüle:
https://my.wallarm.com/attacks?q=incidents&time_from=XXXXXXXXXX&time_to=XXXXXXXXXX
Müşteri: TestCompany
Cloud: EU
-
Notification about incidents
tetikleyicinin adıdır -
TestCompany
, Wallarm Console içindeki şirket hesabınızın adıdır -
EU
, şirket hesabınızın kayıtlı olduğu Wallarm Cloud’dur
Kaynağı aktif güvenlik açığı istismarına karşı koruma
Kaynağı aktif güvenlik açığı istismarına karşı korumak için, güvenlik açığını zamanında yamalamanızı öneririz. Güvenlik açığı uygulama tarafında yamalanamıyorsa, bu güvenlik açığını istismar eden saldırıları engellemek için lütfen bir sanal yama yapılandırın.
Entegrasyonu devre dışı bırakma ve silme¶
You can delete or temporarily disable the integration. While deleting stops sending notificatioins and completely deletes all configuration, disabling just stops sending notifications which you can at any moment re-enable with the same settings.
If for the integration the System related events are selected to trigger notifications, Wallarm will notify about both of these actions.
Sistem kullanılamaması ve hatalı entegrasyon parametreleri¶
Notifications to the system are sent via requests. If the system is unavailable or integration parameters are configured incorrectly, the error code is returned in the response to the request.
If the system responds to Wallarm request with any code other than 2xx
, Wallarm resends the request with the interval until the 2xx
code is received:
-
The first cycle intervals: 1, 3, 5, 10, 10 seconds
-
The second cycle intervals: 0, 1, 3, 5, 30 seconds
-
The third cycle intervals: 1, 1, 3, 5, 10, 30 minutes
If the percentage of unsuccessful requests reaches 60% in 12 hours, the integration is automatically disabled. If you receive system notifications, you will get a message about automatically disabled integration.