{"id":478911,"date":"2026-05-07T10:41:06","date_gmt":"2026-05-07T10:41:06","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=478911"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=478911","title":{"rendered":"\u0425\u0432\u0430\u0442\u0438\u0442 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c security YAML: AppSec-\u0441\u043b\u043e\u0439 \u0434\u043b\u044f Java-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 Gradle convention plugin"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u0432\u044b\u043d\u0435\u0441 security-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 Java-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0438\u0437 \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u043d\u044b\u0445 CI\/CD-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 Gradle convention plugin.<\/p>\n<h3>\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0421\u0430\u043c\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c Java AppSec \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0441\u043a\u0430\u043d\u0435\u0440.<\/p>\n<p>\u0421\u043a\u0430\u043d\u0435\u0440\u044b \u0443 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u0435\u0441\u0442\u044c.<\/p>\n<p>\u0415\u0441\u0442\u044c SonarQube \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430. \u0415\u0441\u0442\u044c OWASP Dependency-Check \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0415\u0441\u0442\u044c CycloneDX \u0434\u043b\u044f SBOM. \u0415\u0441\u0442\u044c JaCoCo \u0438\u043b\u0438 Kover \u0434\u043b\u044f \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f. \u0415\u0441\u0442\u044c GitLab CI, Jenkins, TeamCity, GitHub Actions \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 CI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0435 \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442.<\/p>\n<p>\u0418 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u041e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0438\u0441 \u043a\u043b\u0430\u0434\u0435\u0442 Dependency-Check-\u043e\u0442\u0447\u0435\u0442\u044b \u0432 \u043e\u0434\u043d\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e. \u0412\u0442\u043e\u0440\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e HTML. \u0422\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 merge request metadata \u0432 SonarQube. \u0427\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0433\u043e\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u0443\u044e branch analysis. \u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u0435\u043b\u0430\u0435\u0442 SBOM \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e runtime-\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c. \u0414\u0440\u0443\u0433\u043e\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 test-\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0448\u0443\u043c\u043d\u044b\u0439 \u043e\u0442\u0447\u0435\u0442. \u0412 multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u043a\u0442\u043e-\u0442\u043e \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u043a\u0443\u0441\u043e\u043a YAML \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0447\u0443\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u0442, \u0438 \u0442\u0430\u043a \u043e\u043d\u043e \u0436\u0438\u0432\u0435\u0442 \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>\u0412 \u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0435\u043d\u044c \u044d\u0442\u043e \u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439.<\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0430\u043a\u043e\u0439 \u0434\u0440\u0435\u0439\u0444 security build-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<\/p>\n<p>\u0418 \u0432\u043e\u0442 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u044f \u0445\u043e\u0442\u0435\u043b \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <code>secure-build-gradle-plugin<\/code>.<\/p>\n<p>\u041d\u0435 \u043d\u043e\u0432\u044b\u043c \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u043c.<\/p>\n<p>\u0410 \u0441\u043b\u043e\u0435\u043c build tooling, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442, \u043a\u0430\u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 AppSec-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043a Gradle-\u043f\u0440\u043e\u0435\u043a\u0442\u0443.<\/p>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442: <a href=\"https:\/\/github.com\/Niki-1337\/secure-build-gradle-plugin\" rel=\"noopener noreferrer nofollow\">Secure Build Gradle Plugin<\/a><\/p>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0445\u043e\u0442\u0435\u043b \u0443\u0431\u0440\u0430\u0442\u044c<\/h3>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e DevSecOps \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 CI\/CD YAML.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e Java-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u0442:<\/p>\n<pre><code class=\"yaml\">script:  - .\/gradlew test  - .\/gradlew dependencyCheckAnalyze  - .\/gradlew cyclonedxBom  - .\/gradlew sonar<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u0438\u0434\u043d\u044b. Pipeline \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f. \u041e\u0442\u0447\u0435\u0442\u044b \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f.<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0440\u0430\u0437\u043c\u043d\u043e\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0437\u0430 \u0441\u0432\u043e\u044e security-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 pipeline. \u0412\u0435\u0440\u0441\u0438\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0438 \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f. \u041f\u0443\u0442\u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f. \u0413\u0434\u0435-\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 SARIF, \u0433\u0434\u0435-\u0442\u043e \u0437\u0430\u0431\u044b\u043b\u0438. \u0413\u0434\u0435-\u0442\u043e SonarQube \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 coverage XML, \u0433\u0434\u0435-\u0442\u043e \u043d\u0435\u0442. \u0413\u0434\u0435-\u0442\u043e branch analysis, \u0433\u0434\u0435-\u0442\u043e pull request analysis. \u0413\u0434\u0435-\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443, \u0430 \u0433\u0434\u0435-\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0448\u0438\u0442\u044c \u0438 \u0436\u0434\u0430\u0442\u044c pipeline.<\/p>\n<p>\u0421\u043d\u0430\u0440\u0443\u0436\u0438 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f.<\/p>\n<p>\u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u0430\u0431\u043e\u0440 \u0447\u0443\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0443\u0447\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439.<\/p>\n<p>\u0418 \u0441\u0430\u043c\u043e\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435: \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0441\u043f\u043e\u0440\u0438\u0442\u044c \u043d\u0435 \u043f\u0440\u043e \u0440\u0438\u0441\u043a, \u0430 \u043f\u0440\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u043e\u0442\u0447\u0435\u0442 \u043d\u0435 \u0442\u0430\u043c?<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 SonarQube \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 coverage?<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 \u043e\u0434\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 Dependency-Check \u043f\u0430\u0434\u0430\u0435\u0442, \u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0438\u0448\u0435\u0442 \u043e\u0442\u0447\u0435\u0442?<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 multi-module \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u043f\u044f\u0442\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u0439?<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0443\u0436\u0435 \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u201c\u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0435\u0449\u0435 tools\u201d.<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0435\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f conventions.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u0441\u044e security-\u043b\u043e\u0433\u0438\u043a\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 CI\/CD \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e<\/h3>\n<p>CI\/CD \u0445\u043e\u0440\u043e\u0448 \u043a\u0430\u043a \u043e\u0431\u0449\u0430\u044f \u0441\u0440\u0435\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041e\u043d \u0434\u0430\u0435\u0442 \u0447\u0438\u0441\u0442\u044b\u0439 runner, \u043b\u043e\u0433\u0438, artifacts, gates, approvals, \u043e\u0431\u0449\u0438\u0439 audit trail. \u042d\u0442\u043e \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<p>\u041d\u043e CI\/CD \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448 \u043a\u0430\u043a \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0436\u0438\u0432\u0435\u0442 \u0432\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 security-\u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 <code>.gitlab-ci.yml<\/code> \u0438\u043b\u0438 Jenkinsfile, \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u0438\u0447\u043d\u043e\u0439. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0443\u0448\u0438\u0442 \u043a\u043e\u0434 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c merge request, \u043d\u043e \u0438 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u0443\u043c\u0430\u0435\u0442 security pipeline.<\/p>\n<p>\u042d\u0442\u043e \u043f\u043b\u043e\u0445\u043e\u0439 feedback loop.<\/p>\n<p>\u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0443 \u0436\u0435 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0434\u043e merge request:<\/p>\n<pre><code class=\"bash\">.\/gradlew clean securityAnalyze --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0410 CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 workflow \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b.<\/p>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0442\u044c security workflow, \u0430 \u043d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0437\u0430\u043d\u043e\u0432\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435.<\/p>\n<h3>\u0418\u0434\u0435\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h3>\n<p>\u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0431\u044b\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439:<\/p>\n<pre><code>security behavior \u0434\u043e\u043b\u0436\u0435\u043d \u0436\u0438\u0442\u044c \u0431\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u0434\u0443,\u0430 CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 behavior \u0431\u0435\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f Gradle \u044d\u0442\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043b\u043e\u0436\u0438\u0442\u0441\u044f \u0432 convention plugin.<\/p>\n<p>Gradle \u0443\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0441\u0442\u043e\u043c, \u0433\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f, \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442\u0441\u044f \u0438 \u043a\u0430\u043a\u0438\u0435 tasks \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u0417\u043d\u0430\u0447\u0438\u0442, \u0442\u0443\u0434\u0430 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c\u044b\u0435 AppSec conventions.<\/p>\n<p>\u041d\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438.<\/p>\n<p>\u041d\u0435 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 risk acceptance.<\/p>\n<p>\u041d\u0435 vulnerability management.<\/p>\n<p>\u0410 \u0438\u043c\u0435\u043d\u043d\u043e build-time \u0441\u043b\u043e\u0439:<\/p>\n<ul>\n<li>\n<p>\u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c Dependency-Check;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0443\u0434\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442\u044b;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c SBOM;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c coverage \u0432 SonarQube;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c branch \u0438 merge request analysis;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u0436\u0438\u0442\u044c \u0441 multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u0434\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0434\u043d\u0443 \u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443.<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f Gradle plugin<\/h3>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 plugin \u043e\u0434\u0438\u043d \u0440\u0430\u0437:<\/p>\n<pre><code>plugins {  id \"java\"  id \"io.github.niki1337.securebuild.gradle-java\" version \"0.1.0\"}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0432 build-\u0444\u0430\u0439\u043b\u0435 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:<\/p>\n<pre><code>securityConventions {  serviceName = \"payment-api\"  sonarProjectKey = \"payment-api\"  allowLocalSonar = false}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430 plugin \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 root-\u0443\u0440\u043e\u0432\u043d\u0435:<\/p>\n<pre><code>plugins {  id \"io.github.niki1337.securebuild.gradle-java\" version \"0.1.0\"}securityConventions {  serviceName = \"payments-platform\"  sonarProjectKey = \"payments-platform\"  includedModules = [\"api\", \"service\"]  excludedModules = [\"test-fixtures\"]}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u044f.<\/p>\n<p>CI\/CD \u0432\u0441\u0435 \u0435\u0449\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. Security \u0432\u0441\u0435 \u0435\u0449\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0438 triage. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432\u0441\u0435 \u0435\u0449\u0435 \u0447\u0438\u043d\u044f\u0442 findings.<\/p>\n<p>\u041d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c\u0430\u044f scanner-\u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0430 \u0436\u0438\u0432\u0435\u0442 \u0432 build system, \u0430 \u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043a\u0430\u043a \u0443\u0441\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0430\u043d\u0438\u0435.<\/p>\n<h3>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c<\/h3>\n<p>Plugin \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.<\/p>\n<p>\u041e\u043d \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>SonarQube analysis;<\/p>\n<\/li>\n<li>\n<p>OWASP Dependency-Check;<\/p>\n<\/li>\n<li>\n<p>CycloneDX SBOM;<\/p>\n<\/li>\n<li>\n<p>JaCoCo \u0438\u043b\u0438 Kover coverage;<\/p>\n<\/li>\n<li>\n<p>Gradle single-module \u0438 multi-module behavior;<\/p>\n<\/li>\n<li>\n<p>Git branch metadata;<\/p>\n<\/li>\n<li>\n<p>GitLab merge request metadata.<\/p>\n<\/li>\n<\/ul>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430:<\/p>\n<pre><code class=\"bash\">.\/gradlew clean securityAnalyze --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><code>securityAnalyze<\/code> \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 AppSec-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b, coverage, SBOM generation \u0438 dependency analysis.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438, underlying tasks \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u043f\u0440\u044f\u0447\u0443\u0442\u0441\u044f:<\/p>\n<pre><code class=\"bash\">.\/gradlew cyclonedxDirectBom --no-daemon.\/gradlew dependencyCheckAnalyze --no-daemon.\/gradlew sonarHelp --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f multi-module:<\/p>\n<pre><code class=\"bash\">.\/gradlew dependencyCheckAggregate --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u043c\u044b\u0441\u043b \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.<\/p>\n<p>\u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0431\u044b\u043b \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c.<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0433\u043e\u043b\u043e\u0433\u043e CI\/CD<\/h3>\n<p>\u041c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c: \u201c\u0410 \u0437\u0430\u0447\u0435\u043c plugin? \u041c\u043e\u0436\u043d\u043e \u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 <code>.gitlab-ci.yml<\/code>\u201d.<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u041d\u043e \u043d\u0430 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ul>\n<li>\n<p>\u043f\u0443\u0442\u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>scanner settings \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>SonarQube metadata \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 pipeline;<\/p>\n<\/li>\n<li>\n<p>multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439;<\/p>\n<\/li>\n<li>\n<p>\u043d\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u0441\u0442\u0430\u0440\u044b\u0439 boilerplate;<\/p>\n<\/li>\n<li>\n<p>security-\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442, \u043a\u0430\u043a\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0434\u043e MR.<\/p>\n<\/li>\n<\/ul>\n<p>Gradle convention plugin \u0434\u0430\u0435\u0442 \u043e\u0434\u043d\u043e \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438.<\/p>\n<p>CI\/CD \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u0430\u0436\u043d\u044b\u043c, \u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f execution layer:<\/p>\n<pre><code>GitLab CI \/ Jenkins  \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 .\/gradlew securityAnalyze  \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 artifacts  \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 gates<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0410 build behavior \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u043b\u0438\u0436\u0435 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443:<\/p>\n<pre><code>Gradle plugin  \u0437\u043d\u0430\u0435\u0442 tasks  \u0437\u043d\u0430\u0435\u0442 report paths  \u0437\u043d\u0430\u0435\u0442 multi-module structure  \u0437\u043d\u0430\u0435\u0442 SonarQube metadata conventions<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u043a\u043e\u043d\u0442\u0443\u0440\u0430\u0445 \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e.<\/p>\n<p>\u0412\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0421\u041d\u0413-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u0445 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c SaaS \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0415\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 GitLab, \u0441\u0432\u043e\u0439 Nexus, Harbor, self-hosted SonarQube, \u043f\u0440\u043e\u043a\u0441\u0438, \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 CA, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 runners. \u0412 \u0442\u0430\u043a\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0432\u0430\u0436\u043d\u0435\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<\/p>\n<h3>SonarQube: \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/h3>\n<p>SonarQube \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u201c\u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u201d.<\/p>\n<p>\u042d\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u043f\u0430\u0441\u043d\u0430\u044f \u0437\u043e\u043d\u0430.<\/p>\n<p>Pipeline \u0437\u0435\u043b\u0435\u043d\u044b\u0439. Analysis \u0443\u0448\u0435\u043b. \u0412 UI \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>\u041d\u043e Java binaries \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438\u0441\u044c. Coverage XML \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0441\u044f. Merge request metadata \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0430\u0441\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0440\u043e\u0434\u0435 \u0435\u0441\u0442\u044c, \u043d\u043e \u043e\u043d \u0441\u043b\u0430\u0431\u0435\u0435, \u0447\u0435\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c.<\/p>\n<p>Plugin \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u0440\u0443\u0442\u0438\u043d\u0443 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e.<\/p>\n<p>\u041e\u043d \u0447\u0438\u0442\u0430\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437 environment variables, Gradle properties \u0438\u043b\u0438 <code>securityConventions<\/code>:<\/p>\n<pre><code class=\"bash\">export SONAR_HOST_URL=\"https:\/\/sonarqube.example.com\"export SONAR_PROJECT_KEY=\"payment-api\"export SONAR_TOKEN=\"token-value\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418 \u0433\u043e\u0442\u043e\u0432\u0438\u0442 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 Java SonarQube properties:<\/p>\n<pre><code>sonar.sourcessonar.testssonar.java.binariessonar.java.test.binariessonar.java.librariessonar.java.test.librariessonar.coverage.jacoco.xmlReportPathssonar.exclusionssonar.test.exclusionssonar.cpd.exclusionssonar.coverage.exclusions<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f GitLab merge request pipeline \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043c\u0430\u043f\u043f\u0438\u0442\u044c CI variables:<\/p>\n<pre><code>CI_MERGE_REQUEST_IID                  -&gt; sonar.pullrequest.keyCI_MERGE_REQUEST_SOURCE_BRANCH_NAME   -&gt; sonar.pullrequest.branchCI_MERGE_REQUEST_TARGET_BRANCH_NAME   -&gt; sonar.pullrequest.base<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f branch pipeline \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f branch analysis metadata.<\/p>\n<p>\u042d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u0430\u044f, \u043d\u043e \u0432\u0430\u0436\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430. \u0418 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043b\u0443\u0447\u0448\u0435 \u0440\u0435\u0448\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0440\u0430\u0437.<\/p>\n<h3>Dependency-Check: \u043e\u0442\u0447\u0435\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u043a\u0443\u0447\u043d\u044b\u043c\u0438<\/h3>\n<p>Dependency-Check \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0435\u0433\u043e \u043e\u0442\u0447\u0435\u0442\u044b \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b.<\/p>\n<p>\u042f \u043d\u0435 \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0438\u0441 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b JSON, \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e HTML, \u0442\u0440\u0435\u0442\u0438\u0439 SARIF \u0432 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u0441\u0435 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b \u0432 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c.<\/p>\n<p>Plugin \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u044b:<\/p>\n<pre><code>HTMLJSONSARIFXML<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418 \u043f\u0438\u0448\u0435\u0442 \u0438\u0445 \u0432:<\/p>\n<pre><code>build\/reports\/dependency-check<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0434\u0435\u043b\u0430\u0442\u044c pipeline \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435:<\/p>\n<ul>\n<li>\n<p>OSS Index;<\/p>\n<\/li>\n<li>\n<p>RetireJS;<\/p>\n<\/li>\n<li>\n<p>Node audit;<\/p>\n<\/li>\n<li>\n<p>Node package analyzer;<\/p>\n<\/li>\n<li>\n<p>hosted suppressions;<\/p>\n<\/li>\n<li>\n<p>CISA KEV analyzer.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u0443 \u0432\u0441\u0435\u0445 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c.<\/p>\n<p>\u0412 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c enterprise-\u043c\u0438\u0440\u0435 \u0447\u0430\u0441\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438, firewall, mirror, \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 registry \u0438 \u0437\u0430\u043f\u0440\u0435\u0442 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0439 outbound. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 security build \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u043c \u0438\u043b\u0438 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u0437-\u0437\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e endpoint.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 mirror, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e:<\/p>\n<pre><code class=\"bash\">DT_API_URL=https:\/\/dependency-track.example.com \\.\/gradlew dependencyCheckAnalyze --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e build \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u043e CVSS:<\/p>\n<pre><code>failBuildOnCVSS = 11<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 CVSS \u0440\u0430\u0432\u0435\u043d 10, \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442: \u043e\u0442\u0447\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c, \u043d\u043e build \u043d\u0435 \u0432\u0430\u043b\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e score.<\/p>\n<p>\u042d\u0442\u043e \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440.<\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u0430 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438 triage. \u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0437\u0443 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0436\u0435\u0441\u0442\u043a\u0438\u0435 gates \u043d\u0430 \u0448\u0443\u043c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0447\u043d\u0443\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c security \u043a\u0430\u043a \u0431\u043b\u043e\u043a\u0435\u0440 \u0431\u0435\u0437 \u0441\u043c\u044b\u0441\u043b\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0435, \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0438 false-positive reduction. \u041f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 blocking policy.<\/p>\n<h3>SBOM \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u0448\u0443\u043c\u0430<\/h3>\n<p>SBOM \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 artifact.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 test dependencies, \u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u0435\u0442, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u043b\u043e\u0436\u043d\u043e. \u0415\u0441\u043b\u0438 root multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e aggregator, root-level SBOM \u043c\u043e\u0436\u0435\u0442 \u043f\u043b\u043e\u0445\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n<p>Plugin \u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 runtime dependencies \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0439 \u0448\u0443\u043c:<\/p>\n<ul>\n<li>\n<p>runtime dependencies \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>test dependencies \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>license text \u043d\u0435 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>serial number \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u043b\u0438\u0448\u043d\u044f\u044f metadata \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f.<\/p>\n<\/li>\n<\/ul>\n<p>\u0422\u0438\u043f\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"bash\">.\/gradlew cyclonedxDirectBom --no-daemon.\/gradlew cyclonedxBom --no-daemon<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041e\u0442\u0447\u0435\u0442\u044b:<\/p>\n<pre><code>build\/reports\/cyclonedxbuild\/reports\/cyclonedx-direct<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f multi-module Spring Boot-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 plugin \u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 deployable module, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0434\u0443\u043b\u044c \u0441 <code>bootJar<\/code>, \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c SBOM \u0431\u043b\u0438\u0436\u0435 \u043a \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e, \u0430 \u043d\u0435 \u043a \u043f\u0443\u0441\u0442\u043e\u043c\u0443 root aggregator.<\/p>\n<p>\u042d\u0442\u043e \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043c\u0435\u043b\u043e\u0447\u044c\u044e, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0448\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c SBOM \u0432 Dependency-Track \u0438 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 findings \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 runtime.<\/p>\n<h3>Coverage wiring<\/h3>\n<p>Coverage \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e SonarQube analysis, \u043d\u043e paths \u0447\u0430\u0441\u0442\u043e \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f.<\/p>\n<p>Plugin \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>JaCoCo;<\/p>\n<\/li>\n<li>\n<p>Kover.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0440\u0435\u0436\u0438\u043c\u0435 <code>auto<\/code> \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Kover, \u0435\u0441\u043b\u0438 Kover \u0443\u0436\u0435 \u0435\u0441\u0442\u044c, \u0438\u043d\u0430\u0447\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 JaCoCo:<\/p>\n<pre><code>securityConventions {  coverageProvider = \"auto\"}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u043b\u044f JaCoCo plugin:<\/p>\n<ul>\n<li>\n<p>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 JaCoCo <code>0.8.13<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0434\u0435\u043b\u0430\u0435\u0442 <code>jacocoTestReport<\/code> \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c \u043e\u0442 tests;<\/p>\n<\/li>\n<li>\n<p>\u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 XML output;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 XML path \u0432 SonarQube.<\/p>\n<\/li>\n<\/ul>\n<p>\u0422\u0438\u043f\u043e\u0432\u043e\u0439 \u043f\u0443\u0442\u044c:<\/p>\n<pre><code>build\/reports\/jacoco\/test\/jacocoTestReport.xml<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u044d\u0442\u043e \u043d\u0435 rocket science. \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430 \u0441\u0430\u043c\u0430\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0447\u0438\u043d\u0438\u0442\u044c \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<h3>Multi-module Gradle \u043f\u0440\u043e\u0435\u043a\u0442\u044b<\/h3>\n<p>Multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0437\u0440\u0435\u043b\u0430\u044f.<\/p>\n<p>\u0414\u043b\u044f demo single-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u043e\u0447\u0442\u0438 \u043b\u044e\u0431\u043e\u0439 scanner \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u043e.<\/p>\n<p>\u0410 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439:<\/p>\n<pre><code>root  api  service  domain  client  test-fixtures<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f: \u0433\u0434\u0435 source? \u0433\u0434\u0435 tests? \u0433\u0434\u0435 binaries? \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c deployable? \u043a\u0430\u043a\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432 analysis? \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 root?<\/p>\n<p>Plugin \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 Java subprojects \u0441:<\/p>\n<pre><code>javajava-library<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0444\u0438\u043b\u044c\u0442\u0440\u044b:<\/p>\n<pre><code>securityConventions {  includedModules = [\"api\", \"service\"]  excludedModules = [\"test-fixtures\"]}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 multi-module \u0440\u0435\u0436\u0438\u043c\u0435 \u043e\u043d:<\/p>\n<ul>\n<li>\n<p>\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 coverage \u043f\u043e Java-\u043c\u043e\u0434\u0443\u043b\u044f\u043c;<\/p>\n<\/li>\n<li>\n<p>\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 coverage XML paths;<\/p>\n<\/li>\n<li>\n<p>\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0443\u0435\u0442 root-level SonarQube analysis;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0434\u0430\u0435\u0442 module-level source\/test\/binary\/library paths;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 aggregate Dependency-Check;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0443\u043c\u043d\u044b\u0439 root-level SBOM;<\/p>\n<\/li>\n<li>\n<p>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 deployable module \u0434\u043b\u044f SBOM, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0434\u0438\u043d\u044b\u0439 root-level <code>securityAnalyze<\/code>.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u201c\u043c\u044b \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043b\u0438 \u0441\u043a\u0430\u043d\u0435\u0440\u201d \u0438 \u201c\u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c build convention \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 Java repositories\u201d.<\/p>\n<h3>\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 CI\/CD \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e<\/h3>\n<p>CI\/CD \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 GitLab CI:<\/p>\n<pre><code class=\"yaml\">security:gradle:  image: eclipse-temurin:17  stage: test  variables:    GRADLE_USER_HOME: \"$CI_PROJECT_DIR\/.gradle\"  script:    - .\/gradlew clean securityAnalyze --no-daemon  artifacts:    when: always    expire_in: 7 days    paths:      - build\/reports\/dependency-check\/      - build\/reports\/cyclonedx\/      - build\/reports\/cyclonedx-direct\/      - \"**\/build\/reports\/jacoco\/\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>SonarQube \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e:<\/p>\n<pre><code class=\"yaml\">sonarqube:gradle:  image: eclipse-temurin:17  stage: test  script:    - .\/gradlew sonar --no-daemon  rules:    - if: '$SONAR_TOKEN'<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u0430\u0436\u043d\u0430\u044f \u043c\u044b\u0441\u043b\u044c:<\/p>\n<pre><code>CI\/CD \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 build tasks,\u0430 \u043d\u0435 \u0437\u0430\u043d\u043e\u0432\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 security conventions<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>Pipeline \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0447\u0438\u0442\u0430\u0435\u043c\u0435\u0435. \u0410\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u0435\u0435. \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0431\u043b\u0438\u0436\u0435 \u043a CI.<\/p>\n<h3>\u0427\u0442\u043e \u044d\u0442\u043e\u0442 plugin \u043d\u0435 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0448\u0438\u0442\u044c<\/h3>\n<p>Plugin \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d.<\/p>\n<p>\u041e\u043d \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>SonarQube;<\/p>\n<\/li>\n<li>\n<p>OWASP Dependency-Check;<\/p>\n<\/li>\n<li>\n<p>CycloneDX;<\/p>\n<\/li>\n<li>\n<p>DefectDojo \u0438\u043b\u0438 Dependency-Track;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0443\u0447\u043d\u043e\u0439 vulnerability triage;<\/p>\n<\/li>\n<li>\n<p>risk acceptance;<\/p>\n<\/li>\n<li>\n<p>secret scanning;<\/p>\n<\/li>\n<li>\n<p>DAST;<\/p>\n<\/li>\n<li>\n<p>container scanning;<\/p>\n<\/li>\n<li>\n<p>IaC scanning;<\/p>\n<\/li>\n<li>\n<p>release approval process.<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u043d\u0435 \u201c\u0432\u0435\u0441\u044c DevSecOps \u0432 \u043e\u0434\u043d\u043e\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438\u201d.<\/p>\n<p>\u042d\u0442\u043e build-time \u0441\u043b\u043e\u0439 \u0434\u043b\u044f Java AppSec:<\/p>\n<pre><code>SCASBOMcoverageSonarQube metadatalocal and CI\/CD behaviorreport conventions<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>Secret scanning \u044f \u0441\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043d\u043e\u0448\u0443 \u043a \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u043c\u0443 \u0441\u043b\u043e\u044e: \u0434\u043e commit \u0438 push. \u041f\u0440\u043e \u044d\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0430\u043c \u0434\u0440\u0443\u0433\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 feedback loop.<\/p>\n<h3>\u0418\u0442\u043e\u0433<\/h3>\n<p><code>secure-build-gradle-plugin<\/code> \u0440\u0435\u0448\u0430\u0435\u0442 \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u201c\u043d\u0435\u0442 \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u0432\u201d.<\/p>\n<p>\u041e\u043d \u0440\u0435\u0448\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u201c\u0441\u043a\u0430\u043d\u0435\u0440\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432\u0435\u0437\u0434\u0435 \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443\u201d.<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0437\u0430\u043d\u043e\u0432\u043e \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u043b SonarQube, Dependency-Check, CycloneDX \u0438 coverage wiring, \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0434\u0438\u043d Gradle-\u0441\u043b\u043e\u0439:<\/p>\n<pre><code class=\"bash\">.\/gradlew securityAnalyze<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u044e\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c.<\/p>\n<p>CI\/CD \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0435 artifacts.<\/p>\n<p>Security-\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u043e\u0442\u0447\u0435\u0442\u043e\u0432.<\/p>\n<p>Multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n<p>\u0418 \u0433\u043b\u0430\u0432\u043d\u043e\u0435: security tooling \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e Java engineering workflow, \u0430 \u043d\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432\u043e\u043a\u0440\u0443\u0433 \u043d\u0435\u0433\u043e.<\/p>\n<h3>\u0421\u0441\u044b\u043b\u043a\u0438<\/h3>\n<ul>\n<li>\n<p>Secure Build Gradle Plugin: <a href=\"https:\/\/github.com\/Niki-1337\/secure-build-gradle-plugin\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/Niki-1337\/secure-build-gradle-plugin<\/a><\/p>\n<\/li>\n<li>\n<p>Secure Build Maven Extension: <a href=\"https:\/\/github.com\/Niki-1337\/secure-build-maven-extension\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/Niki-1337\/secure-build-maven-extension<\/a><\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0435\u0440\u043d\u043e\u0432\u044b\u0435 \u0445\u0430\u0431\u044b \u0434\u043b\u044f Habr<\/h3>\n<p><code>Java<\/code>, <code>Gradle<\/code>, <code>DevOps<\/code>, <code>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c<\/code>, <code>CI\/CD<\/code><\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1032532\/\">https:\/\/habr.com\/ru\/articles\/1032532\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u0432\u044b\u043d\u0435\u0441 security-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 Java-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0438\u0437 \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u043d\u044b\u0445 CI\/CD-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 Gradle convention plugin.\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435\u0421\u0430\u043c\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c Java AppSec \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0441\u043a\u0430\u043d\u0435\u0440.\u0421\u043a\u0430\u043d\u0435\u0440\u044b \u0443 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u0435\u0441\u0442\u044c.\u0415\u0441\u0442\u044c SonarQube \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430. \u0415\u0441\u0442\u044c OWASP Dependency-Check \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0415\u0441\u0442\u044c CycloneDX \u0434\u043b\u044f SBOM. \u0415\u0441\u0442\u044c JaCoCo \u0438\u043b\u0438 Kover \u0434\u043b\u044f \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f. \u0415\u0441\u0442\u044c GitLab CI, Jenkins, TeamCity, GitHub Actions \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 CI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0435 \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442.\u0418 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u0442\u044c\u0441\u044f.\u041e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0438\u0441 \u043a\u043b\u0430\u0434\u0435\u0442 Dependency-Check-\u043e\u0442\u0447\u0435\u0442\u044b \u0432 \u043e\u0434\u043d\u0443 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e. \u0412\u0442\u043e\u0440\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e HTML. \u0422\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 merge request metadata \u0432 SonarQube. \u0427\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0433\u043e\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u0443\u044e branch analysis. \u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0434\u0435\u043b\u0430\u0435\u0442 SBOM \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e runtime-\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c. \u0414\u0440\u0443\u0433\u043e\u0439 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 test-\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0448\u0443\u043c\u043d\u044b\u0439 \u043e\u0442\u0447\u0435\u0442. \u0412 multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u043a\u0442\u043e-\u0442\u043e \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u043a\u0443\u0441\u043e\u043a YAML \u0438\u0437 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0447\u0443\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u0442, \u0438 \u0442\u0430\u043a \u043e\u043d\u043e \u0436\u0438\u0432\u0435\u0442 \u0434\u0430\u043b\u044c\u0448\u0435.\u0412 \u043f\u0435\u0440\u0432\u044b\u0439 \u0434\u0435\u043d\u044c \u044d\u0442\u043e \u043d\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439.\u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u044d\u0442\u043e \u0443\u0436\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0430\u043a\u043e\u0439 \u0434\u0440\u0435\u0439\u0444 security build-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.\u0418 \u0432\u043e\u0442 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u044f \u0445\u043e\u0442\u0435\u043b \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0447\u0435\u0440\u0435\u0437 secure-build-gradle-plugin.\u041d\u0435 \u043d\u043e\u0432\u044b\u043c \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u043c.\u0410 \u0441\u043b\u043e\u0435\u043c build tooling, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442, \u043a\u0430\u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 AppSec-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043a Gradle-\u043f\u0440\u043e\u0435\u043a\u0442\u0443.\u041f\u0440\u043e\u0435\u043a\u0442: Secure Build Gradle Plugin\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u0445\u043e\u0442\u0435\u043b \u0443\u0431\u0440\u0430\u0442\u044c\u041e\u0431\u044b\u0447\u043d\u043e DevSecOps \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 CI\/CD YAML.\u0414\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e Java-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u0442:script:  &#8212; .\/gradlew test  &#8212; .\/gradlew dependencyCheckAnalyze  &#8212; .\/gradlew cyclonedxBom  &#8212; .\/gradlew sonar\u0412\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u0438\u0434\u043d\u044b. Pipeline \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f. \u041e\u0442\u0447\u0435\u0442\u044b \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0440\u0430\u0437\u043c\u043d\u043e\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.\u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0437\u0430 \u0441\u0432\u043e\u044e security-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e. \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u043a\u0443\u0441\u043a\u0438 pipeline. \u0412\u0435\u0440\u0441\u0438\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0438 \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f. \u041f\u0443\u0442\u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f. \u0413\u0434\u0435-\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 SARIF, \u0433\u0434\u0435-\u0442\u043e \u0437\u0430\u0431\u044b\u043b\u0438. \u0413\u0434\u0435-\u0442\u043e SonarQube \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 coverage XML, \u0433\u0434\u0435-\u0442\u043e \u043d\u0435\u0442. \u0413\u0434\u0435-\u0442\u043e branch analysis, \u0433\u0434\u0435-\u0442\u043e pull request analysis. \u0413\u0434\u0435-\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443, \u0430 \u0433\u0434\u0435-\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0448\u0438\u0442\u044c \u0438 \u0436\u0434\u0430\u0442\u044c pipeline.\u0421\u043d\u0430\u0440\u0443\u0436\u0438 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f.\u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u0430\u0431\u043e\u0440 \u0447\u0443\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0443\u0447\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439.\u0418 \u0441\u0430\u043c\u043e\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435: \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0441\u043f\u043e\u0440\u0438\u0442\u044c \u043d\u0435 \u043f\u0440\u043e \u0440\u0438\u0441\u043a, \u0430 \u043f\u0440\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0443 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432.\u041f\u043e\u0447\u0435\u043c\u0443 \u043e\u0442\u0447\u0435\u0442 \u043d\u0435 \u0442\u0430\u043c?\u041f\u043e\u0447\u0435\u043c\u0443 SonarQube \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 coverage?\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 \u043e\u0434\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 Dependency-Check \u043f\u0430\u0434\u0430\u0435\u0442, \u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0438\u0448\u0435\u0442 \u043e\u0442\u0447\u0435\u0442?\u041f\u043e\u0447\u0435\u043c\u0443 multi-module \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u043f\u044f\u0442\u044c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u0439?\u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0443\u0436\u0435 \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u201c\u043d\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0435\u0449\u0435 tools\u201d.\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0435\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f conventions.\u041f\u043e\u0447\u0435\u043c\u0443 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u0441\u044e security-\u043b\u043e\u0433\u0438\u043a\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 CI\/CD \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043eCI\/CD \u0445\u043e\u0440\u043e\u0448 \u043a\u0430\u043a \u043e\u0431\u0449\u0430\u044f \u0441\u0440\u0435\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.\u041e\u043d \u0434\u0430\u0435\u0442 \u0447\u0438\u0441\u0442\u044b\u0439 runner, \u043b\u043e\u0433\u0438, artifacts, gates, approvals, \u043e\u0431\u0449\u0438\u0439 audit trail. \u042d\u0442\u043e \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u043e.\u041d\u043e CI\/CD \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448 \u043a\u0430\u043a \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0436\u0438\u0432\u0435\u0442 \u0432\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 security-\u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a.\u0415\u0441\u043b\u0438 \u0432\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 .gitlab-ci.yml \u0438\u043b\u0438 Jenkinsfile, \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u0438\u0447\u043d\u043e\u0439. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043f\u0443\u0448\u0438\u0442 \u043a\u043e\u0434 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c merge request, \u043d\u043e \u0438 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u0443\u043c\u0430\u0435\u0442 security pipeline.\u042d\u0442\u043e \u043f\u043b\u043e\u0445\u043e\u0439 feedback loop.\u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0443 \u0436\u0435 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0434\u043e merge request:.\/gradlew clean securityAnalyze &#8212;no-daemon\u0410 CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 workflow \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b.\u0422\u043e \u0435\u0441\u0442\u044c CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0442\u044c security workflow, \u0430 \u043d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0437\u0430\u043d\u043e\u0432\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.\u042d\u0442\u043e \u0432\u0430\u0436\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435.\u0418\u0434\u0435\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0431\u044b\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439:security behavior \u0434\u043e\u043b\u0436\u0435\u043d \u0436\u0438\u0442\u044c \u0431\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u0434\u0443,\u0430 CI\/CD \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 behavior \u0431\u0435\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438\u0414\u043b\u044f Gradle \u044d\u0442\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043b\u043e\u0436\u0438\u0442\u0441\u044f \u0432 convention plugin.Gradle \u0443\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0441\u0442\u043e\u043c, \u0433\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f, \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442\u0441\u044f \u0438 \u043a\u0430\u043a\u0438\u0435 tasks \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u0417\u043d\u0430\u0447\u0438\u0442, \u0442\u0443\u0434\u0430 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c\u044b\u0435 AppSec conventions.\u041d\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438.\u041d\u0435 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 risk acceptance.\u041d\u0435 vulnerability management.\u0410 \u0438\u043c\u0435\u043d\u043d\u043e build-time \u0441\u043b\u043e\u0439:\u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c Dependency-Check;\u043a\u0443\u0434\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442\u044b;\u043a\u0430\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c;\u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c SBOM;\u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c coverage \u0432 SonarQube;\u043a\u0430\u043a \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c branch \u0438 merge request analysis;\u043a\u0430\u043a \u0436\u0438\u0442\u044c \u0441 multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438;\u043a\u0430\u043a \u0434\u0430\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0434\u043d\u0443 \u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443.\u041a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f Gradle plugin\u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 plugin \u043e\u0434\u0438\u043d \u0440\u0430\u0437:plugins {  id &#171;java&#187;  id &#171;io.github.niki1337.securebuild.gradle-java&#187; version &#171;0.1.0&#187;}\u0414\u0430\u043b\u044c\u0448\u0435 \u0432 build-\u0444\u0430\u0439\u043b\u0435 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430:securityConventions {  serviceName = &#171;payment-api&#187;  sonarProjectKey = &#171;payment-api&#187;  allowLocalSonar = false}\u0414\u043b\u044f multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u0430 plugin \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 root-\u0443\u0440\u043e\u0432\u043d\u0435:plugins {  id &#171;io.github.niki1337.securebuild.gradle-java&#187; version &#171;0.1.0&#187;}securityConventions {  serviceName = &#171;payments-platform&#187;  sonarProjectKey = &#171;payments-platform&#187;  includedModules = [&#171;api&#187;, &#171;service&#187;]  excludedModules = [&#171;test-fixtures&#187;]}\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u044f.CI\/CD \u0432\u0441\u0435 \u0435\u0449\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. Security \u0432\u0441\u0435 \u0435\u0449\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0438 triage. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432\u0441\u0435 \u0435\u0449\u0435 \u0447\u0438\u043d\u044f\u0442 findings.\u041d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u043c\u0430\u044f scanner-\u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0430 \u0436\u0438\u0432\u0435\u0442 \u0432 build system, \u0430 \u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043a\u0430\u043a \u0443\u0441\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0430\u043d\u0438\u0435.\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043cPlugin \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.\u041e\u043d \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442:SonarQube analysis;OWASP Dependency-Check;CycloneDX SBOM;JaCoCo \u0438\u043b\u0438 Kover coverage;Gradle single-module \u0438 multi-module behavior;Git branch metadata;GitLab merge request metadata.\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430:.\/gradlew clean securityAnalyze &#8212;no-daemonsecurityAnalyze \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 AppSec-\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b, coverage, SBOM generation \u0438 dependency analysis.\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438, underlying tasks \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u043f\u0440\u044f\u0447\u0443\u0442\u0441\u044f:.\/gradlew cyclonedxDirectBom &#8212;no-daemon.\/gradlew dependencyCheckAnalyze &#8212;no-daemon.\/gradlew sonarHelp &#8212;no-daemon\u0414\u043b\u044f multi-module:.\/gradlew dependencyCheckAggregate &#8212;no-daemon\u0421\u043c\u044b\u0441\u043b \u043d\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.\u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0431\u044b\u043b \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c.\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0433\u043e\u043b\u043e\u0433\u043e CI\/CD\u041c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c: \u201c\u0410 \u0437\u0430\u0447\u0435\u043c plugin? \u041c\u043e\u0436\u043d\u043e \u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 .gitlab-ci.yml\u201d.\u041c\u043e\u0436\u043d\u043e.\u0414\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.\u041d\u043e \u043d\u0430 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:\u043f\u0443\u0442\u0438 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f;scanner settings \u0440\u0430\u0441\u0445\u043e\u0434\u044f\u0442\u0441\u044f;SonarQube metadata \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442\u0441\u044f;\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 pipeline;multi-module \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439;\u043d\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442 \u0441\u0442\u0430\u0440\u044b\u0439 boilerplate;security-\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432;\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442, \u043a\u0430\u043a\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0434\u043e MR.Gradle convention plugin \u0434\u0430\u0435\u0442 \u043e\u0434\u043d\u043e \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u043c\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438.CI\/CD \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u0430\u0436\u043d\u044b\u043c, \u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f execution layer:GitLab CI \/ Jenkins  \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 .\/gradlew securityAnalyze  \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 artifacts  \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 gates\u0410 build behavior \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u043b\u0438\u0436\u0435 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443:Gradle plugin  \u0437\u043d\u0430\u0435\u0442 tasks  \u0437\u043d\u0430\u0435\u0442 report paths  \u0437\u043d\u0430\u0435\u0442 multi-module structure  \u0437\u043d\u0430\u0435\u0442 SonarQube metadata conventions\u0412 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u043a\u043e\u043d\u0442\u0443\u0440\u0430\u0445 \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e.\u0412\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0421\u041d\u0413-\u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u0445 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u0442\u044c SaaS \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0415\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 GitLab, \u0441\u0432\u043e\u0439 Nexus, Harbor, self-hosted SonarQube, \u043f\u0440\u043e\u043a\u0441\u0438, \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 CA, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 runners. \u0412 \u0442\u0430\u043a\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0432\u0430\u0436\u043d\u0435\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.SonarQube: \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438SonarQube \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u201c\u043f\u043e\u0447\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u201d.\u042d\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u043f\u0430\u0441\u043d\u0430\u044f \u0437\u043e\u043d\u0430.Pipeline \u0437\u0435\u043b\u0435\u043d\u044b\u0439. Analysis \u0443\u0448\u0435\u043b. \u0412 UI \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c.\u041d\u043e Java binaries \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438\u0441\u044c. Coverage XML \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0441\u044f. Merge request metadata \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0430\u0441\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0440\u043e\u0434\u0435 \u0435\u0441\u0442\u044c, \u043d\u043e \u043e\u043d \u0441\u043b\u0430\u0431\u0435\u0435, \u0447\u0435\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c.Plugin \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u0440\u0443\u0442\u0438\u043d\u0443 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e.\u041e\u043d \u0447\u0438\u0442\u0430\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437 environment variables, Gradle properties \u0438\u043b\u0438 securityConventions:export SONAR_HOST_URL=&#187;https:\/\/sonarqube.example.com&#187;export SONAR_PROJECT_KEY=&#187;payment-api&#187;export SONAR_TOKEN=&#187;token-value&#187;\u0418 \u0433\u043e\u0442\u043e\u0432\u0438\u0442 \u0442\u0438\u043f\u043e\u0432\u044b\u0435 Java SonarQube properties:sonar.sourcessonar.testssonar.java.binariessonar.java.test.binariessonar.java.librariessonar.java.test.librariessonar.coverage.jacoco.xmlReportPathssonar.exclusionssonar.test.exclusionssonar.cpd.exclusionssonar.coverage.exclusions\u0414\u043b\u044f GitLab merge request pipeline \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043c\u0430\u043f\u043f\u0438\u0442\u044c CI variables:CI_MERGE_REQUEST_IID                  -&gt; sonar.pullrequest.keyCI_MERGE_REQUEST_SOURCE_BRANCH_NAME   -&gt; sonar.pullrequest.branchCI_MERGE_REQUEST_TARGET_BRANCH_NAME   -&gt; sonar.pullrequest.base\u0414\u043b\u044f branch pipeline \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f branch analysis metadata.\u042d\u0442\u043e \u0441\u043a\u0443\u0447\u043d\u0430\u044f, \u043d\u043e \u0432\u0430\u0436\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430. \u0418 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043b\u0443\u0447\u0448\u0435 \u0440\u0435\u0448\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0440\u0430\u0437.Dependency-Check: \u043e\u0442\u0447\u0435\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u043a\u0443\u0447\u043d\u044b\u043c\u0438Dependency-Check \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0435\u0433\u043e \u043e\u0442\u0447\u0435\u0442\u044b \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b.\u042f \u043d\u0435 \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0438\u0441 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b JSON, \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u043b\u044c\u043a\u043e HTML, \u0442\u0440\u0435\u0442\u0438\u0439 SARIF \u0432 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u0441\u0435 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b \u0432 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c.Plugin \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u044b:HTMLJSONSARIFXML\u0418 \u043f\u0438\u0448\u0435\u0442 \u0438\u0445 \u0432:build\/reports\/dependency-check\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0434\u0435\u043b\u0430\u0442\u044c pipeline \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435:OSS Index;RetireJS;Node audit;Node package analyzer;hosted suppressions;CISA KEV analyzer.\u0412 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u0443 \u0432\u0441\u0435\u0445 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c.\u0412 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c enterprise-\u043c\u0438\u0440\u0435 \u0447\u0430\u0441\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438, firewall, mirror, \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 registry \u0438 \u0437\u0430\u043f\u0440\u0435\u0442 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0439 outbound. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 security build \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u043c \u0438\u043b\u0438 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u0437-\u0437\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e endpoint.\u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 mirror, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e:DT_API_URL=https:\/\/dependency-track.example.com \\.\/gradlew dependencyCheckAnalyze &#8212;no-daemon\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e build \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u043e CVSS:failBuildOnCVSS = 11\u0422\u0430\u043a \u043a\u0430\u043a \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 CVSS \u0440\u0430\u0432\u0435\u043d 10, \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442: \u043e\u0442\u0447\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c, \u043d\u043e build \u043d\u0435 \u0432\u0430\u043b\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e score.\u042d\u0442\u043e \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440.\u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u0430 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438 triage. \u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0437\u0443 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0436\u0435\u0441\u0442\u043a\u0438\u0435 gates \u043d\u0430 \u0448\u0443\u043c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0447\u043d\u0443\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c security \u043a\u0430\u043a \u0431\u043b\u043e\u043a\u0435\u0440 \u0431\u0435\u0437 \u0441\u043c\u044b\u0441\u043b\u0430. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u043d\u043d\u044b\u0435, \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0438 false-positive reduction. \u041f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 blocking policy.SBOM \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u0448\u0443\u043c\u0430SBOM \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-478911","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=478911"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478911\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=478911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=478911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=478911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}