Commit 38338a2
authored
guardrails and audit logs (#595)
## Add Enterprise Guardrails and Audit Logs Features
This PR adds two new enterprise features: Guardrails for content safety and security validation, and Audit Logs for comprehensive security event tracking. It also improves documentation for these features and makes minor UI adjustments to support them.
## Changes
- Added comprehensive documentation for Guardrails with support for AWS Bedrock, Azure Content Safety, and Patronus AI
- Added detailed documentation for Audit Logs with examples of configuration, querying, and SIEM integration
- Updated the sidebar to include new enterprise feature links
- Renamed "Teams & Customers" to "Users & Groups" for better clarity
- Added placeholder UI components for the new enterprise features
- Updated BifrostRequest documentation with clearer comments
- Updated Maxim Go dependency to v0.1.13
- Added provider logos for Azure, Bedrock, Mistral, and Patronus
## Type of change
- [x] Feature
- [x] Documentation
## Affected areas
- [x] Core (Go)
- [x] UI (Next.js)
- [x] Docs
## How to test
```sh
# Core
go version
go test ./...
# UI
cd ui
pnpm i
pnpm build
```
Navigate to the new enterprise features in the UI:
1. Check the sidebar for new "Guardrails" and "Audit Logs" links
2. Verify the placeholder UI components load correctly
3. Review the documentation for the new features
## Breaking changes
- [x] No
## Related issues
Implements enterprise feature roadmap items
## Security considerations
These features enhance security by providing content safety validation and comprehensive audit logging capabilities.
## Checklist
- [x] I added/updated tests where appropriate
- [x] I updated documentation where needed
- [x] I verified builds succeed (Go and UI)File tree
38 files changed
+1495
-62
lines changed- core/schemas
- docs
- enterprise
- plugins
- governance
- maxim
- transports
- bifrost-http/lib
- ui
- app
- _fallbacks/enterprise
- components
- adaptive-routing
- audit-logs
- cluster
- guardrails
- scim
- user-groups
- views
- lib/store
- apis
- slices
- audit-logs
- cluster
- guardrails
- user-groups
- views
- components
- lib
- store
- apis
- slices
- types
- public/images
38 files changed
+1495
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
0 commit comments