SBOM, SCA, SAST and DAST: what each scan sees
The four acronyms below are constantly confused. Each one looks at a different place, which is why one does not replace another.
SBOM — the inventory
An SBOM (Software Bill of Materials) is the software’s ingredient list: every library, package and version that went into the image or binary. It does not say whether something is vulnerable; it says what exists. Without an inventory you cannot answer the most basic question in an incident: “do we use library X at the affected version?” The most common open format is CycloneDX; ZTGIT generates an SBOM for every image it builds.
SCA — the inventory crossed with CVEs
Software Composition Analysis takes the SBOM and cross-references each item with databases of known vulnerabilities. The result is the list of “dependencies you use that have a published flaw.” It answers “do I have Log4Shell?” in seconds — if you have the inventory. SCA finds the problem that is not yours: it is in the third-party library you included.
SAST — the source code
Static Application Security Testing reads your code, without running it, looking for dangerous patterns: concatenating SQL with user input, using weak cryptography, leaving a secret in the source. SAST finds the flaw you wrote — precisely the one SCA cannot see, because it is not in a dependency, it is in your file.
DAST — the running application
Dynamic Application Security Testing attacks the running application from the outside, like an attacker: it sends requests, tries injection, observes responses. DAST finds what only exists at runtime — an unauthenticated route, a header that leaks information, a behaviour that depends on configuration. It does not see the code, it sees the effect.
Why you need more than one
| Scan | Looks at | Finds | Blind spot |
|---|---|---|---|
| SBOM | what is inside | inventory (basis of all) | does not judge risk |
| SCA | inventory × CVE | vulnerable dependency | does not see your code |
| SAST | source code | flaw you wrote | does not see what only runs |
| DAST | running app | real exposure | does not point to the code line |
A project that only runs SCA is blind to flaws in its own code. One that only runs SAST ignores the outdated library behind most real incidents. Serious coverage combines all four, plus network scanning (exposed ports and services) and host scanning (the operating system under the application).
How ZTGIT covers each front
- Image and filesystem: ZTGIT-SBOMscan generates the SBOM and runs SCA on every image; the CI gate blocks publication when there is a critical CVE with a fix available.
- Agentless host: ZTGIT-VulnScan (Vuls) scans the operating system over SSH.
- Network: ZTGIT-VAscanner (OpenVAS) looks for vulnerable services and ports.
- Dynamic attack: ZTGIT-AttackScan (Nuclei) tests the running application.
- Secrets: secret scanning flags keys and tokens left in code or images.
Each result becomes a traceable finding, with the date and version of the CVE database, published as verifiable evidence. The question “are we exposed to this?” stops depending on memory and starts having an answer with proof.