

# Penetration testing concepts

AWS Continuum organizes penetration testing resources in a hierarchical structure that determines what's shared across your account and what's scoped per application. Understanding this structure helps you configure AWS Continuum effectively and know where to find and manage different resources.

## What's shared across your account
<a name="pt-concepts-shared"></a>

Some resources are configured once and apply across all of your environments. These resources provide consistency and reduce duplicate configuration work.


| Resource | What it is | Why it's shared | 
| --- | --- | --- | 
| Integrations | Connections to source providers, such as a GitHub organization or a GitLab group | You create an integration once, and then choose repositories from it in any environment. For more information, see [Integrations](integrations.md). | 
| Target domains | Domains that you own and have verified | You verify ownership of a domain once. Any environment can then use it as a target. For more information, see [Verifying target domains](pt-target-domains.md). | 

## What's scoped to an environment
<a name="pt-concepts-environment"></a>

Each environment represents a distinct application or project that you want to test. Resources at the environment level are scoped to that application, so that different teams can work independently with their own configurations and assessments.


| Resource | What it is | Why it's scoped per application | 
| --- | --- | --- | 
| Penetration tests | Test configurations for specific features, API endpoints, or functionality within your application | Each application has unique targets, authentication methods, and scope boundaries. | 
| Service role | The IAM role that AWS Continuum uses to access your resources | Each environment accesses only the resources that its application needs. | 
| Resources that tests can use | VPCs, subnets, and security groups; log groups; AWS Secrets Manager secrets and Lambda functions | Different applications rely on different resources. Choosing them at the environment level keeps application boundaries clear. | 
| Source code and documents | The repositories of the application, from your integrations, and Amazon S3 buckets that hold source archives, build artifacts, or application documents | Each application has its own code and documents. They give tests context, and the repositories are where AWS Continuum opens pull requests with proposed fixes. | 

**Tip**  
We recommend that you create one environment per application or project to maintain clear boundaries between teams and to organize security assessments effectively.

## How a penetration test works: configurations and runs
<a name="pt-concepts-lifecycle"></a>

Penetration tests use a configuration-and-run model that supports iterative security testing:
+ **Create once, run many times** – You define a configuration for a specific target, such as an API endpoint or a feature area. The configuration includes the scope boundaries, authentication, and test parameters. This configuration is the penetration test.
+ **Independent runs** – You start the same penetration test multiple times as you improve security. Each run generates its own findings.
+ **Findings** – A finding is a vulnerability that a run validated, with reproducible proof and a recommended fix. You can edit a finding, ask for a code fix, and revalidate it after you deploy a fix. A revalidation is its own run that retests selected findings without a full test.

This model supports continuous security validation as you develop and deploy improvements.

A run can also include a threat model run, which analyzes the source code of the test. For more information, see [Running a threat model for a penetration test](pt-threat-modeling.md).

## Terms
<a name="pt-concepts-terms"></a>

Penetration testing uses the following terms:

Environment  
A container for the target domains, AWS resources, and access settings that you use to test one application. For more information, see [Creating an environment](pt-getting-started.md#pt-getting-started-environment).

Target domain  
A domain that you own and verified. A penetration test can attack only the URLs under its verified target domains.

Penetration test  
The saved configuration that defines what to test, how to sign in, and which URLs the test can reach.

Run  
One execution of a penetration test. A run records the actions that AWS Continuum takes and the findings that it validates.

Finding  
A validated vulnerability, with its severity, proof, and recommended fix.