Far-reaching impact fixes or breaking change fixes
If the fix for the security vulnerability you are working on has a
far-reaching impact
or is a breaking change for valid good will use cases,
contact the AppSec team and determine if we can reclassify the security issue as a feature change.
If reclassified, this means the fix can be made in the regular gitlab-org/gitlab
repository instead of through the security process and allow a
controlled roll out.
If the fix for security vulnerability you are working can’t be reclassified as a feature change, then impact estimation must be performed and a mitigation plan must be developed prior to MR merge.
Estimating impact
Estimating impact varies case by case. Here are some techniques which should help you to get insights on possible impact of your fix:
- Number of API\page hits. Kibana logs is a good place to query that data.
- Number of users\groups\projects affected. #database-lab Slack channel is a good place to query that data.
- List groups with number of seats can also give insights on possible impact.
In cases where impact can’t be estimated with existing metrics additional logging\profiling must be introduced to help with estimation.
If significant good will usage (high usage and/or marquee customers) is found, a mitigation plan must be developed.
Mitigation plan
If the fix requires a mitigation plan, these next steps should be performed:
- Create a slack channel #mitigation-plan-GITLAB_ISSUE_ID with AppSec engineer, Release managers and a support manager
- Together investigate usage details and possible migrations for affected customers. Invite appropriate Technical Account Managers when needed.
- If the mitigation plan requires new functionality, the security fix can be delayed until an alternative is implemented.
- If migration to alternatives is possible, TAMs must confirm that their marquee users have migrated to the suggested alternative before the fix can be merged.
- Support Manager should post mitigation plan summary to security implementation issue with suggested alternative details and the list of respective DRIs for contact.
- Slack channel #mitigation-plan-GITLAB_ISSUE_ID can be archived 7 days after feature release.