Scope and Rules of Engagement: What the Test Is Allowed to Do
The documents that authorize a security test and define its limits, and what they should contain.
What Is Scope and Rules of Engagement
The ROE is what makes a penetration test legal and safe. Testing systems without authorization is an offense in most jurisdictions, and testing without agreed limits risks outages and data exposure. NIST SP 800-115 includes a rules of engagement template as an appendix.
What the Document Should Cover
| Area | Contents |
|---|---|
| Authorization | Signed approval from someone with authority over the assets; third-party approvals for hosted and cloud assets where required |
| In scope | Domains, IP ranges, applications, APIs, environments, accounts |
| Out of scope | Assets, functions and techniques excluded (for example denial of service, social engineering, payment execution) |
| Timing | Test windows, blackout periods, time zones |
| Safety limits | Rate limits, non-destructive payload policy, data handling, cleanup obligations |
| Credentials and data | Test accounts per role and tenant, seeded data, how secrets are shared and revoked |
| Communication | Contacts on both sides, escalation path, emergency stop procedure, critical-finding notification |
| Evidence and reporting | Report format, retention of evidence, confidentiality |
Cloud and Third-Party Assets
Major cloud providers publish policies on what customers may test on their own resources without prior approval and which activities, such as denial of service, are prohibited. Third-party SaaS and hosted applications usually require the provider's permission. These constraints belong in the scope document.
Rules of Engagement for Continuous and AI Testing
For continuous and AI-driven testing, the ROE becomes configuration that is enforced on every run: allowed targets, prohibited actions, rate limits and stop conditions. Auditability of each action matters more when no human approves each step.
Sources and Standards
- NIST SP 800-115: Technical Guide to Information Security Testing and Assessment (Appendix B, Rules of Engagement template)
- AWS: Penetration Testing policy
- Microsoft: Penetration Testing Rules of Engagement
Frequently Asked Questions
What are rules of engagement in penetration testing?
The documented agreement that authorizes a test and defines its scope, permitted techniques, timing, safety limits and communication.
What should be out of scope in a penetration test?
Commonly denial of service, destructive actions, social engineering unless agreed, third-party assets without their permission, and functions that move real money or contact real customers.
Do I need permission to pentest my cloud resources?
Major cloud providers allow customers to test their own resources within published policies, with certain activities prohibited. Check the provider's current policy and record it in the scope.
Further Reading
- FireCompass Trust Center
- Guardrails Are Not a Safety Architecture
- Beyond Guardrails Key Takeaways on AI Model Safety, Agent Safety and Governance
Related Terms
Start With a Safe, Scoped Test
Run a free AI pentest with scope enforcement and non-destructive testing.
Free AI Pen TestNo credit card. Findings include reproducible steps and exploit code.
