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:
GitHub Actions
2026-02-03 21:06:38 +00:00
parent 4cdefcb042
commit c9965bb45b
20 changed files with 3744 additions and 51 deletions

23
.vscode/tasks.json vendored
View File

@@ -543,6 +543,29 @@
"panel": "shared"
}
},
{
"label": "Utility: Update Grype Version",
"type": "shell",
"command": "curl -sSfL https://get.anchore.io/grype | sudo sh -s -- -b /usr/local/bin",
"group": "none",
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Utility: Update Syft Version",
"type": "shell",
"command": "curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin",
"group": "none",
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "shared"
}
}
],
"inputs": [
{