|
45 | 45 | AI_SUGGESTED_SOLUTION, |
46 | 46 | ALERTS_MEMBER_WRITE_DEFAULT, |
47 | 47 | ATTACHMENTS_ROLE_DEFAULT, |
| 48 | + AUTOFIX_ENABLED_DEFAULT, |
48 | 49 | DEBUG_FILES_ROLE_DEFAULT, |
49 | 50 | EVENTS_MEMBER_ADMIN_DEFAULT, |
50 | 51 | GITHUB_COMMENT_BOT_DEFAULT, |
|
192 | 193 | bool, |
193 | 194 | HIDE_AI_FEATURES_DEFAULT, |
194 | 195 | ), |
| 196 | + ( |
| 197 | + "autofixEnabled", |
| 198 | + "sentry:autofix_enabled", |
| 199 | + bool, |
| 200 | + AUTOFIX_ENABLED_DEFAULT, |
| 201 | + ), |
195 | 202 | ( |
196 | 203 | "githubPRBot", |
197 | 204 | "sentry:github_pr_bot", |
@@ -284,6 +291,7 @@ class OrganizationSerializer(BaseOrganizationSerializer): |
284 | 291 | isEarlyAdopter = serializers.BooleanField(required=False) |
285 | 292 | aiSuggestedSolution = serializers.BooleanField(required=False) |
286 | 293 | hideAiFeatures = serializers.BooleanField(required=False) |
| 294 | + autofixEnabled = serializers.BooleanField(required=False) |
287 | 295 | codecovAccess = serializers.BooleanField(required=False) |
288 | 296 | githubOpenPRBot = serializers.BooleanField(required=False) |
289 | 297 | githubNudgeInvite = serializers.BooleanField(required=False) |
@@ -673,6 +681,10 @@ class OrganizationDetailsPutSerializer(serializers.Serializer): |
673 | 681 | help_text="Specify `true` to hide AI features from the organization.", |
674 | 682 | required=False, |
675 | 683 | ) |
| 684 | + autofixEnabled = serializers.BooleanField( |
| 685 | + help_text="Specify `true` to enable Autofix for the organization.", |
| 686 | + required=False, |
| 687 | + ) |
676 | 688 | codecovAccess = serializers.BooleanField( |
677 | 689 | help_text="Specify `true` to enable Code Coverage Insights. This feature is only available for organizations on the Team plan and above. Learn more about Codecov [here](/product/codecov/).", |
678 | 690 | required=False, |
|
0 commit comments