[Backend] Enable SPP when SPP profile is attached

Enable Secret Push Protection (SPP) feature for projects that have a secret_detection profile attached to them.

Requirements

  • Modify SecretPushProtection::EligibilityChecker to handle SD profile
  • Ensure that projects without an SPP profile can still have SPP enabled through other means

Acceptance Criteria

  • Projects with attached SD profiles should have SPP feature enabled
  • SecretPushProtection::EligibilityChecker correctly identifies projects with SPP profiles
  • Projects without SPP profiles can still access SPP through existing methods
  • No regression in existing SPP functionality for projects without profiles

Description was generated using AI

Edited by Gal Katz