Skip to content

Support additional OpenAI-compatible providers for Lighthouse AI (e.g., DigitalOcean, GitHub) #8752

@marticardus

Description

@marticardus

New feature motivation

Currently, Lighthouse AI in Prowler is tied directly to the official OpenAI API.
However, multiple cloud providers (such as DigitalOcean and GitHub) now offer OpenAI models through their own platforms.

Supporting these alternative endpoints would:

  • Increase flexibility
  • Reduce vendor lock-in
  • Potentially lower costs depending on the provider chosen

Solution Proposed

Introduce a configurable option to specify:

  • The API base URL
  • Provider credentials

This would allow users to seamlessly switch between OpenAI’s official API and other providers that expose the same model interfaces (e.g., DigitalOcean, GitHub).

Implementation suggestion:

  • Use an environment variable or configuration file to define the provider endpoint.
  • Maintain full backward compatibility with the current default (official OpenAI).

Describe alternatives you've considered

  1. Forking the codebase to hardcode alternative API endpoints – not practical, as it would make upgrades and maintenance difficult.
  2. Proxying requests through a middleware service that rewrites calls from Lighthouse AI to the desired provider – adds unnecessary complexity and infrastructure overhead.
  3. Sticking only with OpenAI official API – limits flexibility and ignores the growing ecosystem of compatible providers.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature request for Prowler.plannedIssues that are in Prowler Roadmap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions