Security Testing and Operations
In 2017 a single unpatched library in a public-facing web app exposed the personal records of 147 million people. The vulnerability had a fix available for months. Nobody scanned for it, nobody caught it in review, and nothing in production flagged the traffic when attackers started pulling data out. That breach is the whole story of this category in one sentence: security is not one wall you build once, it is a set of checks that run before code ships and a set of eyes that watch while it runs.
Security testing and operations covers both halves of that story. The testing half finds weaknesses early, when a human reads the diff, a tool scans the source, or a tester attacks a running build. The operations half watches the live system and reacts when something gets past the tests. A senior engineer treats these as one continuous loop, not two separate teams. This category walks through every layer of that loop, from a developer reading a pull request to a security analyst correlating millions of log events at 3 AM.
What Security Testing and Operations Actually Means
Security testing is everything you do to find a weakness before an attacker does. It starts with people. Code reviews put a second engineer in front of every change, and a good reviewer catches the missing authorization check or the user input that flows straight into a database query. Reviews are cheap and they teach the team, but humans miss things and do not scale to thousands of commits, so you back them with tools.
The tools split by what they look at and when. Static code analysis and SAST read the source code without running it. SCA looks specifically at the open-source libraries you depend on. Vulnerability scanning and DAST go the other direction and probe a running system from the outside. Penetration testing and bug bounty programs bring real human attackers, internal or external, to find the flaws automation cannot reason about.
Security operations is the other side. Once code is live, SIEM, IDS, and IPS watch the running system, detect attacks in progress, and in some cases block them automatically. Testing reduces how much gets through; operations handles what does. The two feed each other, because every incident operations catches becomes a test case you wish you had run earlier.
The Key Tools and What Each One Catches
Static code analysis inspects source for bugs and risky patterns. SAST is the security-focused version of it, tuned to find injection flaws, hardcoded secrets, and broken access control by tracing how untrusted data moves through the code. Because it never runs the program, it can examine every path, which is also why it raises false positives on paths that never execute in practice.
SCA solves a different problem. Most of the code in a modern application is not yours, it comes from open-source packages, and a library that was safe last month can have a published vulnerability today. SCA continuously matches your dependency list against known-vulnerability databases and tells you which packages to upgrade. This is the single most common source of large breaches, which is why SCA is non-negotiable.
Vulnerability scanning and DAST test the running system. A scanner checks hosts and services against a catalog of known issues like missing patches and weak configurations. DAST actively attacks the live application, sending malformed input the way an intruder would, so when it reports a flaw the attack genuinely worked. Penetration testing goes further by putting a skilled human in the attacker's seat to chain small weaknesses into a real breach, and bug bounty programs scale that idea by paying outside researchers for valid findings.
Choosing the Right Check and Living With the Trade-offs
There is no single best tool, because each one trades coverage against confidence and cost. SAST sees all of your code but produces noise. DAST produces high-confidence findings but only sees what the application exposes at runtime. The mature answer is to run both and let each cover the other's blind spot, which is exactly why neither one alone is enough.
Speed versus depth is the other axis. Automated scanners are fast and cheap, so you run them on every commit inside the pipeline. Penetration testing is slow and expensive but finds the logic flaws scanners cannot, so you run it quarterly or before a major launch and aim it at your riskiest surfaces. Bug bounties sit in between, giving you continuous human attention without a full retainer, at the cost of triaging a stream of submitted reports of mixed quality.
Operations carries its own sharp trade-off. An IDS is passive, watching copies of traffic and only raising alerts, so it can never block a real attack and never accidentally block a real user. An IPS sits inline and can drop malicious requests in real time, but a bad rule becomes an outage. The common compromise is to deploy new IPS rules in detection mode, watch what they would have blocked, and only flip them to active once you trust them.
How Real Companies Run This in Production
At a company like Google or Netflix none of this is a manual afterthought, it is wired into the pipeline. A commit triggers SAST and SCA before it can merge, and a flagged secret or vulnerable dependency fails the build the same way a broken test would. DAST runs against staging on a schedule, and a finding opens a ticket automatically. The goal is to push detection as early as possible, because a flaw caught in review costs minutes and the same flaw caught in production costs an incident.
For the operations side, large platforms feed logs from every service, host, and network device into a SIEM that correlates them. An IDS alert on its own is a single line, but the SIEM ties it to a failed-login spike and an unusual data transfer and turns three disconnected signals into one incident an analyst can act on. IPS sits at the network edge dropping known-bad traffic before it reaches the application.
The most security-mature organizations close the loop with red team and blue team exercises. The red team breaks in using real attacker techniques while the blue team tries to detect and contain them using the SIEM, IDS, and runbooks they built. Every gap the exercise exposes, like an attack the SIEM never flagged, becomes the next thing to fix. Microsoft, Google, and most major banks run these continuously, because the only way to know your detection works is to have someone genuinely try to beat it.