

# GitHubResourceCapabilities
<a name="API_GitHubResourceCapabilities"></a>

The capabilities enabled for a GitHub resource integration.

## Contents
<a name="API_GitHubResourceCapabilities_Contents"></a>

 ** leaveComments **   <a name="securityagent-Type-GitHubResourceCapabilities-leaveComments"></a>
Indicates whether the integration can leave comments on pull requests.  
Type: Boolean  
Required: No

 ** remediateCode **   <a name="securityagent-Type-GitHubResourceCapabilities-remediateCode"></a>
Indicates whether the integration can create code remediation pull requests.  
Type: Boolean  
Required: No

 ** triggerFilterGroups **   <a name="securityagent-Type-GitHubResourceCapabilities-triggerFilterGroups"></a>
The filter groups that control which pull request events start an automatic code review when `leaveComments` is enabled. A review starts when any group matches. If you omit this, a review starts on `PULL_REQUEST_READY_FOR_REVIEW` events.  
Type: Array of [TriggerFilterGroup](API_TriggerFilterGroup.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Required: No

## See Also
<a name="API_GitHubResourceCapabilities_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/securityagent-2025-09-06/GitHubResourceCapabilities) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/GitHubResourceCapabilities) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/GitHubResourceCapabilities) 