feat: Add CrowdSec Bouncer Key Display component and integrate into Security page
- Implemented CrowdSecBouncerKeyDisplay component to fetch and display the bouncer API key information. - Added loading skeletons and error handling for API requests. - Integrated the new component into the Security page, conditionally rendering it based on CrowdSec status. - Created unit tests for the CrowdSecBouncerKeyDisplay component, covering various states including loading, registered/unregistered bouncer, and no key configured. - Added functional tests for the Security page to ensure proper rendering of the CrowdSec Bouncer Key Display based on the CrowdSec status. - Updated translation files to include new keys related to the bouncer API key functionality.
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ Control your security modules with a single click. The Security Dashboard provid
|
||||
|
||||
Protect your applications using behavior-based threat detection powered by a global community of security data. Bad actors get blocked automatically before they can cause harm.
|
||||
|
||||
→ [Learn More](features/crowdsec.md)
|
||||
→ [Learn More](features/crowdsec.md) • [Setup Guide](guides/crowdsec-setup.md)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user