Replace temporary sscs_malware_detection add-on enum with production add-on

Summary

Replace the temporary sscs_malware_detection: 8 enum value in GitlabSubscriptions::AddOn with the real add-on code once the fulfillment team provisions it.

Background

In !228811 (merged), a temporary add-on enum was added to enable development and testing of the malware detection feature:

# ee/app/models/gitlab_subscriptions/add_on.rb
enum name: {
  # ... other add-ons ...
  sscs_malware_detection: 8  # Temporary placeholder
}

This placeholder allows the feature to be developed and tested before the official add-on is provisioned by the fulfillment team.

What needs to be done

  1. Coordinate with fulfillment team to provision the official SSCS malware detection add-on
  2. Update the enum value in ee/app/models/gitlab_subscriptions/add_on.rb with the real add-on code provided by fulfillment
  3. Update factory traits in ee/spec/factories/gitlab_subscriptions/add_ons.rb and ee/spec/factories/gitlab_subscriptions/add_on_purchases.rb if needed
  4. Verify tests still pass with the production add-on configuration
  5. Update any documentation that references the temporary setup

Files to update

  • ee/app/models/gitlab_subscriptions/add_on.rb - Replace enum value
  • ee/spec/factories/gitlab_subscriptions/add_ons.rb - Verify factory trait
  • ee/spec/factories/gitlab_subscriptions/add_on_purchases.rb - Verify factory trait

Acceptance Criteria

  • Fulfillment team has provisioned the official SSCS malware detection add-on
  • Temporary enum value replaced with production add-on code
  • All tests pass with the production configuration
  • No references to "temporary" or "placeholder" remain in the code
Edited by 🤖 GitLab Bot 🤖