Topics in this domain
- Designing Physical Security Perimeters and Controlling Entry (Annex A 7.1–7.2)
- Securing Offices, Rooms and Facilities (Annex A 7.3)
- Physical Security Monitoring and Protection from Environmental Threats (Annex A 7.4–7.5)
- Working in Secure Areas and Applying Clear Desk/Clear Screen Rules (Annex A 7.6–7.7)
- Protecting Equipment On-Site and Off-Site (Annex A 7.8–7.9)
- Managing Storage Media Securely (Annex A 7.10)
- Protecting Supporting Utilities and Network Cabling (Annex A 7.11–7.12)
- Equipment Maintenance and Secure Reuse or Disposal (Annex A 7.13–7.14)
- Securing User Endpoint Devices (Annex A 8.1)
- Managing Privileged Access, Access Restrictions and Source-Code Access (Annex A 8.2–8.4)
- Implementing Secure Authentication (Annex A 8.5)
- Capacity Management and Protection Against Malware (Annex A 8.6–8.7)
- Managing Technical Vulnerabilities and Security Patching (Annex A 8.8)
- Configuration Management and Secure Baselines (Annex A 8.9)
- Information Deletion, Data Masking and Data Leakage Prevention (Annex A 8.10–8.12)
- Information Backup and Redundancy of Processing Facilities (Annex A 8.13–8.14)
- Logging, Monitoring and Clock Synchronization (Annex A 8.15–8.17)
- Controlling Privileged Utility Programs and Software Installation (Annex A 8.18–8.19)
- Network Security, Network Services and Network Segregation (Annex A 8.20–8.22)
- Web Filtering and the Use of Cryptography (Annex A 8.23–8.24)
- Applying a Secure Development Life Cycle (Annex A 8.25)
- Defining and Validating Application Security Requirements (Annex A 8.26)
- Secure System Architecture and Engineering Principles (Annex A 8.27)
- Security Architecture and Architecture Frameworks
- Secure Coding Practices (Annex A 8.28)
- Managing Security Risks in Outsourced Development (Annex A 8.30)
- Security Testing During Development and Acceptance (Annex A 8.29)
- Separating Development, Test and Production Environments (Annex A 8.31)
- Managing Changes to Information Systems (Annex A 8.32)
- Protecting Test Information and Systems During Audit Testing (Annex A 8.33–8.34)
- New Technologies and Information Security: Cloud, Big Data and AI
Security Testing During Development and Acceptance (Annex A 8.29)
Types of security testing
Testing shows whether security requirements were actually met. Annex A control 8.29 calls for security testing processes to be defined and implemented in the development life cycle. The diagram compares the main types of testing.
Static analysis finds coding flaws in source, on every commit or build. Dependency scanning finds vulnerable libraries, on every build. Dynamic testing finds flaws in the running application, in the test environment for each release. A penetration test shows what a skilled attacker can do, before major releases and yearly. Acceptance testing confirms security requirements are met, before go-live.
Testing against requirements
Testing should be driven by the approved security requirements, not just by generic scans:
- take the approved security requirements (8.26);
- turn them into test cases;
- automate tests in the pipeline;
- add expert testing for higher-risk systems;
- make the acceptance decision with the results.
The test environment should resemble production, but use masked or synthetic data rather than live sensitive data (8.33).
Acceptance criteria
Security belongs in acceptance criteria:
- all security requirements tested;
- no open critical or high findings;
- any exceptions accepted by the risk owner;
- configuration matching the baseline;
- results recorded.
Releasing with a known critical flaw to meet a deadline is a risk decision for the risk owner, recorded and time-limited, not a quiet choice by the project team.
How the exam asks about it
| If the question asks… | The answer is usually… |
|---|---|
| Control for security testing in development | 8.29 |
| What security testing tests against | The security requirements |
| Critical finding found before go-live | Fix it or get a formal risk decision |
| Test data for security testing | Not live sensitive data (8.33) |
In short
- Annex A 8.29 calls for security testing processes to be defined and implemented in the development life cycle.
- Test new systems, upgrades and new versions against their security requirements before acceptance.
- Combine automated testing (static, dependency, dynamic) with expert testing (penetration tests).
- Test in an environment that resembles production, without using live sensitive data.
- Acceptance criteria include security; failed security tests block go-live.
Exam traps
- Only functional testing before go-live.
- Penetration testing once a year while releasing weekly.
- Testing with copies of live personal data.
- Known security failures accepted to meet a deadline without a risk decision.
Check yourself
-
A new release fails its security tests just before launch. What should happen?
Failed security tests block acceptance. -
Which combination of testing is BEST?
Automated and expert testing find different issues. -
Which environment should security testing use?
Realistic but safe test environments.
Slides
Click the slide and use the arrow keys. F toggles full screen.
Turn your phone sideways for a bigger view. Tap any diagram to enlarge it.