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
- Coordinate with fulfillment team to provision the official SSCS malware detection add-on
- Update the enum value in
ee/app/models/gitlab_subscriptions/add_on.rbwith the real add-on code provided by fulfillment - Update factory traits in
ee/spec/factories/gitlab_subscriptions/add_ons.rbandee/spec/factories/gitlab_subscriptions/add_on_purchases.rbif needed - Verify tests still pass with the production add-on configuration
- Update any documentation that references the temporary setup
Files to update
ee/app/models/gitlab_subscriptions/add_on.rb- Replace enum valueee/spec/factories/gitlab_subscriptions/add_ons.rb- Verify factory traitee/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
Related
- Parent issue: #587647
- Original MR: !228811 (merged)
Edited by 🤖 GitLab Bot 🤖