Émile Ré fbdff595fe Fix CORS and CSRF for cookie banner POST /consents endpoint
The cookie banner's cross-origin POST was blocked by two layered issues:

1. The global cors.Handler (with OptionsPassthrough: false) intercepted
   OPTIONS preflights before the cookie banner's own CORS middleware
   could run. Customer website origins aren't in AllowedOrigins, so the
   preflight response had no CORS headers. Move the cookie banner mount
   outside the global CORS group since it handles CORS per-banner.

2. The CSRF bypass patterns used literal "*" instead of ServeMux wildcard
   syntax "{rest...}", so they never matched real request paths like
   POST /cookie-banner/v1/{bannerID}/consents. Also remove redundant
   GET/OPTIONS bypass patterns since safe methods are always allowed.

Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-22 11:34:49 +04:00
2026-04-15 16:42:56 +02:00
2025-04-09 21:19:53 -07:00
2025-11-25 11:29:54 +01:00
2026-04-21 18:51:34 +02:00
2026-04-21 18:51:34 +02:00
2025-12-24 08:46:21 +01:00
2026-04-21 11:38:52 +04:00
2026-03-13 16:55:23 +01:00
2026-04-15 16:42:56 +02:00
2026-04-21 18:51:34 +02:00
2025-01-13 12:56:14 +01:00
2026-04-02 17:58:35 +02:00
2026-04-20 12:11:17 +02:00
2026-04-20 12:11:17 +02:00
2025-04-10 21:04:27 -07:00
2025-01-10 16:31:34 +01:00
2025-12-26 17:33:03 +01:00

Probo - Open Source Compliance

Discord GitHub License GitHub Actions Workflow Status

Probo is an open-source compliance platform built for startups that helps you achieve SOC-2 compliance quickly and efficiently. Unlike traditional solutions, Probo is designed to be accessible, transparent, and community-driven.

🚀 Getting Started

📖 Official Documentation

Prerequisites

  • Go 1.21+
  • Node.js 22+
  • Docker
  • mkcert

Quick Start

  1. Clone the repository:

    git clone --recurse-submodules https://github.com/getprobo/probo.git
    cd probo
    
  2. Install dependencies:

    # Install Go dependencies
    go mod download
    
    # Install Node.js dependencies
    npm ci
    
  3. Start the development environment:

    # Start infrastructure services
    make stack-up
    
    # Build the project
    make build
    
    # Generate the local dev config (writes cfg/dev.yaml)
    make dev-config
    
    # Start the application using development settings
    bin/probod -cfg-file cfg/dev.yaml
    

The application will be available at:

Testing Custom Domains

To test the custom domains feature locally, add the CNAME target to your hosts file:

# Add this line to /etc/hosts (macOS/Linux) or C:\Windows\System32\drivers\etc\hosts (Windows)
127.0.0.1 custom.getprobo.com

This allows you to test custom trust center domains on your local machine. The generated cfg/dev.yaml sets the CNAME target via custom-domains.cname-target; change CUSTOM_DOMAINS_CNAME_TARGET before running make dev-config to override it.

For detailed setup instructions, see our Contributing Guide.

🏗️ Current Status

Probo is in early development, focusing on building a solid foundation for compliance management.

🛠️ Tech Stack

Backend

Frontend

Infrastructure

Observability

  • Grafana - Metrics visualization
  • Prometheus - Metrics collection
  • Loki - Log aggregation
  • Tempo - Distributed tracing

🤝 Contributing

We love contributions from our community! There are many ways to contribute:

  • 🌟 Star the repository to show your support
  • 🐛 Report bugs
  • 💡 Request features
  • 🔧 Submit pull requests
  • 📖 Improve documentation

Please read our Contributing Guide before making a pull request.

📚 Documentation

🌐 Community & Support

📄 License

Probo is MIT licensed.

Description
No description provided
Readme MIT 72 MiB
Languages
Go 67%
TypeScript 31.7%
Shell 0.5%
CSS 0.2%
Makefile 0.2%
Other 0.3%