A DevOps team ships code on Tuesday, rolls it back on Wednesday, and ships again on Thursday. The infrastructure moves at the same speed: containers spin up and down, cloud instances appear for a test and vanish, a DNS record changes to route traffic to a new region. The security scan that runs once a quarter lives in a different world from that pipeline. It checks a snapshot, files a report, and misses everything the pipeline did in the eleven weeks between runs. For a team that deploys daily, scan frequency is not a compliance question. It is a pipeline question.
The numbers explain why. In 2023, attackers needed five days on average to start exploiting a newly disclosed vulnerability. In 2021 and 2022, the average was 32 days. A deployment that exposes an admin panel on Monday can be found by an automated sweep long before a monthly scan ever runs. The team that shipped the change is also the team best placed to fix it, but only while the change is still fresh in their heads. A finding that arrives three months later lands on someone who has shipped forty changes since.
Scan on change, not just on schedule
The single most useful practice for a DevOps team is to trigger a scan from the pipeline itself. A deployment finishes, and a scan starts. A DNS record changes, and a scan starts. A new container image goes out, and the checks run against it. This works because the pipeline already knows when change happens, and a webhook can carry that signal to the scanner with no human in the middle. The scan becomes part of the release, like a test suite, instead of a separate event someone has to remember.
Change-triggered scans catch the exact mistakes that cause most exposures. A firewall rule that did not apply cleanly. A configuration copied from an old environment that brought a fixed flaw back. A service that was meant to be internal and ended up reachable from the internet. A load balancer change that bypassed the web application firewall. These are deployment problems, and they deserve a deployment-time check, not a quarterly one.
The weekly baseline
Change-triggered scans do not replace a regular cycle. They sit on top of it. The baseline for a team that ships often is weekly discovery of everything internet-facing: fast port and service discovery across the whole footprint, run in a low-traffic window. Weekly discovery catches what no deployment caused, like a certificate drifting toward expiry, a vendor service going stale, or a forgotten subdomain. Deeper vulnerability scans then run weekly or monthly based on how important each system is, with the most exposed systems getting the frequent cycle.
Discovery needs to be automatic, because manual lists cannot keep up with a pipeline. Schedules built on groups and tags solve this: a new host joins the scan schedule because of what it is, not because someone typed its name into a list. A container that appears on Tuesday is in Wednesday’s discovery sweep. A host that disappears stops being scanned. The inventory stays honest without anyone maintaining it by hand, which is the only way it stays honest at all in a team that deploys daily.
Certificates, regressions and fix deadlines
Two problems deserve their own automation. The first is certificates. Their lifetimes are shrinking, with new certificates capped at 200 days from March 2026, then 100 days in 2027 and 47 days in 2029, and the reminder emails that used to warn owners stopped in June 2025. A team that deploys often issues certificates often, and monitoring with alerts 30, 14 and 7 days before expiry is the only reliable way to keep them from failing silently. The second is regressions, where a fixed flaw returns with a redeployed image. A scanner that records these as reopened rather than fresh findings shows the team the pattern, and the pattern is usually a build or image problem, not a new vulnerability. For a fuller treatment of cadence, including the weekly baseline and the change trigger, this guide to perimeter scan frequency is a solid reference for teams setting up their own schedule.
Findings still need deadlines, and the usual starting point is seven days for critical flaws, 30 for high, 60 for medium and 90 for low. Those deadlines are realistic for a DevOps team precisely because findings arrive fast: the person who shipped the change is still on the rotation and can fix it the same week. Pipe the findings into the same tracker the team already uses for bugs, with the same owner and the same urgency, and they stop being security paperwork. They become work, and work gets done.
A second practice worth adopting is scanning the staging and test environments with the same routine as production. Test systems are where the risky shortcuts live: default passwords, debug modes left on, old versions kept around because something still depends on them. Attackers do not care whether a host is called production or staging. If it is reachable from the internet, it is part of the perimeter, and it deserves the same weekly discovery and the same fix deadlines. Many breaches start in a test system that nobody thought to protect, then move sideways into the systems that matter.
The quarterly scan still runs, because the PCI DSS standard requires external scans at least every three months for systems in scope, and auditors still want that record. But for a DevOps team, it should be the least interesting scan on the calendar. The interesting ones are the scan that ran after Tuesday’s deployment, the discovery sweep that found a new host on Wednesday, and the certificate alert that arrived thirty days before anything broke. That is what scanning looks like when it keeps up with the pipeline.
