systemprompt-api 0.3.0

Axum-based HTTP server and API gateway for systemprompt.io AI governance infrastructure. Exposes governed agents, MCP, A2A, and admin endpoints with rate limiting and RBAC.
Documentation
use async_trait::async_trait;

use super::{Finding, SafetyScanner};
use crate::services::gateway::models::AnthropicGatewayRequest;

#[derive(Debug, Clone, Copy, Default)]
pub struct NullScanner;

#[async_trait]
impl SafetyScanner for NullScanner {
    fn name(&self) -> &'static str {
        "null"
    }
    async fn scan_request(&self, _req: &AnthropicGatewayRequest) -> Vec<Finding> {
        Vec::new()
    }
    async fn scan_response_final(&self, _body: &[u8]) -> Vec<Finding> {
        Vec::new()
    }
}