Seems like a contradiction to talk about classical project management and the best agile software development methodology ?
But let me ask you this: ever feel like traditional project management is great for mapping out the big picture but falls short when it comes to the nitty-gritty of execution?
And conversely, while Scrum is fantastic for rapid iteration and delivering value quickly, it sometimes lacks that long-term strategic view?
If you feel this, then you’re not alone!
Yes, they can mix
Let’s talk about how to get the best of both worlds when managing projects: having a solid long-term plan and the flexibility to adapt and deliver quickly.
Sometimes it feels like traditional project management is great for the big picture but not so hot on the details, right?
And Scrum is awesome for getting stuff done in short bursts, but can sometimes lose sight of the overall direction.
Turns out, a lot of teams are finding a sweet spot by mixing these two. Think of it like having a good map for your road trip and a sturdy vehicle to handle any bumps along the way.
So, what does each approach bring to the party?
Classical Project Management: The Grand Plan
Imagine classical project management as your strategic guide. It’s all about figuring out the project’s scope, setting those long-term goals, marking important milestones, and creating a project plan.
We’re talking budget, resources, timeline – the whole thing.
It’s about answering the big questions:
What are we trying to do?
When does it need to be finished?
How much will it cost?
Who’s in charge of what?
This is great for having a clear vision and a roadmap. It helps everyone stay on the same page and lets you track progress.
The tricky part? Sometimes those detailed plans can go out of date pretty fast. Because things change, right?
Scrum: Getting Things Done
Now, Scrum is your agile friend. It’s built for doing things in short bursts, perfect for navigating the twists and turns of, well, pretty much any project.
You break the project into smaller chunks – sprints – usually 2 weeks long. Each sprint has specific goals, and the team works together to deliver something useful by the end.
Scrum is all about talking to each other a lot, having quick daily meetings, and checking in regularly. It’s about being flexible and delivering value bit by bit.
Scrum is great at handling feedback, adding new stuff, and showing real results quickly.
The thing is, on its own, Scrum might need that long-term direction that classical project management provides.
The Perfect Mix: Working Together, Delivering Fast
The magic happens when you put these two together:
You use classical project management to set the long-term vision, make the initial plan, and decide where you’re going. This gives you a good map.
Use Scrum to actually get there, one sprint at a time. Scrum becomes your engine for delivering value along the route laid out by classical project management.
Here’s a simple way to think about it:
Big Picture: Classical project management sets the overall project scope, goals, and timeline. Everyone knows what the target is.
Breaking it Down: The project gets broken down into smaller pieces, often using the classical project management approach. This makes the work manageable.
Sprint Time: The Scrum team takes a chunk of work and plans it out for a sprint. They figure out what they can realistically do in that time.
Daily Check-ins: The team has quick daily meetings to talk about progress, any problems, and adjust as needed. Keeps everyone in sync.
Show and Tell: At the end of each sprint, the team shows what they’ve built and gets feedback. This feedback helps plan future sprints.
Getting Better: Regular team meetings let everyone think about how they’re working and find ways to improve.
So, by mixing classical project management and Scrum, you get the best of both worlds. You have a clear long-term plan and the flexibility to adapt and deliver quickly. It’s a great way to work together, deliver fast, and make sure projects stay on track while being able to handle whatever comes up.
Understanding ROPA and DPIA: Key GDPR Concepts for Tech Companies
Podcast of this article:
Let’s explore two essential components of GDPR compliance: Records of Processing Activities (ROPA) and Data Protection Impact Assessments (DPIA).
ROPA provides a comprehensive overview of your data handling, while DPIA focuses on assessing and mitigating risks for specific, higher-risk activities.
Records of Processing Activities (ROPA): Your Company’s Data Map
Think of ROPA as your company’s data map. It documents every step of the data journey, from collection to deletion.
It’s about what data you collect, including why, how, and with whom you share it.
A well-maintained ROPA is crucial for demonstrating GDPR compliance and building trust with your users.
What ROPA Covers
Purposes of Processing: Be specific! Instead of “marketing,” say “personalized email marketing based on user browsing history” or “improving product recommendations based on user purchase data.”
Categories of Data Subjects: Identify who the data relates to (e.g., customers, employees, website visitors, app users).
Categories of Personal Data: List the types of data you process (e.g., name, email address, IP address, location data, browsing history, biometric data).
Recipients of Personal Data: Specify who you share data with (e.g., cloud storage providers, marketing agencies, analytics platforms, law enforcement). Include both internal and external recipients.
Transfers to Third Countries: If you transfer data outside the EU, document the safeguards in place (e.g., adequacy decisions, standard contractual clauses).
Data Retention Periods: Specify how long you keep different types of data. This should be based on legal requirements and business needs.
Technical and Organizational Security Measures: Briefly describe the security measures you have in place to protect the data (e.g., encryption, access controls, data masking).
ROPA Examples for Tech Companies
Social Media Platform: A social media platform’s ROPA would detail processing activities related to user profiles, posts, photos, friend connections, messaging, targeted advertising, and data analytics. It would specify data categories (e.g., profile information, IP address, location data, browsing history), purposes (e.g., personalized content delivery, targeted advertising, platform improvement), and recipients (e.g., advertising partners, analytics providers).
SaaS Provider: A SaaS provider’s ROPA would document processing related to user account management, data storage, application usage tracking, customer support interactions, and billing. It would include details about data categories (e.g., user credentials, company data, usage logs), purposes (e.g., providing the service, improving performance, customer support), and recipients (e.g., cloud hosting providers, payment processors).
Mobile App Developer: A mobile app developer’s ROPA would cover data processing within the app, such as collecting user location data for personalized recommendations, accessing contacts for social features, or tracking in-app purchases. It would detail the data categories (e.g., location, contacts, purchase history), purposes (e.g., personalized recommendations, social features, in-app advertising), and recipients (e.g., location services providers, advertising networks).
Data Protection Impact Assessments (DPIA): Proactive Risk Management
A DPIA is a more in-depth analysis triggered by specific processing activities that pose a high risk to individuals.
With the DPIA you’re identifying risks, and also finding ways to mitigate them and demonstrating that you’ve considered data protection all the way.
What DPIA Covers
Description of the Processing Operations: Clearly explain the planned processing, including the purposes, data categories, and processing methods.
Necessity and Proportionality: Justify why the processing is necessary and proportionate to the intended purpose. Are there less intrusive ways to achieve the same goal?
Assessment of Risks to Individuals: Identify potential risks to individuals’ rights and freedoms, such as identity theft, discrimination, loss of control over their data, or reputational damage. Consider the likelihood and severity of these risks.
Measures to Address the Risks: Describe the measures you will implement to mitigate the identified risks. This might include technical measures (e.g., encryption, anonymization), organizational measures (e.g., access controls, data minimization policies), and legal measures (e.g., data processing agreements).
Consultation with Data Protection Authorities (DPA): In some cases, you may need to consult with your local DPA before carrying out high-risk processing.
DPIA Examples for Tech Companies
Facial Recognition Software: A company developing facial recognition software for security purposes would need a DPIA. The DPIA would assess risks related to accuracy, bias, potential for misuse, and impact on individuals’ privacy and freedom of movement. Mitigation measures might include strict access controls, data anonymization techniques, and clear guidelines for use.
AI-Powered Recommendation Engine: A company launching a new AI-powered personalized recommendation engine that analyzes large volumes of user data would require a DPIA. The DPIA would analyze the risks of profiling, discrimination, and loss of privacy. Mitigation measures could include data minimization, differential privacy techniques, and user consent mechanisms.
Biometric Authentication: A company implementing large-scale biometric authentication for access control would need a DPIA. The DPIA would evaluate the risks of data breaches, identity theft, and potential misuse of biometric data. Mitigation measures could include secure storage of biometric data, multi-factor authentication, and strict access controls.
ROPA and DPIA: Similarities and Differences
ROPA and DPIA are like two sides of the same coin – both essential for responsible data handling under GDPR. They work together to ensure your data processing is transparent, accountable, and respects individuals’ privacy.
Similarities
GDPR Compliance:
Both ROPA and DPIA are mandated by the GDPR (Articles 30 and 35, respectively).
They’re not optional; they’re legal requirements for many organizations.
Focus on Data Protection:
At their core, both aim to protect individuals’ rights and freedoms related to their personal data.
They promote a privacy-first approach to data processing.
Documentation is Key:
Both require thorough documentation.
ROPA is the documented record of your processing activities, and DPIA results in a documented risk assessment report.
Good record-keeping is crucial for demonstrating compliance.
Accountability:
Both contribute to demonstrating accountability.
By maintaining a ROPA and conducting DPIAs, you show that you’re taking data protection seriously and actively managing risks.
Differences
Scope:
ROPA covers all your data processing activities,
DPIA focuses on specific, high-risk processing activities.
Think of ROPA as the big picture and DPIA as a focused close-up.
Purpose:
ROPA’s primary purpose is to document and provide transparency about all your data processing.
DPIA’s main goal is to assess and mitigate the risks of particular processing activities that are likely to be high-risk.
Requirement:
ROPA is a general requirement for most organizations (especially those with over 250 employees or those processing sensitive data).
DPIA is only required when processing activities are likely to result in a high risk to individuals’ rights and freedoms. It’s triggered by specific circumstances.
Outcome:
ROPA produces a comprehensive record of your processing activities.
DPIA results in a risk assessment report outlining potential risks and the measures you’ll take to mitigate them.
One is a detailed inventory, the other a focused risk analysis.
Timing:
ROPA is an ongoing requirement – you need to keep it updated as your processing activities change.
DPIA is conducted for specific projects or plans before they are implemented. It is a point-in-time assessment.
In a nutshell:
ROPA is your ongoing data processing inventory, demonstrating your overall approach to data protection.
DPIA is a targeted risk assessment for specific, potentially high-risk projects, ensuring you’ve considered and addressed privacy concerns before they become a problem.
Both are essential tools in your GDPR compliance toolkit.
I think the entire software development world saw NVIDIA’s CEO saying that the world will stop needing software developers, because they will be replaced by AI.
Well, considering that this comes from the guy who sells the core on which AI is built, is understandable.
But is there any truth to this? Let’s look at some Strengths and Weaknesses of AI in the field of software development, with focus on secure software development.
The Strengths of AI in Software Development
AI excels in automating repetitive tasks and processing vast amounts of data quickly. For example, AI-driven tools can:
Identify common vulnerabilities such as SQL injection or cross-site scripting (XSS) using pattern recognition.
Suggest code refactoring for improved efficiency or readability.
Provide automated testing and validation for specific use cases.
Generate code snippets that can speed up development, allowing developers to focus on complex, high-level tasks instead of repetitive tasks.
Perform static and dynamic code analysis faster than manual reviews, identifying potential issues across large codebases in a fraction of the time.
Offer predictive insights by analyzing historical data to anticipate possible security breaches or performance bottlenecks.
Facilitate compliance checks by mapping code against security standards and regulatory requirements.
These capabilities make AI invaluable for enhancing productivity and reducing the burden of mundane tasks. However, AI has limitations that highlight the irreplaceable role of skilled developers.
The Weaknesses of AI in Secure Software Development
Lack of context understanding
AI tools often struggle to grasp the context of a software system. Security vulnerabilities often stem from contextual issues, such as improper assumptions about user behavior or architectural flaws.
Developers use their domain knowledge and intuition to identify these issues—something AI cannot replicate.
Overreliance on patterns
AI relies heavily on training data and pattern recognition. This approach can lead to false positives (flagging issues that aren’t real) and false negatives (missing actual vulnerabilities).
Developers, on the other hand, use critical thinking to assess risks and prioritize fixes.
Lack of creative problem-solving
Secure software development often requires innovative solutions to unique problems.
AI lacks the creativity and adaptability of humans, limiting its ability to design custom security measures.
Ethical and legal implications
AI cannot make ethical decisions or assess the broader implications of its suggestions.
Developers with security expertise consider regulatory compliance, ethical concerns, and long-term impact when designing secure systems.
Lack of continuous growth
Unlike developers, whose experience grows continuously through exposure to new challenges, AI systems remain static unless explicitly retrained.
Developers improve their skills, adapt to emerging threats, and learn from past experiences, ensuring they stay ahead of evolving security risks.
Limited problem-solving scope
AI knows only what it was trained with. This limitation means it struggles to address new or unconventional problems that fall outside its training data.
Developers, by contrast, use their ingenuity and evolving expertise to find innovative solutions to emerging threats and challenges.
Examples of AI Mistakes
Here are some scenarios where AI is not mature enough, and developers with security skills excel:
Misidentifying Threats: An AI tool might flag a harmless API endpoint as a potential security risk due to pattern similarity, while missing a nuanced logic flaw that allows privilege escalation.
Overlooking Complex Dependencies: AI might fail to account for security risks in intricate dependency chains or third-party integrations, where a developer’s experience would highlight potential issues.
Generic Recommendations: AI might suggest generic fixes that do not align with the specific architecture or threat model of the application, whereas developers tailor solutions to the system’s needs.
Failing to Detect Zero-Day Vulnerabilities: AI cannot identify vulnerabilities that do not have a pre-existing pattern in its training data. Developers’ intuition and expertise are critical for detecting these novel threats.
Incorrectly Prioritizing Vulnerabilities: AI might prioritize fixing minor issues over addressing critical risks, leading to inefficient resource allocation. Developers can apply risk-based decision-making to prioritize effectively.
Overlooking Business Logic Flaws: AI often fails to detect flaws in the business logic that attackers can exploit. These vulnerabilities require a deep understanding of the application’s purpose and workflows, which developers possess.
Inappropriate Code Suggestions: AI-generated code snippets may inadvertently introduce vulnerabilities or fail to comply with specific security policies. Developers review and adapt these snippets to ensure secure integration.
Old or obsolete training data: AI recommends very often snippets of code based on old APIs, which might no longer exist by the time it is asked to generate some code. Developers will look always at the latest documentation of the API they need.
Instead of conclusions
AI is a powerful tool that enhances the capabilities of developers but, as can be seen above, it does not replace them. At least for a long while …
The ideal approach is a collaborative one, where AI handles repetitive tasks and provides data-driven insights, allowing developers to focus on high-level problem-solving and decision-making.
Organizations should invest in both AI tools and the continuous development of their teams’ security skills.
This balanced approach ensures that the software remains secure, reliable, and resilient against threats.
My company develops security products for all major operating systems. We work with startups and with big companies, all striving to develop features (functional and non-functional) as fast and as good as possible.
While on the first view this seems like a contradiction, there are actually ways of implementing exactly this.
For security software development teams aiming to deliver features more frequently, streamlined processes and efficient workflows are essential.
You guessed, the keywords are agile methods with the related activities such as automated testing, strategic prioritization, agile delivery, efficient workflows, regular and early feedback.
Below are several approaches that emphasize frequent and reliable delivery.
Define requirements with speed in mind
Clear, concise requirements set a strong foundation for quick delivery. Ensuring each feature has straightforward objectives and well-defined acceptance criteria reduces delays caused by back-and-forth clarifications. For security-focused teams, requirements should include key security considerations without overloading the development process. By clarifying expectations from the start, developers can stay on track, avoiding unnecessary revisions and accelerating overall delivery. This being said, also do not change the direction too often (called Pivoting). If you don’t allow feature to “sit”, the product will never reach maturity.
Setup incremental, agile delivery
Breaking down feature development into small, manageable increments supports faster delivery. Rather than waiting for a full release, an incremental approach allows developers to deliver small updates frequently. This Agile-inspired method brings quick wins, shortens feedback cycles, and lets teams adjust direction as needed based on real-world usage. Incremental delivery ensures that new functionality reaches users sooner, making the product more responsive to changing needs.
Optimize for efficiency
Security doesn’t have to slow down delivery. By embedding secure coding practices into the team’s daily workflows, developers can build security right into each feature rather than adding it at the end. Code reviews focused on security can be streamlined with checklists or automated tools, keeping the process efficient. This “security-first” mindset ensures that features remain secure while minimizing delays, as there’s no need for last-minute security fixes.
Invest in CI/CD
Automated testing is key to quick, reliable feature deployment. Automated tests that cover basic functionality and security requirements provide instant feedback, allowing developers to identify and address issues faster. Implementing continuous integration (CI) tools that automatically trigger these tests during development helps the team validate new features on the go. By automating tests, the team gains more time for development and can release updates with minimal manual intervention.
Integrating DevSecOps practices into the development pipeline enables seamless security without slowing down delivery. Automated security checks within the CI/CD pipeline provide fast, reliable security validations, allowing developers to address issues before deployment. This approach keeps the pipeline moving smoothly, as security checks become an integrated part of the process, rather than an additional step that slows down delivery.
Encourage collaborative and efficient workflow
Encourage open communication between developers, security teams, and testers to streamline workflows. Collaborative sessions for discussing roadblocks or coordinating on shared goals help prevent bottlenecks. An open environment where team members share updates and resolve issues collectively accelerates progress by addressing concerns in real time. By emphasizing collaboration, teams can work faster, catching potential blockers early and adapting quickly to new requirements.
Use regular retrospectives to identify and remove delivery obstacles
Post-release retrospectives focused on delivery efficiency help identify and eliminate roadblocks. By analyzing each release or sprint for delays and other issues, teams can identify specific pain points in the development or deployment process. These retrospective sessions allow the team to adjust practices and improve their ability to deliver quickly, refining the workflow with each iteration.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 11:13:192026-11-30 11:13:19Accelerating feature delivery in software development
In the previous article, we explored how Scrum enables teams to add security to the backlog and prioritize it based on risk.
Incorporating security into the SDLC ensures that security is not an afterthought but an integral part of the development process.
Security User Stories are specific, actionable items that articulate the security needs of the software in the same way functional requirements are handled.
Writing Security User Stories complements this process by providing clear, actionable security requirements that can be integrated into each sprint.
By treating security stories with the same importance as functional stories, developers can ensure that the software they build is not only feature-complete but also secure.
What are Security User Stories?
Security User Stories are descriptions of security requirements written from the perspective of the user or the system. They focus on specific security needs, ensuring that the software not only meets functional requirements but also protects against potential vulnerabilities. Just like traditional user stories that describe a feature or function, security stories express how the system should behave securely.
A typical Security User Story follows the same format as a regular user story:
As a [role], I want [goal], so that [benefit].
For example, a Security User Story for web development might look like this:
“As a user, I want my session to expire after 15 minutes of inactivity, so that my account is protected from unauthorized access.”
Why are Security User Stories Needed?
Security is often treated as an afterthought, addressed late in the development process or after an incident occurs. This reactive approach leads to vulnerabilities, increased technical debt, and costly security fixes post-release. Security User Stories shift this paradigm by making security an integral part of the development process from the outset. They are necessary for several reasons:
Proactive Security Integration: By incorporating security needs into the backlog from the start, you ensure that security considerations are addressed in each sprint, reducing the risk of vulnerabilities later on.
Clear Requirements for Developers: Security User Stories provide clear, actionable security requirements, helping developers understand exactly what is expected to make the software secure.
Accountability: Writing security stories holds the development team accountable for implementing security features and allows for better tracking of security tasks within the development cycle.
Risk Mitigation: When security is considered early in the SDLC, potential security issues are identified and addressed before they become significant risks. This aligns with the concept of “Shift Left” security, where security is integrated into earlier stages of the development process.
How to Use Security User Stories
Security User Stories should be written as part of the Product Backlog and prioritized based on the level of risk or impact. Here’s how to use them effectively:
Collaboration with Security Experts: Work with security professionals to identify potential threats and risks specific to the application or platform. They can help create and refine security user stories based on threat modeling and vulnerability assessments.
Define Acceptance Criteria: Each Security User Story should have clear, testable acceptance criteria. These criteria define when the story is considered complete and what tests should be performed to verify the security requirement has been met.
Prioritize Based on Risk: Security User Stories should be prioritized just like functional features, based on their importance. Stories that address high-risk vulnerabilities, such as authentication or encryption, should be prioritized early in the development cycle.
Regular Review and Updates: Security is an evolving field. As new threats emerge, Security User Stories should be reviewed and updated to address the latest vulnerabilities. Regular threat assessments help ensure the backlog remains current.
Examples of Security User Stories Across Different Platforms
1. Web Application Development
Web applications face numerous security threats, from SQL injection to Cross-Site Scripting (XSS). Below are examples of Security User Stories that address common web application security issues:
“As a user, I want my password to be stored securely using a strong hashing algorithm like bcrypt, so that my account is protected from unauthorized access.”
“As a system, I want to validate all user inputs server-side to prevent injection attacks.”
“As a system, I must use HTTPS for all data transmitted between the client and the server, to ensure data confidentiality.”
“As a user, I want to be logged out after 15 minutes of inactivity, so that my session cannot be hijacked.”
2. Windows Software Development
Windows software may face risks such as privilege escalation or malicious code execution. Security User Stories for Windows development could include:
“As a user, I want my application to run with the minimum necessary privileges, so that the system is protected from privilege escalation attacks.”
“As a system administrator, I want all logs to be stored securely and be tamper-proof, so that I can audit user activities reliably.”
“As a developer, I want the application to verify all digital signatures before executing code, to ensure the code has not been tampered with.”
“As a system, I want to enforce Data Execution Prevention (DEP) to prevent malicious code from executing in the memory.”
3. Android App Development
Mobile applications, particularly Android apps, face unique security challenges, such as improper storage of sensitive information and unauthorized access to device features. Examples of Android-related Security User Stories include:
“As a user, I want my sensitive data (e.g., passwords, payment information) to be encrypted using the Android Keystore system, so that my data is safe even if the device is compromised.”
“As a developer, I want the app to request only the necessary permissions, so that the user’s privacy is respected.”
“As a user, I want to be required to authenticate using biometrics before making sensitive changes, such as resetting my password, to ensure the security of my account.”
“As a system, I want to securely store session tokens and prevent them from being accessible via insecure storage mechanisms (e.g., SharedPreferences).”
4. iOS App Development
iOS apps must adhere to strict privacy and security guidelines, and improper handling of user data can lead to severe breaches. Below are Security User Stories specific to iOS development:
“As a user, I want all sensitive information (e.g., authentication tokens) to be stored in the iOS Keychain, so that my data is protected from unauthorized access.”
“As a system, I want to ensure that network communication is secured using TLS 1.2 or above, to protect against man-in-the-middle attacks.”
“As a user, I want to enable Face ID for sensitive transactions (e.g., payments), to ensure that unauthorized users cannot perform critical actions.”
“As a developer, I want to implement App Transport Security (ATS) to ensure all connections are encrypted.”
Conclusion
Security User Stories are a powerful tool for developers to integrate security into their development process. By writing clear, actionable stories with defined acceptance criteria, development teams can proactively address security risks while ensuring that they meet functional requirements.
Whether you’re building a web app, Windows software, or mobile applications for Android or iOS, incorporating Security User Stories into the backlog ensures that security remains a priority throughout the SDLC.
With this approach, developers can create secure, reliable software that meets the needs of both the business and the users.
Traditional development methodologies, such as the Waterfall model, struggle to keep up with the need for quick iterations, frequent releases, and adaptability to changing requirements.
Agile software development addresses these challenges by emphasizing flexibility, collaboration, and continuous delivery. Agile methodologies break down the development process into smaller, manageable chunks, allowing teams to rapidly deliver working software while remaining responsive to feedback and changes.
Among the various Agile frameworks, Scrum stands out as one of the most widely adopted and effective methods for managing software development. It provides a simple, yet powerful framework, that helps teams continuously deliver high-quality products, adapt to dynamic customer needs.
Using Scrum for software development
Scrum is a lightweight agile framework designed to manage complex product development through iterative and incremental processes. It focuses on delivering working software in short cycles known as Sprints and emphasizes collaboration, accountability, and continuous improvement. This structure makes Scrum particularly well-suited for dynamic environments like software development, where requirements often change throughout the project lifecycle.
Scrum offers several key advantages that make it ideal for software development:
Rapid Iteration and Feedback: Scrum’s short sprints allow teams to deliver working software frequently, which gives stakeholders the chance to review progress, provide feedback, and make necessary adjustments after each sprint.
Adaptability to Change: In Scrum, the Product Backlog is continuously updated and reprioritized, enabling teams to adapt to changing business needs or customer demands without disrupting the overall workflow.
Focus on Delivering Value: Scrum emphasizes delivering the highest business value early by prioritizing the most critical features. This ensures that the product development effort aligns with the business objectives.
Cross-Functional Teams and Collaboration: Scrum fosters collaboration between cross-functional teams, which enables them to tackle complex problems and deliver complete product increments without relying on external resources.
Simplicity and Structure: Scrum’s structured roles, artifacts, and ceremonies create a clear framework for managing work, making it easier for teams to stay organized, focused, and accountable.
With these features, Scrum empowers software development teams to build high-quality products faster and with greater alignment to customer needs. The framework’s flexibility and focus on delivering continuous value make it the ideal choice for modern software development.
Non-Functional features in Scrum
Non-functional features, or non-functional requirements (NFRs), refer to critical system attributes like security, usability, and resource consumption that ensure the software performs optimally and meets quality standards. Unlike functional features, which are visible to users, non-functional features define how the system behaves under specific conditions and are essential to the system’s overall success.
Examples of Non-Functional Features
Security: Protecting the system from unauthorized access and vulnerabilities.
Usability: Ensuring that the system is user-friendly and easy to navigate.
Resource Consumption: Optimizing the system’s use of resources, such as memory, CPU, and bandwidth, to ensure efficient operation.
Though non-functional features are not always visible to users, they are crucial to the long-term stability and security of the product. Managing these features properly within the Scrum process is essential to ensure the product meets both user and business expectations.
Incorporating Non-Functional Features in the Scrum Backlog
Non-functional features can be added to the Product Backlog similarly to functional ones, ensuring that they are prioritized, addressed, and tested throughout the development cycle.
Here’s how:
Create explicit user stories for non-functional features
Define clear user stories for non-functional aspects like security or performance. For instance:
“As a user, I want my personal data to be encrypted, ensuring my privacy and security.”
“As a system administrator, I want the application to scale seamlessly for up to 10,000 concurrent users.”
For security in particular, these user stories are usually called “security user stories”.
Prioritize based on business impact
Work with stakeholders and the Product Owner to prioritize non-functional features that have the greatest impact on the system’s overall performance and security.
Define Acceptance Criteria Ensure that non-functional user stories include measurable acceptance criteria, such as performance benchmarks or security requirements, so they can be properly tested.
Integrate NFRs into the Definition of Done Non-functional features should be part of the team’s Definition of Done (DoD), ensuring that each sprint delivers not only functional but also secure, performant, and stable increments.
Define a certain ratio between functional and non-functional requirements in the backlog Ensure that the non-functional user stories like security user stories have always a reserved space in the backlog. For example, you can have 60% functional u.s., 20% non-functional u.s., 20% bug fixes u.s.
Security in Software Development
Security is one of the most critical non-functional features in software development. It involves protecting systems, data, and users from potential cyber threats and vulnerabilities.
As software becomes more complex, the attack surface increases, making robust security measures essential.
Failing to integrate security into the development process can lead to severe consequences such as data breaches, loss of customer trust, and regulatory penalties.
The challenge of adding security user stories to the backlog
One of the main challenges of integrating security into the Scrum backlog is that security requirements are often non-functional and may not be directly tied to a specific feature.
Security is also a broad area, encompassing various elements (authentication, encryption, vulnerability management), which can make it difficult for the Product Owner to prioritize and create detailed security user stories.
Another challenge is balancing security tasks with feature development. Development teams (especially the product owner) may be tempted to focus on customer-facing features, leaving security tasks to the end, which increases the risk of vulnerabilities slipping through.
How to add security to the Scrum backlog
1. Create security user stories
Translate security requirements into actionable user stories that fit into the Scrum process. These stories should describe the security needs from a user’s perspective. Examples include:
“As a user, I want my password to be hashed and stored securely, ensuring the safety of my account.”
“As a system administrator, I want the application to implement multi-factor authentication for increased security.”
By creating security user stories, the development team can directly address specific security needs in each sprint.
2. Prioritize security based on risk
Work with security experts and stakeholders to prioritize security tasks based on the potential risk they mitigate. Security stories that address high-risk areas, such as vulnerabilities in authentication or data handling, should be prioritized over less critical tasks.
3. Define clear acceptance criteria for security stories
Ensure that each security user story has measurable acceptance criteria. These criteria should be specific and testable, such as:
“Passwords must be hashed using a minimum of SHA-256 encryption.”
“The system must reject any user input that contains SQL injection attempts.”
Clear acceptance criteria help the development team understand what is required to achieve “done” for a security story.
4. Integrate security into the Definition of Done
Security tasks should be part of the Definition of Done for every sprint. This ensures that security checks, such as code reviews and penetration testing, are performed before a feature is considered complete. By making security a core part of the development process, teams can prevent security from being treated as an afterthought.
5. Conduct Security Spikes
If security requirements are complex, consider using spikes to explore potential solutions or gather more information. For example, a spike could involve researching encryption libraries or conducting a security audit to identify vulnerabilities. Spikes help teams plan and implement security features more effectively in future sprints.
6. Regularly Review and Update Security Stories
As security threats evolve, new vulnerabilities may emerge that need to be addressed. Regularly review and update the backlog to ensure that the most current security threats are covered. This could involve adding new security stories or reprioritizing existing ones based on changing risk assessments.
7. Define a fixed ratio for security user stories
As mentioned above for non-functional requirements, it is usually a very good practice to have fixed percentages of non-functional user stories. Since security user stories are non-functional user stories, you can enforce this way that security topics don’t get forgotten.
Conclusions
Agile development provides the flexibility and adaptability needed to keep up with today’s dynamic software environments, and Scrum stands out as probably the best framework for delivering software quickly while ensuring continuous feedback and improvement.
By incorporating both functional and non-functional features into the Scrum backlog, teams can ensure that they are delivering a product that is not only feature-rich but also secure, performant, and user-friendly.
Security, in particular, is an essential non-functional requirement that must be treated as a priority throughout the development lifecycle. By integrating security user stories into the backlog, prioritizing based on risk, and ensuring security is part of the Definition of Done, software development teams can create resilient, secure systems without sacrificing agility or speed.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 11:13:112026-11-30 11:13:11Delivering secure software in an agile way
This is part 3 of 5 in the Agentic Scrum series. Part 2 covered value.md and requirements.md, the two files that humans write.
This part follows them into the first agent steps, the specification agent and the coding loop. Part 4 deals with testing.
Once requirements.md is approved, the Specification Agent takes over. Its job is to translate requirements written for people into instructions written for a coding agent.
Those are different audiences. People forgive vagueness and fill gaps from context. A Coding Agent fills gaps too, but it does so confidently and in a direction you did not choose.
What the Specification Agent reads and writes
The agent reads value.md, requirements.md, AGENTS.md and the parts of the codebase the feature touches. It writes agent-spec.md and a first handover.
It does not write feature code. The spec is the contract between the human decisions upstream and the machine work downstream, so it has a fixed structure.
# Invoice export: agent specification
--
## Goal
Let a signed-in user export all invoices of a chosen period in one action.
## Read first
specs/042-invoice-export/requirements.md
guardrails/coding.md
guardrails/limits.md
src/invoices/ (the existing invoice service client)
## Requirements covered
R1, R2, R3, N1, N2, N3, F1, F2, F3
## Tasks, in order
1. Add an export service that reads invoices through the existing client.
2. Add the two format writers behind one interface.
3. Add the export endpoint and wire up access logging.
## Interfaces and contracts
Endpoint: GET /exports/invoices with the parameters from, to and format.
Success: the user downloads a file.
Empty period: the response states that no invoices were found, no file is created.
## Constraints
Follow guardrails/coding.md. No new dependencies. No new tables.
## Definition of done
Build passes. Lint passes. The existing test suite passes.
## Out of scope
Scheduled exports. Any other format.
## Stop and ask when
A requirement contradicts existing code behavior.
A task needs changes outside src/invoices/ and src/exports/.
—
Every section has a job.
“Read first” tells the agent which context to load instead of letting it wander through the repository.
“Requirements covered” carries the IDs from Part 2, so Part 4 can trace tests back to them.
“Tasks, in order” keeps each step small enough to fit the diff limit in limits.md.
“Definition of done” has to be commands a machine can run, not adjectives.
“Stop and ask when” turns uncertainty into a break in the loop instead of a guess.
Sounds familiar? This works with any SDLC around, especially with the one I have been using and writing about.
How developers validate a spec
Developers review the spec in a pull request on the specs folder, and this is the step that takes the place of code review in this model.
It is shorter and more valuable than reading a diff, because a mistake in a spec costs one sentence to fix and a mistake in code costs a feature.
Reading a spec takes ten minutes. Reading a diff from an agent that burnt a few hundred thousand tokens in the morning takes an afternoon or more.
I ask reviewers to look for five things. Ambiguous words like “appropriate” and “fast”. Assumptions the spec does not state. Failure modes from requirements.md that no task covers. Tasks too big to review as one change. And a definition of done that a machine cannot check. When any of these shows up, the review does not patch the spec by hand. It goes back to the specification agent with the comment, and the spec gets regenerated.
AGENTS.md and the guardrail files
AGENTS.md sits at the repository root and gives every agent the same orientation. A project map, how to build and check, the conventions, and the few non-negotiables.
Keep it under a page. Every agent loads it on every task, so every extra paragraph costs context each time. The commands below are placeholders, so swap in your own.
# AGENTS.md
--
## Project map
src/ application code. tests/ test code.
specs/ specifications. guardrails/ rules for agents.
## Build and check
Build: make build
Lint: make lint
Existing tests: make test
## Conventions
Follow the structure of the module you are changing.
Prefer the existing client libraries over new ones.
## Non-negotiable
Never edit specs/ or guardrails/.
Never commit secrets.
If the spec and the code disagree, stop and write a handover. --
guardrails/coding.md holds the coding rules, such as error handling, logging and forbidden APIs, and guardrails/limits.md holds the budgets I showed in Part 1. The same two-layer rule applies as before. The agent reads the rule so it understands it, and CI, protected paths and code owners enforce it so it holds when the agent does not.
The development loop
The coding agent works on its own branch. It reads the spec, the guardrails and the latest handover, then implements one task at a time. After each task it runs the definition of done, fixes what fails, and repeats.
It stops when the work is done, when a limit from limits.md is hit, or when a stop condition from the spec triggers. Or when it runs out of tokens or hits a budget cap.
One design choice here is deliberate. The coding agent does not write or change the tests that count. It runs the build, the linter and the existing tests so it cannot break what is already there, but the new tests belong to the QA agent in Part 4.
If one agent writes both the code and its tests, the tests are derived from the code it just wrote, so they confirm what the code does instead of what the spec asks.
Important
Never ask the coder to do the testing
Never ask the coder to verify its code for security issues
The handover
Every stage ends by writing a handover, and the next stage reads that file plus the spec, never the previous chat. This is a realistic one from a loop that stopped early.
# Handover 02: coding agent
## Asked
Implement tasks 1 to 3 of agent-spec.md.
## Done
Tasks 1 and 2. Task 3 partly: the endpoint exists, access logging is missing.
## Deliberately not done
Scheduled exports (out of scope).
## Files changed
src/exports/service.ts, src/exports/writers.ts, src/exports/endpoint.ts
## Checks run
Build: pass. Lint: pass. Existing tests: pass.
## Open questions
R2 says invoices of the signed-in customer account.
The invoice client filters by user id. Which one is correct?
## Stop reason
Open question blocks task 3. Needs a product owner or developer decision.
Look at the stop reason. A handover that says everything went fine is welcome, but a handover that says “I stopped because I did not know” is the reason this pipeline works.
The question reaches a human, gets answered in requirements.md where it belongs, and the spec is regenerated. It never turns into a line of code nobody noticed.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 10:55:382026-11-30 10:55:38Agentic Scrum, Part 3 of 5: Write Specs a Coding Agent Can Actually Follow
This is part 2 of 5 in the Agentic Scrum series. Part 1 explained the whole loop and why the product owner stopped being a vending machine. This part covers the first two steps, the only ones with no agent in them. Then we move on to specs and the coding agent.
The first two steps of the pipeline have no agent in them, and that is deliberate. This is where the most expensive mistakes get made, because a wrong sentence here is multiplied by every step downstream. A coding agent will build the wrong thing at full speed and with excellent formatting.
What the product owner writes
The product owner writes one file per feature, called value.md, and it fits on a page. It answers six questions:
who has the problem
what the problem is
what changes for them when we solve it
how we will know it worked
what we are explicitly not doing
which business constraints apply
Optional: are there any open questions, which we can’t or don’t want to answer now?
It does not say how the screen looks. It does not name a button. The moment a value statement contains the word “dropdown”, somebody has started designing, and designing is a conversation for developers and UX that happens later, with more information.
Here is a made-up example, so the numbers are illustrative. I have left many potential details that would make up a real feature definition on purpose. I am not trying here to define a new (imaginary) product, only to show you the format, the headings and the type of language to use.
value.md:
# Invoice export
## Who has the problem
Finance clerks at our larger customers.
## The problem
Closing the month means exporting invoices by hand, one customer at a time.
In interviews, clerks called this the slowest part of their close.
## What changes for them
They get all invoices for a period in one step, in a format their
accounting system accepts.
## How we will know it worked
Support tickets about manual invoice export drop. Time from "close started"
to "export done" falls under one hour for the customers we interview again.
## Out of scope
Scheduled exports. Formats other than the two named in requirements.md.
## Business constraints
Must never expose invoices across customer accounts.
Ships before our customers' fiscal year-end.
## Open questions
Do customers need credit notes in the same file?
I make “Out of scope” a required section, because agents are enthusiastic. Ask one for an export and it may also build a scheduler, a settings page and a small dashboard nobody requested. Writing down what we are not doing is the cheapest feature work in the whole process. The section “How we will know it worked” has to be observable too. A number, a ticket count, a behavior someone can watch. “Better user experience” is a wish, not a measure. That section comes back in Part 5, when the product owner checks at the final gate whether the value actually arrived.
What the developers add
Developers turn value.md into requirements.md. They do not rewrite the value, they translate it. Every requirement gets an ID, because Part 3 and Part 4 trace specs and tests back to those IDs, and that traceability is what lets us stop reading code. A good requirement is a sentence a stranger could check. The export contains all invoices of the selected period, and only those of the signed-in customer.
The file also holds interfaces and data, non-functional requirements for performance, security, privacy and availability, failure modes, assumptions and risks. This is where the 40,000 records question lives.
What happens with 40,000 invoices? With none? With the network dropping halfway? With a customer whose name contains an apostrophe and a snowman? Developers are professionally suspicious, and this is the step where that trait earns its salary.
requirements.md:
# Invoice export: requirements
## Functional requirements
R1 The user can export all invoices of a chosen period in one action.
R2 The export contains only invoices of the signed-in customer account.
R3 The export is available in the two named accounting formats.
## Interfaces and data
Reads invoices through the existing invoice service. No new tables.
## Non-functional requirements
N1 An export of 40000 invoices finishes within 5 minutes.
N2 Every export is logged with user and period.
N3 The export file is not stored after download. N4 Only one export can be served at a time.
## Failure modes
F1 No invoices in the period: the user sees an explicit empty result.
F2 Invoice service unavailable: retry message, no partial file.
F3 Export interrupted: nothing is left on the server.
## Assumptions and dependencies
A1 Invoice service response times stay as they are today. A2 The operator is already logged in and authorized to download.
## Risks
R1 Large exports may load the invoice service during month-end peaks. R2 Export requests will by queued, potentially slowing down the overall delivery.
The gate between humans and agents
Nothing goes to the specification agent until requirements.md is approved by the product owner and by a developer who did not write it. I run this as a short value review of 30 to 45 minutes, with the product owner, the developers who will own the feature, and QA or the security specialist when the feature touches their areas. The product owner asks whether the requirements still mean what was meant. The developers ask whether the value is clear enough to build against.
The questions are boring on purpose. Can a stranger tell when this is done? Is there a number or an observable behavior under “how we will know”? Is any requirement a solution in disguise? Does “out of scope” contain something? Approval happens as a pull request on the specs folder. The merge is the approval, the discussion is the record, and nobody has to remember what was agreed in a meeting three weeks ago.
This gate is also the brake that Part 1 promised. Agents are fast, so the limit has to sit on the humans’ work in progress. I cap the number of features in flight per team, and I would start with two, which is my guess and not a benchmark. When both slots are taken, nothing new enters until one of them clears the final gate. The product owner no longer has to out-write the agents. The product owner has to stay two value statements ahead, which is a job a person can actually do.
Who writes the backlog now
The backlog now holds value statements, which cost far less to produce than the full stories of the old days. Developers draft them too, for technical enablers like refactoring, performance work and security hardening, because they see those needs first. The product owner keeps the one decision that cannot be delegated, which is priority, and approves or rejects what developers propose.
I also reserve a slice of every sprint for discovery. Developers read support tickets, talk to a customer-facing colleague or prototype an idea. The output is a better value.md or the deletion of a planned one. Deleting a feature before an agent builds it is the cheapest delivery you will ever make.
How this goes wrong
Three failure patterns show up early.
The first is the value statement that is a design in disguise, usually something like “design a green page with a blue button in the middle of it called ‘Download’”.
The second is requirements that copy the value text and add nothing, which means nobody did the thinking.
The third is the absent product owner. If the product owner is not available, the pipeline stalls. That looks like a problem, but it is the system working, because an agent guessing the missing answer is far worse than a feature waiting a day.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 10:55:332026-11-30 10:55:33Agentic Scrum, Part 2 of 5: Describe the Value
My developers consume user stories faster than any product owner can write them. A story that used to fill a sprint now takes an afternoon, because a coding agent writes the code, the tests and a very confident commit message. The backlog looks like a fridge the night before a vacation. Some mustard, one lonely epic, and a login story that has been there since spring.
Asking the product owner to write more stories treats the symptom. When coding is nearly free, the scarce things are a clear statement of what to build and a trustworthy way to know it was built correctly. So I stopped feeding agents stories and started feeding them specifications, with humans owning the decision at every gate.
The pipeline
The product owner describes business value and nothing else. Who has the problem, what changes for them, how we will recognize success. No field lengths, no button colors. Developers translate that into technical requirements: constraints, interfaces, data volumes, the things that break at 40,000 records. A specification agent turns those requirements into agentic specs written for the coding agent. Developers validate the specs, and only then does the development loop start.
Once code exists, a QA agent reads the specs and the generated code and drafts test specifications. QA engineers and developers validate those first, and only after approval does the QA agent write the actual tests. In parallel, a security and compliance agent checks the code. The results of both go to developers, a security specialist and the product owner, each judging what they are qualified to judge. Developers look at technical soundness, the security specialist at risk, and the product owner at whether the original business value actually arrived.
Here is the whole loop in one picture:
Anyone can break the loop
At any gate a human can stop the process and send it back one step or several. A failed test may expose a vague spec, a vague spec may expose a missing technical requirement, and a missing requirement may expose a business value nobody can deliver. The rule is that the earliest artifact responsible for the problem gets fixed first, and everything downstream is regenerated.
Agents can break the loop too, and I want them to. An agent stops when the spec is ambiguous, when two documents contradict each other, when a limit is reached, when a test cannot pass without changing the spec, or when a security finding crosses a threshold. It writes down why it stopped and hands the problem to the human who owns that step. What an agent may never do is quietly rewrite the spec to make its own life easier. It can propose a change in a file. A human decides. Without this rule you get an agent that “fixes” a failing test by deleting the requirement behind it, which is efficient in the same way that cancelling your gym membership is a fitness plan.
Everything lives in the repository, and everything is markdown
Value statements, technical requirements, agent specs, test specs, handovers, guardrails and limits all sit in the same repository as the code, under version control, and all of them are markdown. Humans read markdown in a pull request diff without any tooling, and agents read it without a parser. Chat history is not a source of truth, because it disappears when the session ends and nobody can review it. A file in git has an author, a diff and a history.
It also settles who reviews what, now that humans no longer read generated code. People review pull requests that change specs, test specifications, guardrails and limits. Those files decide what the agents build, so they get the human eyes. A layout like this works for me. The names are my convention, not a standard, so adapt them.
Each agent reads a small, fixed set of files and writes a small, fixed set. The diagram shows which is which, in the order the work happens. Security runs in parallel with QA, so its row sits below only for the sake of the page.
A chain of human and agent steps with the markdown file each step produces between them. Guardrail files feed the agents from the side. QA and security run in parallel and merge into a final validation.
AGENTS.md is a convention that several coding agents read from the repository root, and some tools use their own file name instead, so check what yours picks up automatically.
The security agent reads the control mappings, which means a requirement from ISO 27001 or NIS2 becomes a check that runs on every change instead of a spreadsheet someone opens before an audit.
Guardrails and limits
Guardrails come in two kinds, and the difference matters. The first kind is text the agent reads, like “never add a dependency without approval”. That is a request to a model, and models usually comply but are not obliged to. The second kind is enforcement outside the model: tool permissions, protected paths, CI checks that fail the build, branch protection, and code owners on the guardrail files themselves. A guardrail that exists only in markdown is a polite sign on an open gate. Write the rule in the file so the agent understands it, and enforce it in the pipeline so it holds when the agent does not.
My limits.md is plain markdown with a heading per topic and one rule per line. This is a trimmed example.
# Limits for the coding agent
## Budget
Maximum iterations in the development loop: 5
Maximum changed lines per task: 400
Maximum wall-clock time per task: 60 minutes
## Forbidden
Do not edit files under specs/ or guardrails/.
Do not edit or delete a test to make it pass.
Do not add a dependency without approval.
## When a limit is hit
Stop. Write a handover with the reason. Do not try a different approach.
I picked those numbers as a sensible first guess, not from measurements, so tune them against your own teams. Changes to limits.md need approval from the security specialist through a code owners rule, which means the agents cannot loosen their own leash.
Handovers
Every stage ends by writing a handover file, and the next stage reads that file plus the spec, never the previous conversation. The handover has fixed sections: what was asked, what was done, what was deliberately not done, which files changed, which checks ran with their results, open questions, and the reason for stopping if the agent broke the loop. Chat context dies with the session, but files survive, which is also why a human can pick up any step cold after a weekend.
The trade I made
Humans no longer review code in this model. The attention moves upstream to specs and test cases and downstream to test and security results. That is a deliberate bet, and it has a cost. If a spec is weak or a test misses a behavior, nothing else catches it, because nobody reads the lines that slipped through. I have no data showing this holds across teams, so watch your defect and incident rates for the first few months before trusting the process.
The consumption rate drops because every gate needs understanding instead of a click on approve. The work spreads out. The product owner supplies value and judges outcomes, developers own technical direction and the specs, QA decides what deserves testing, and the security specialist stops being the person who says no on the last Friday before release. The agents still type faster than anyone alive. They just do not get to decide what is worth typing.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 10:55:302026-11-30 10:55:30Agentic Scrum, Part 1 of 5: The Product Owner Is Not a Vending Machine
In April I published a mapping of the SOC 2 Type 2 Common Criteria to Secure SDLC requirements. That article answers the question “which criterion touches which SDLC phase”. This one answers the question that comes right after it in every readiness project: how does the auditor actually test each criterion, and what makes a sample pass or fail?
This article is written from the auditor’s side of the table. For each Common Criterion you will find what the criterion asks for, how it is tested in a Type 2 engagement, an example of evidence that passes, an example that produces an exception, and the exceptions that come up most often. The phase mapping and the evidence checklist from the original article still apply, so read that one first if you haven’t.
A note on terms. A SOC 2 report is an attestation issued by a licensed CPA firm under AICPA standards. It is not a certification, even though most people (me included, in the earlier article) use that word. The criteria referenced here are the 2017 Trust Services Criteria with the revised points of focus the AICPA published in 2022. Points of focus are guidance and not mandatory requirements. Not every point has to be covered by a control, and your auditor may weigh them differently.
How a Type 2 auditor thinks
A Type 1 report asks whether controls are suitably designed at a single point in time. A Type 2 report adds a second question: did those controls operate effectively throughout the review period? Most periods run 6 to 12 months. First reports sometimes use a shorter period, occasionally as short as 3 months.
That second question changes the work completely. The auditor stops reading your policies and starts asking for populations. A population is the complete list of every occurrence of a control during the period. Every production deployment, every new hire, every terminated account, every critical vulnerability. The auditor first checks that the population is complete and accurate, because a sample drawn from an incomplete list proves nothing. Then a sample is selected, and every item in it needs a full evidence trail.
Inquiry alone is not sufficient evidence of operating effectiveness. When an engineering lead says “we always do that”, the auditor will ask for the document, the log entry or the ticket that shows it.
Sample sizes depend on how often a control runs and on the risk the auditor assigns to it. Each audit firm uses its own methodology, so treat the numbers below as an illustration and confirm the real ones with your auditor. They come from a published Strike Graph sampling guide.
Control frequency
Samples, moderate risk
Samples, high risk
Monthly
2
3
About 25 times per year
3
5
Weekly
8
10
Large population (more than 365 occurrences)
45
60
Automated control (any frequency)
1
1
The last row matters most for the SDLC. An automated control, such as branch protection that technically blocks a merge without approval, can often be tested with one sample plus evidence that its configuration did not change during the period. A manual control that runs many times a day can need 45 to 60 samples. That is the strongest practical argument for moving SDLC controls into the pipeline.
When a sample fails, the auditor records an exception, also called a deviation, and many* deviations get to a non-conformity. One exception does not automatically lead to a qualified opinion. The auditor considers how many* exceptions there were, whether other controls compensate, and whether the criterion was still met. Every exception still appears in the tests of controls section of the report, next to management’s response, and your customers will read it.
CC1: Control environment
Summary: The control environment is the foundation the other criteria sit on. It asks whether leadership sets the tone on integrity and ethics, whether a board or equivalent body oversees internal control, whether roles and reporting lines are clear, whether the company hires and keeps competent people, and whether individuals are held accountable for their part in internal control.
What the criterion asks. CC1.1 to CC1.5 cover commitment to integrity and ethical values, board oversight, organizational structure and reporting lines, competence of personnel, and accountability. For the SDLC this means that someone owns the process and has the authority to enforce it.
How it is tested. CC1 controls are mostly annual or event driven, so samples are small. The auditor inspects the SDLC policy and its approval record, the org chart, job descriptions for security and engineering leads, and code of conduct acknowledgments. Then comes the question that separates design from operation: “Show me a time during the period when security actually used that authority.”
Passing evidence example: Secure SDLC policy version x.y was approved in January, inside the review period, and names the Head of Product Security as owner. A release ticket from June shows the Product Security lead blocked a release because of an open critical finding. The release went out nine days later, after the fix was verified.
Exception example: The policy names an owner who left the company in March. Nobody was assigned until the auditor asked about it in September. For six months the control had no owner.
Common exceptions: Policies not reviewed within the interval the policy itself defines, for example “reviewed annually” with the last approval 18 months ago. New hires who did not sign the code of conduct within the required time. Engineering performance reviews that were scheduled but never documented.
CC2: Communication and information
Summary: This criterion is about how information flows. The organization has to produce and use reliable information to run its controls, tell its own people what their control responsibilities are, and communicate the relevant matters to customers, vendors and other outside parties.
What the criterion asks. CC2.1 requires relevant, quality information to support internal control. CC2.2 requires internal communication of objectives and responsibilities. CC2.3 covers communication with external parties such as customers and vendors.
How it is tested. The auditor takes the population of employees and contractors active during the period, including new joiners, and samples it. For each person they look for a dated policy acknowledgment and a training completion record. If a policy changed during the period, they check that the new version was communicated. For CC2.3 the auditor looks at how customers learn about security commitments, system changes and incidents. A trust page, release notes, contract terms or a status page can all serve as evidence.
Passing evidence example: All 25 sampled engineers have a learning platform record showing secure coding training completed within 30 days of their start date or within the annual cycle. Each one also has a timestamped acknowledgment of SDLC policy version 3.1.
Exception example: Two sampled people are external contractors with commit rights to the main repository. Neither appears in the learning platform, because contractors are onboarded through procurement and not through HR. The population was incomplete, and some of the people writing production code never received the rules. This pattern is a frequent CC2 finding.
Common exceptions: Training completed months after the deadline. Acknowledgments collected for version 2 of a policy but never for version 3. No evidence that customers were told about a material change to the system described in the report.
CC3: Risk assessment
Summary: Risk assessment asks the organization to set clear objectives, work out what could stop it from meeting them, including fraud, and keep that picture current when the business, the technology or the vendors change. The controls tested in the other criteria are expected to trace back to the risks identified here.
What the criterion asks. CC3.1 asks for objectives defined clearly enough to identify the risks to them. CC3.2 asks for risks to be identified and analyzed. CC3.3 requires the organization to consider the potential for fraud. CC3.4 asks it to identify and assess changes that could significantly affect internal control.
How it is tested. At the organization level, the auditor inspects the annual risk assessment and checks that it was performed and approved within the period. At the SDLC level, CC3.2 and CC3.4 meet the threat model. The auditor typically takes the list of new features or significant changes from the period, samples it, and asks for the security risk assessment or threat model of each one. The attribute that matters most is the date. A threat model written after the feature shipped does not show that risk shaped the design.
Passing evidence example: The new payment export feature has a threat model in the repository dated two weeks before the first PoC commit. Three identified risks became backlog items with security acceptance criteria, and all three were closed before release. A fourth risk was accepted, and the acceptance is signed by the product owner and the security lead.
Exception example: Threat models exist for every sampled feature, but the git history shows four of them were created in the same week in August, right after the auditor’s evidence request. Auditors look at metadata. Artifacts created after the fact are a serious problem because they make the auditor question the reliability of the rest of your evidence.
Common exceptions: A risk register that has not changed since the previous audit. No fraud risk consideration at all. CC3.3 is easy to forget in engineering-led companies, and it covers insider scenarios such as a developer pushing a malicious change. Major architecture changes, like a move to a new cloud provider, without a documented risk assessment under CC3.4.
CC4: Monitoring activities
Summary: Monitoring is about confirming that controls keep working over time. The organization evaluates its controls through ongoing checks, separate assessments or both, and reports the deficiencies it finds to the people responsible for fixing them, who then track them to closure.
What the criterion asks. CC4.1 requires ongoing or separate evaluations, or both, to confirm that controls are present and functioning. CC4.2 requires deficiencies to be evaluated and communicated in time to the people responsible for corrective action.
An auditor’s note on the original mapping. In the earlier article I placed SAST, DAST and SCA scanning under CC4. Many auditors would map the scanning itself to CC7.1 (detection of vulnerabilities) and CC8.1 (testing of changes). CC4 is about monitoring the controls, not monitoring the system. In SDLC terms CC4 asks who checks that the scans, the reviews and the pipeline gates actually work, and what happens when they don’t. Both readings appear in practice, so agree on the mapping with your auditor before you build the control matrix.
How it is tested. The auditor looks for evidence that management evaluated its controls during the period. Internal audits, quarterly control self-assessments, documented reviews of compliance dashboards and penetration tests all count. For CC4.2 they sample the deficiencies identified during the period and trace each one to communication and remediation.
Passing evidence example: Every quarter the security team exports all merges to the main branch and compares them with the list of approved pull requests. In Q2 they found one merge where an administrator bypassed branch protection. A ticket was opened, the change was reviewed after the fact, the admin bypass was disabled, and the finding was reported to the CTO. The auditor can see the control, the deficiency and the correction in one trail.
Exception example: A scanning dashboard shows 140 open high-severity findings, some older than a year. Nobody reviewed it during the period. The scanner ran perfectly every night. The monitoring of its results never happened.
Common exceptions: Penetration test findings without remediation tracking. Quarterly reviews that took place in only two of four quarters. Deficiencies found internally but never escalated to management.
CC5: Control activities
Summary: Control activities are the concrete controls the organization picks to bring its risks down to an acceptable level. The criterion covers selecting those controls, putting general controls over technology in place, and rolling them out through written policies backed by procedures that people actually follow.
What the criterion asks. CC5.1 requires control activities that reduce risks to acceptable levels. CC5.2 requires general control activities over technology. CC5.3 requires that controls are deployed through policies and through procedures that put those policies into action.
How it is tested. Here the auditor checks that the secure coding standard, the review rules and the branch protection exist and match what the policy says. Configurations are checked across the whole period, not only on the day of fieldwork. A common request is the current branch protection settings together with the audit log of every change to those settings during the period.
Passing evidence example: The policy says every merge to main needs one approval from a code owner who is not the author, plus passing status checks for tests, SAST and secrets scanning. The repository settings match this, admin bypass is disabled, and the organization audit log shows no change to these rules between January and December.
Exception example: Branch protection matches the policy, but the audit log shows it was switched off for six hours on a Friday in May “to push a hotfix”. Five commits went in during that window without review. That is an exception under CC5 and, for the same commits, under CC8.
Common exceptions: A secure coding standard that still refers to a framework the company dropped two years ago. Repositories created during the period without branch protection, because new repositories are a classic gap. Policies written with “should” where the auditor expected “must”, which leaves nothing concrete to test.
CC6: Logical and physical access controls
Summary: This is the largest criterion and it covers who and what can get into the system. It deals with granting and removing access, least privilege and segregation of duties, physical access to facilities, protection at the system boundary, encryption of data in transit, secure disposal of assets, and protection against malicious software.
What the criterion asks. CC6 has eight criteria. The ones that matter most for the SDLC are CC6.1 (logical access security over protected information assets), CC6.2 (registration and authorization of users before credentials are issued), CC6.3 (role-based access, least privilege and segregation of duties), CC6.6 (protection against threats from outside the system boundary), CC6.7 (restricting how data is transmitted and moved, for example encryption in transit) and CC6.8 (preventing or detecting unauthorized or malicious software).
How it is tested. After CC8, CC6 produces the most populations. The auditor usually asks for the lists of new users, terminated users and role changes in the period, plus the user lists of the source code platform, the CI/CD system, the cloud console and the production databases. They sample joiners to confirm that access was approved before it was granted, and leavers to confirm that access was removed within the time the policy defines. They also inspect the periodic access reviews and check that the reviewer actually reviewed something. Removals or comments are good signs. A signature alone is weak evidence.
Passing evidence example: The policy requires deprovisioning within 24 hours of termination. For each of the 15 sampled leavers, the HR termination date, the SSO deactivation timestamp and the removal from the GitHub organization fall on the same day. The quarterly access review for the production AWS account shows the reviewer removed two engineers who had moved to another team.
Exception example: A developer left on 30 April. SSO was disabled the same day, but a personal access token for the CI system stayed valid and was used by an automated job on 12 May. Nobody noticed until the auditor compared token activity with the leavers list. Service accounts and long-lived tokens are the most common blind spot in CC6.
Common exceptions: PoC environments holding production data with broad access, never decommissioned. Shared admin accounts on build servers. Access reviews performed by the person who holds the access being reviewed. Secrets found in repository history without evidence that they were rotated.
CC7: System operations
Summary: System operations covers the security of systems while they run. The organization has to detect vulnerabilities and risky configuration changes, monitor for anomalies and attacks, evaluate security events to decide which ones are incidents, respond to those incidents, and recover from them.
What the criterion asks. CC7.1 requires detection and monitoring procedures for configuration changes that introduce vulnerabilities and for newly discovered vulnerabilities. CC7.2 requires monitoring of system components for anomalies that could indicate malicious acts, natural disasters or errors. CC7.3 requires evaluating security events to decide whether they are incidents. CC7.4 requires a defined incident response program. CC7.5 covers recovery from identified incidents.
How it is tested. For CC7.1 the auditor samples vulnerabilities identified during the period, often from SCA, container or infrastructure scans, and checks that each was fixed within the SLA in your vulnerability management policy. For CC7.2 and CC7.3 they sample alerts and check that each was triaged and documented. For CC7.4 and CC7.5 they sample the incidents of the period. If there were none, the auditor will usually ask for a tabletop exercise or another test that shows the process works.
Passing evidence example: The policy sets 7 days for critical and 30 days for high vulnerabilities. In a sample of 25 findings, every critical one was fixed within 2 to 6 days. One high finding took 41 days, but it has a risk exception with compensating controls that was approved before the SLA expired. The SIEM shows a login anomaly in August that was triaged within an hour and closed as a false positive with a written rationale.
Exception example: A new microservice went to production in March. Its logging was connected to the SIEM in July. For four months no events from that service were collected, so CC7.2 could not have operated for it. This is the “logging as a post-launch concern” gap from the original article, and it shows up when the auditor compares deployment dates with log onboarding dates.
Common exceptions: SLA breaches without an approved exception. Exceptions approved after the SLA had already expired. Alerts closed automatically by a rule without human review. An incident response plan that was never tested.
CC8: Change management
Summary: Change management has a single criterion, CC8.1. It requires that changes to infrastructure, data, software and procedures are authorized, designed or acquired, configured, documented, tested, approved and implemented in a controlled way. In an SDLC this is the criterion that touches every pull request and every release.
What the criterion asks. CC8.1 is a single criterion with a long list of points of focus. Changes to infrastructure, data, software and procedures must be authorized, designed, developed or acquired, configured, documented, tested, approved and implemented. The points of focus also address emergency changes, baseline configurations and patch management.
How it is tested. Most SDLC testing happens here. The auditor asks for a system-generated list of every production deployment in the period, usually exported from the CI/CD tool, and checks it for completeness. Some auditors reconcile it with the cloud provider’s own logs to find deployments that bypassed the pipeline. From that population they draw a sample, typically somewhere between 25 and 60 for a control that runs daily or more often, depending on the firm. Each sampled change is traced end to end: the ticket that authorized it, the pull request with an independent approval, the passing tests and scans, and the deployment record. Segregation of duties is checked on every sample. The author of a change must not be its only approver.
Passing evidence example: Deployment 2026-06-14-0932 traces to ticket PAY-1182, approved by the product owner. The code came from PR #4471, written by developer A and approved by developer B, who is a code owner. The CI run shows unit tests, SAST and SCA passing, and the deployment job was triggered by the pipeline service account, not by a person with console access.
Exception example: In two of 25 sampled deployments, the author pushed new commits after the pull request was approved. The “dismiss stale approvals” setting was off, so the merge went through on the old approval. The code that reached production was never reviewed in its final form. Auditors compare commit timestamps with approval timestamps for exactly this reason.
Common exceptions: Emergency changes without a documented approval after the fact. Infrastructure-as-code changes applied directly from a laptop. Database schema changes outside the pipeline. Configuration changes in SaaS tools, such as feature flags, that were missing from the change population entirely. System decommissioning at EOL without a change ticket.
CC9: Risk mitigation
Summary: Risk mitigation covers two areas. CC9.1 asks the organization to identify and prepare for risks of business disruption, for example through business continuity planning and insurance. CC9.2 asks it to assess and manage the risks that come from vendors and business partners.
What the criterion asks. CC9.1 asks for activities that mitigate risks from potential business disruptions, such as continuity planning and insurance. CC9.2 asks the organization to assess and manage risks associated with vendors and business partners.
An auditor’s note on the original mapping. In the earlier article I mapped the evaluation of open-source libraries to CC9. That reading can be defended, but many auditors limit CC9.2 to vendors and business partners with a contractual relationship, such as the cloud provider, the source code hosting platform or an outsourced development team. Dependency management is then tested under CC7.1 and CC8.1. Whichever mapping you choose, write it into the control matrix so the auditor tests the control where you expect it to be tested.
How it is tested. The auditor requests the vendor inventory and samples it, with attention to vendors added during the period. For each sampled vendor they look for a risk assessment before onboarding, a review of the vendor’s own SOC 2 report or an equivalent, and evidence that the complementary user entity controls (CUECs) listed in that report are implemented on your side. For CC9.1 they inspect the business continuity plan and evidence that it was tested during the period.
Passing evidence example: The SOC 2 Type 2 report of your code hosting provider was obtained in February. The review memo notes two exceptions in that report and explains why they do not affect you. It maps each CUEC, for example the customer’s responsibility to enforce MFA for its own users, to one of your controls, and confirms that MFA enforcement is switched on at organization level.
Exception example: An external development agency was hired in May and given write access to two repositories. There is no vendor assessment, no signed NDA in the contract repository, and the agency’s developers are missing from the access review. This single case touches CC9.2, CC6.2 and CC2.2.
Common exceptions: Vendor SOC 2 reports collected and never read. No bridge letter when the vendor’s report period does not cover yours. Vendors with production access that are missing from the inventory. A continuity plan that was never tested.
Preparing with the auditor’s view
Three habits make the largest difference when a Secure SDLC goes through a Type 2 audit.
The first is to let the work produce the evidence. A pipeline that refuses to deploy without an approved pull request and passing scans creates the CC5 and CC8 evidence on every run, and an automated control needs far fewer samples than a manual one.
The second is to test your own populations before the auditor does. Export every production deployment from the period, pick 25 at random and trace each one from ticket to deployment. Do the same with leavers and with vulnerabilities. The gaps you find this way are usually the gaps the auditor will find.
The third is to keep timestamps honest. Auditors compare the creation date of each artifact with the event it documents. A missing threat model is one exception. A threat model created after the fact can make the auditor doubt everything else you hand over.
https://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.png00EndPoint Cybersecurityhttps://www.endpoint-cybersecurity.com/wp-content/uploads/2020/11/logo-new-300x103.pngEndPoint Cybersecurity2026-11-30 10:55:252026-11-30 10:55:25SOC 2 Type 2 : how each Common Criterion is tested in a Secure SDLC
We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
Essential Website Cookies
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
Other external services
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
Privacy Policy
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.