Menu

Post image 1
Post image 2
1 / 2
0

Stop Copy-Pasting Security YAML: A Gradle Build Layer for Java AppSec

DEV Community·Nikolay Kuziev·28 days ago
#Kuvs0P2F
#cicd#security#fullscreen#build#enter#exit
Reading 0:00
15s threshold

The hard part of Java AppSec is usually not finding another scanner. Most teams already have the scanners. They have SonarQube for code analysis. They have OWASP Dependency-Check for dependency risk. They have CycloneDX for SBOM generation. They have JaCoCo or Kover for coverage. They have GitLab CI, GitHub Actions, Jenkins, or something similar to run all of it. And still, the workflow drifts. One repository writes Dependency-Check reports to one path. Another produces only HTML. One pipeline sends merge request metadata to SonarQube correctly. Another accidentally runs branch analysis for everything. One service generates an SBOM from runtime dependencies. Another includes test dependencies and makes the report noisy. A multi-module project needs a special exception, so someone copies another YAML block and edits it until the pipeline is green. None of this looks dramatic on day one. After a few months, it becomes security build drift. That is the problem I wanted to solve with secure-build-gradle-plugin .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More