

# TestScope
<a name="API_TestScope"></a>

The category of application a pentest targets.

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

 ** type **   <a name="securityagent-Type-TestScope-type"></a>
The category of application under test.  
Type: String  
Valid Values: `WEB_APP | GENERATIVE_AI_APP`   
Required: Yes

## See Also
<a name="API_TestScope_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/TestScope) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/TestScope) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/TestScope) 