DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Software Design and Architecture
  3. Security
  4. How to Build Security Into the QA Cycle

How to Build Security Into the QA Cycle

Testing software security no longer looks like it used to. Spending several days or more analyzing the code for bugs is not viable. Security teams need a better way.

Oliver Lavery user avatar by
Oliver Lavery
·
Nov. 06, 16 · Opinion
Like (2)
Save
Tweet
Share
3.79K Views

Join the DZone community and get the full member experience.

Join For Free

These days, many companies are developing software with fairly rapid release cycles of every week or even every few days. Thus, testing software security no longer looks like it used to. Spending several days or more analyzing the code for bugs is not viable. Security teams need a better way.

Image title

First, a primer on how to secure web apps in development. Broadly speaking, there are three stages to security quality assurance: code review, static application security testing, and dynamic application security testing.

  1. Code review. Everyone should do security code review near the end of the development process. A checklist and established process enable teams to adhere to basic coding security practices. Since most teams do some form of code review already, reusing this existing process to add security assurance tends to be an easy win.
  2. Static application security testing (SAST) has become the conventional first step of automated quality assurance. It is critical to review the finished software for defects or vulnerabilities that humans cannot find.
  3. Dynamic application security testing (DAST) of the completed software is the third level of maturity. This can be automated or can involve human intervention. DAST helps focus code review and SAST on vulnerabilities that are exploitable in the real world and can detect logic errors and design flaws that are difficult to spot by looking at code.

The problem with using just these three traditional assurance techniques to ensure your completed apps are secure is that they are designed for a traditional software model of releasing or updating software in big quarterly or annual releases. At that cadence, there are plenty of days or weeks to run this assurance, find defects, and fix them.

For modern Agile technology development, it is simply too much effort to invest two weeks of preparation and setup to test software you are releasing and/or updating every week or two (or every day).

In addition, while these tests are important, none of them is a magic-bullet solution that reveals all the problems with the software or enables you to find and remediate them. SAST can report thousands of results of which only a small percentage are valid and need to be fixed, which means that you need to find the needle in the haystack. DAST is not guaranteed to provide insight and pen testing is expensive and not comprehensive. These tools are all part of a complete solution, but none of them is complete in and of itself.

RASP

Faced with these challenges, runtime application self-protection (RASP) can make a real difference. RASP protects your software from the inside all the time. It can protect apps while you are working on security QA, steps two and three. This technology enables you to run testing in the background after you’ve already released the app because you know it is protected in the interim. It can find vulnerabilities, notify you, and tell you where the problem is so you can fix it. In the event of a vulnerability in web apps that you’ve already sent out to the market, RASP brings your risk close to zero by preventing vulnerabilities from being exploited. You can release apps as fast as your developers can ship code, and be confident that a minor mistake won’t lead to all your sensitive data winding up on Pastebin.

Application security Question answering Build (game engine)

Published at DZone with permission of Oliver Lavery, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Keep Your Application Secrets Secret
  • Microservices Testing
  • A Gentle Introduction to Kubernetes
  • DeveloperWeek 2023: The Enterprise Community Sharing Security Best Practices

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: