{"id":692,"date":"2025-12-28T11:47:08","date_gmt":"2025-12-28T10:47:08","guid":{"rendered":"https:\/\/regulated-devsecops.com\/?page_id=692"},"modified":"2026-01-15T19:35:50","modified_gmt":"2026-01-15T18:35:50","slug":"ci-cd-security","status":"publish","type":"page","link":"https:\/\/regulated-devsecops.com\/zh-hans\/ci-cd-security\/","title":{"rendered":"CI\/CD \u5b89\u5168"},"content":{"rendered":"\n<p>CI\/CD \u5b89\u5168\u662f\u6307\u7528\u4e8e\u4fdd\u62a4\u6301\u7eed\u96c6\u6210\uff08CI\uff09\u548c\u6301\u7eed\u4ea4\u4ed8\uff08CD\uff09\u6d41\u6c34\u7ebf\u7684\u5b9e\u8df5\u3001\u63a7\u5236\u548c\u6280\u672f\u63aa\u65bd\uff0c\u8986\u76d6\u6574\u4e2a\u8f6f\u4ef6\u5f00\u53d1\u751f\u547d\u5468\u671f\u3002\u5728\u4f01\u4e1a\u7ea7\u548c\u53d7\u76d1\u7ba1\u73af\u5883\u4e2d\uff0cCI\/CD \u6d41\u6c34\u7ebf\u662f\u5173\u952e\u8d44\u4ea7\uff0c\u76f4\u63a5\u5f71\u54cd\u8f6f\u4ef6\u5b8c\u6574\u6027\u3001\u53ef\u7528\u6027\u4ee5\u53ca\u5408\u89c4\u6027\u3002<\/p>\n\n\n\n<p>\u73b0\u4ee3 CI\/CD \u6d41\u6c34\u7ebf\u81ea\u52a8\u5316\u4e86\u4ee3\u7801\u96c6\u6210\u3001\u6d4b\u8bd5\u3001\u6784\u5efa\u548c\u90e8\u7f72\u6d41\u7a0b\u3002\u867d\u7136\u81ea\u52a8\u5316\u663e\u8457\u63d0\u5347\u4e86\u4ea4\u4ed8\u6548\u7387\uff0c\u4f46\u5982\u679c\u7f3a\u4e4f\u9002\u5f53\u7684\u5b89\u5168\u8bbe\u8ba1\u548c\u63a7\u5236\uff0c\u4e5f\u4f1a\u5f15\u5165\u4e25\u91cd\u7684\u5b89\u5168\u98ce\u9669\u3002\u56e0\u6b64\uff0c\u5728\u53d7\u76d1\u7ba1\u884c\u4e1a\u4e2d\uff0c\u4fdd\u62a4 CI\/CD \u6d41\u6c34\u7ebf\u5df2\u6210\u4e3a\u5b89\u5168\u4e0e\u6cbb\u7406\u7684\u57fa\u7840\u8981\u6c42\u3002<\/p>\n\n\n\n<!-- GeneratePress Inline SVG \u2013 Regulated DevSecOps (ZH-CN) -->\n<figure class=\"gp-rds-diagram\">\n  <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n       viewBox=\"0 0 1000 360\"\n       role=\"img\"\n       aria-labelledby=\"title desc\">\n\n  <title id=\"title_0\">CI\/CD \u67b6\u6784 \u2014 \u6d41\u6c34\u7ebf\u3001\u5ba1\u8ba1\u8bc1\u636e\u4e0e\u5ba1\u6279<\/title>\n  <desc id=\"desc_0\">\n    \u4ee5 CI\/CD \u4e3a\u6838\u5fc3\u7684\u67b6\u6784\uff0c\u5c55\u793a\u6d41\u6c34\u7ebf\u5982\u4f55\u5f3a\u5236\u6267\u884c\u5ba1\u6279\u3001\n    \u5b89\u5168\u63a7\u5236\uff0c\u5e76\u6301\u7eed\u751f\u6210\u53ef\u5ba1\u8ba1\u7684\u5408\u89c4\u8bc1\u636e\u3002\n  <\/desc>\n\n  <style>\n    :root{\n      --bg:transparent;\n      --text:#0f172a;\n      --muted:#475569;\n      --stroke:#cbd5e1;\n      --card:#ffffff;\n\n      --accent:#2563eb;\n      --accentSoft:#dbeafe;\n\n      --evidence:#059669;\n      --evidenceSoft:#d1fae5;\n    }\n\n    .txt{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;}\n    .title{font-weight:700;font-size:22px;fill:var(--text);}\n    .sub{font-size:14px;fill:var(--muted);}\n    .label{font-weight:600;font-size:14px;fill:var(--text);}\n    .small{font-size:12px;fill:var(--muted);}\n\n    .card{fill:var(--card);stroke:var(--stroke);stroke-width:1.5;rx:14;}\n    .chip{fill:transparent;stroke:var(--stroke);stroke-width:1.5;rx:6;}\n    .chipText{font-weight:600;font-size:12px;fill:var(--text);}\n\n    .main .card{stroke:var(--accent);}\n    .main .chip{stroke:var(--accent);fill:var(--accentSoft);}\n\n    .evidence .chip{stroke:var(--evidence);fill:var(--evidenceSoft);}\n\n    .flow{fill:none;stroke:var(--stroke);stroke-width:2.5;stroke-linecap:round;}\n    .arrow{marker-end:url(#arrow);}\n    .divider{stroke:var(--stroke);stroke-width:2;stroke-dasharray:6 6;}\n  <\/style>\n\n  <defs>\n    <marker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\"\n            markerWidth=\"7\" markerHeight=\"7\" orient=\"auto\">\n      <path d=\"M0 0 L10 5 L0 10 Z\" fill=\"var(--stroke)\"\/>\n    <\/marker>\n  <\/defs>\n\n  <!-- Header -->\n  <text class=\"txt title\" x=\"40\" y=\"42\">\n    CI\/CD \u67b6\u6784 \u2014 \u6d41\u6c34\u7ebf\u3001\u5ba1\u8ba1\u8bc1\u636e\u4e0e\u5ba1\u6279\n  <\/text>\n  <text class=\"txt sub\" x=\"40\" y=\"68\">\n    \u5c06 CI\/CD \u4f5c\u4e3a\u53d7\u76d1\u7ba1\u7684\u63a7\u5236\u4e0e\u5ba1\u8ba1\u7cfb\u7edf\n  <\/text>\n\n  <!-- Core pipeline -->\n  <g class=\"main\" transform=\"translate(40,110)\">\n    <rect class=\"card\" width=\"520\" height=\"200\"\/>\n    <text class=\"txt label\" x=\"18\" y=\"34\">CI\/CD \u6d41\u6c34\u7ebf\uff08\u53d7\u76d1\u7ba1\u7cfb\u7edf\uff09<\/text>\n    <text class=\"txt small\" x=\"18\" y=\"58\">\n      \u6240\u6709\u751f\u4ea7\u73af\u5883\u7684\u53d8\u66f4\u5747\u901a\u8fc7\u8be5\u6d41\u6c34\u7ebf\n    <\/text>\n\n    <g transform=\"translate(18,82)\">\n      <rect class=\"chip\" width=\"484\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"242\" y=\"19\" text-anchor=\"middle\">\n        \u8bbf\u95ee\u63a7\u5236\u4e0e\u804c\u8d23\u5206\u79bb\uff08RBAC\u3001MFA\uff09\n      <\/text>\n    <\/g>\n\n    <g transform=\"translate(18,116)\">\n      <rect class=\"chip\" width=\"484\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"242\" y=\"19\" text-anchor=\"middle\">\n        \u53d8\u66f4\u5ba1\u6279\u4e0e\u7b56\u7565\u5173\u5361\uff08\u5f3a\u5236\uff09\n      <\/text>\n    <\/g>\n\n    <g transform=\"translate(18,150)\">\n      <rect class=\"chip\" width=\"484\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"242\" y=\"19\" text-anchor=\"middle\">\n        \u5b89\u5168\u4e0e\u5b8c\u6574\u6027\u63a7\u5236\uff08SAST\u3001SCA\u3001SBOM\u3001\u7b7e\u540d\uff09\n      <\/text>\n    <\/g>\n  <\/g>\n\n  <!-- Evidence -->\n  <line class=\"divider\" x1=\"600\" y1=\"90\" x2=\"600\" y2=\"350\"\/>\n\n  <g class=\"evidence\" transform=\"translate(640,110)\">\n    <rect class=\"card\" width=\"320\" height=\"200\"\/>\n    <text class=\"txt label\" x=\"18\" y=\"34\">\u5ba1\u8ba1\u8bc1\u636e<\/text>\n    <text class=\"txt small\" x=\"18\" y=\"58\">\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\uff0c\u6301\u7eed\u8bb0\u5f55<\/text>\n\n    <g transform=\"translate(18,82)\">\n      <rect class=\"chip\" width=\"284\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"142\" y=\"19\" text-anchor=\"middle\">\n        \u5ba1\u6279\u4e0e\u90e8\u7f72\u65e5\u5fd7\n      <\/text>\n    <\/g>\n\n    <g transform=\"translate(18,116)\">\n      <rect class=\"chip\" width=\"284\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"142\" y=\"19\" text-anchor=\"middle\">\n        \u5b89\u5168\u626b\u63cf\u7ed3\u679c\u4e0e\u7b56\u7565\u51b3\u7b56\n      <\/text>\n    <\/g>\n\n    <g transform=\"translate(18,150)\">\n      <rect class=\"chip\" width=\"284\" height=\"28\"\/>\n      <text class=\"txt chipText\" x=\"142\" y=\"19\" text-anchor=\"middle\">\n        \u53ef\u8ffd\u6eaf\u6027\uff1a\u63d0\u4ea4 \u2192 \u5236\u54c1 \u2192 \u751f\u4ea7\n      <\/text>\n    <\/g>\n  <\/g>\n\n  <!-- Flow -->\n  <path class=\"flow arrow\" d=\"M560 210 L640 210\"\/>\n\n<\/svg>\n\n  <figcaption class=\"gp-rds-caption\">\n    \u4ee5 CI\/CD \u4e3a\u6838\u5fc3\u7684\u67b6\u6784\uff0c\u5c55\u793a\u6d41\u6c34\u7ebf\u5982\u4f55\u5f3a\u5236\u6267\u884c\u5ba1\u6279\u3001\n    \u5b89\u5168\u63a7\u5236\uff0c\u5e76\u6301\u7eed\u751f\u6210\u53ef\u5ba1\u8ba1\u7684\u5408\u89c4\u8bc1\u636e\u3002\n  <\/figcaption>\n<\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>CI\/CD \u7ba1\u9053\u7684\u5b89\u5168\u751f\u547d\u5468\u671f<\/strong><\/h2>\n\n\n\n<p><strong>\u6838\u5fc3\u91cd\u70b9\uff1a SAST \u2022 DAST \u2022 \u4f9d\u8d56\u9879\u5b89\u5168 \u2022 \u5b89\u5168\u7b56\u7565\u6267\u884c<\/strong><\/p>\n\n\n\n<!-- GeneratePress Inline SVG \u2013 Regulated DevSecOps (ZH-CN) -->\n<figure class=\"gp-rds-diagram\">\n  <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n       viewBox=\"0 0 1200 420\"\n       role=\"img\"\n       aria-labelledby=\"gp-rds-title gp-rds-desc\"\n       class=\"gp-rds-svg\">\n\n    <title id=\"gp-rds-title\">DevSecOps<\/title>\n\n    <desc id=\"gp-rds-desc\">\n      SAST \u5728\u5f00\u53d1\u8005\u9636\u6bb5\u7528\u4e8e\u5feb\u901f\u53cd\u9988\uff0c\u5e76\u5728 CI\/CD \u6d41\u6c34\u7ebf\u4e2d\u7528\u4e8e\u7b56\u7565\u5f3a\u5236\u6267\u884c\uff0c\n      \u540c\u65f6\u7ed3\u5408 SCA \u548c SBOM\uff0c\u5b9e\u73b0\u53d7\u76d1\u7ba1\u73af\u5883\u4e0b\u7684\u6301\u7eed\u5b89\u5168\u3002\n    <\/desc>\n\n    <style>\n    :root{\n      --bg: transparent;\n      --text:#0f172a;\n      --muted:#475569;\n      --stroke:#cbd5e1;\n      --card:#ffffff;\n      --accent:#2563eb;\n      --accentSoft:#dbeafe;\n    }\n    svg[data-theme=\"dark\"]{\n      --text:#e5e7eb;\n      --muted:#9ca3af;\n      --stroke:#374151;\n      --card:#0b1220;\n      --accent:#60a5fa;\n      --accentSoft:#0b2a55;\n    }\n    .txt{font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;}\n    .title{font-weight:700; font-size:22px; fill:var(--text);}\n    .sub{font-weight:500; font-size:14px; fill:var(--muted);}\n    .label{font-weight:600; font-size:14px; fill:var(--text);}\n    .small{font-weight:500; font-size:12px; fill:var(--muted);}\n    .card{fill:var(--card); stroke:var(--stroke); stroke-width:1.5; rx:14;}\n    .chip{fill:transparent; stroke:var(--stroke); stroke-width:1.5; rx:6;}\n    .chipText{font-weight:600; font-size:12px; fill:var(--text);}\n    .band{fill:transparent; stroke:var(--stroke); stroke-width:1.5; rx:18; stroke-dasharray:6 6;}\n    .bandText{font-weight:700; font-size:12px; fill:var(--muted); letter-spacing:.04em;}\n    .hl .chip{stroke:var(--accent); fill:var(--accentSoft);}\n    .hl .card{stroke:var(--accent);}\n    .dim{opacity:.45;}\n    .flow{fill:none; stroke:var(--stroke); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;}\n    .arrow{marker-end:url(#arrow);}\n    <\/style>\n\n    <defs>\n      <marker id=\"arrow\" viewBox=\"0 0 10 10\" refX=\"9.2\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\">\n        <path d=\"M 0 0 L 10 5 L 0 10 z\" fill=\"var(--stroke)\"\/>\n      <\/marker>\n    <\/defs>\n\n    <rect x=\"0\" y=\"0\" width=\"1200\" height=\"420\" fill=\"var(--bg)\"\/>\n    <text class=\"txt title\" x=\"40\" y=\"48\">CI\/CD \u5b89\u5168<\/text>\n    <text class=\"txt sub\" x=\"40\" y=\"74\">\u5b89\u5168 CI\/CD \u6d41\u6c34\u7ebf\u7684\u5b8c\u6574\u751f\u547d\u5468\u671f<\/text>\n\n    <g>\n      <rect class=\"band\" x=\"40\" y=\"320\" width=\"1120\" height=\"70\" \/>\n      <text class=\"txt bandText\" x=\"60\" y=\"345\">\u6a2a\u5411\u5b89\u5168\u63a7\u5236\uff08\u59cb\u7ec8\u542f\u7528\uff09<\/text>\n\n      <g transform=\"translate(60,356)\">\n        <rect class=\"chip\" width=\"160\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"80\" y=\"19\" text-anchor=\"middle\">\u65e5\u5fd7\u8bb0\u5f55<\/text>\n      <\/g>\n      <g transform=\"translate(240,356)\">\n        <rect class=\"chip\" width=\"180\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"90\" y=\"19\" text-anchor=\"middle\">\u5ba1\u8ba1\u8ffd\u8e2a<\/text>\n      <\/g>\n      <g transform=\"translate(440,356)\">\n        <rect class=\"chip\" width=\"220\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"110\" y=\"19\" text-anchor=\"middle\">\u7b56\u7565\u4e0e\u5408\u89c4\u8bc1\u636e<\/text>\n      <\/g>\n      <g transform=\"translate(680,356)\">\n        <rect class=\"chip\" width=\"200\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"100\" y=\"19\" text-anchor=\"middle\">\u76d1\u63a7\u4e0e\u544a\u8b66<\/text>\n      <\/g>\n      <g transform=\"translate(900,356)\">\n        <rect class=\"chip\" width=\"240\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"120\" y=\"19\" text-anchor=\"middle\">\u4fdd\u7559\u7b56\u7565\u4e0e\u8bbf\u95ee\u63a7\u5236<\/text>\n      <\/g>\n    <\/g>\n\n    <g transform=\"translate(40,110)\">\n      <rect class=\"card\" width=\"190\" height=\"180\"\/>\n      <text class=\"txt label\" x=\"18\" y=\"34\">\u5f00\u53d1\u4eba\u5458<\/text>\n      <text class=\"txt small\" x=\"18\" y=\"58\">\u63d0\u4ea4 \u2022 PR \u2022 \u5ba1\u67e5<\/text>\n      <g class=\"hl\" transform=\"translate(18,82)\">\n        <rect class=\"chip\" width=\"154\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"77\" y=\"19\" text-anchor=\"middle\">SAST\uff08\u5feb\u901f\u53cd\u9988\uff09<\/text>\n      <\/g>\n    <\/g>\n\n    <g transform=\"translate(260,110)\" class=\"dim\">\n      <rect class=\"card\" width=\"190\" height=\"180\"\/>\n      <text class=\"txt label\" x=\"18\" y=\"34\">\u6e90\u4ee3\u7801<\/text>\n      <text class=\"txt small\" x=\"18\" y=\"58\">Git \u2022 \u5206\u652f\u7b56\u7565<\/text>\n      <g transform=\"translate(18,82)\">\n        <rect class=\"chip\" width=\"154\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"77\" y=\"19\" text-anchor=\"middle\">\u8bbf\u95ee\u63a7\u5236<\/text>\n      <\/g>\n      <g transform=\"translate(18,114)\">\n        <rect class=\"chip\" width=\"154\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"77\" y=\"19\" text-anchor=\"middle\">\u5bc6\u94a5\u7ba1\u7406<\/text>\n      <\/g>\n    <\/g>\n\n    <g transform=\"translate(480,110)\">\n      <rect class=\"card\" width=\"220\" height=\"180\"\/>\n      <text class=\"txt label\" x=\"18\" y=\"34\">CI\/CD \u6d41\u6c34\u7ebf<\/text>\n      <text class=\"txt small\" x=\"18\" y=\"58\">\u6784\u5efa\u7f16\u6392<\/text>\n\n      <g class=\"hl\" transform=\"translate(18,82)\">\n        <rect class=\"chip\" width=\"184\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"92\" y=\"19\" text-anchor=\"middle\">SAST\uff08\u7b56\u7565\u5f3a\u5236\uff09<\/text>\n      <\/g>\n      <g class=\"hl\" transform=\"translate(18,114)\">\n        <rect class=\"chip\" width=\"184\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"92\" y=\"19\" text-anchor=\"middle\">SCA\uff08\u4f9d\u8d56\u5206\u6790\uff09<\/text>\n      <\/g>\n      <g class=\"hl\" transform=\"translate(18,146)\">\n        <rect class=\"chip\" width=\"184\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"92\" y=\"19\" text-anchor=\"middle\">SBOM \/ \u6eaf\u6e90<\/text>\n      <\/g>\n    <\/g>\n\n    <g transform=\"translate(730,110)\" class=\"dim\">\n      <rect class=\"card\" width=\"200\" height=\"180\"\/>\n      <text class=\"txt label\" x=\"18\" y=\"34\">\u90e8\u7f72<\/text>\n      <text class=\"txt small\" x=\"18\" y=\"58\">\u53d1\u5e03 \u2022 \u5ba1\u6279<\/text>\n      <g transform=\"translate(18,82)\">\n        <rect class=\"chip\" width=\"164\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"82\" y=\"19\" text-anchor=\"middle\">\u7b56\u7565\u95e8\u7981<\/text>\n      <\/g>\n      <g transform=\"translate(18,114)\">\n        <rect class=\"chip\" width=\"164\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"82\" y=\"19\" text-anchor=\"middle\">DAST\uff08\u9884\u751f\u4ea7\uff09<\/text>\n      <\/g>\n    <\/g>\n\n    <g transform=\"translate(960,110)\" class=\"dim\">\n      <rect class=\"card\" width=\"200\" height=\"180\"\/>\n      <text class=\"txt label\" x=\"18\" y=\"34\">\u8fd0\u884c\u73af\u5883<\/text>\n      <text class=\"txt small\" x=\"18\" y=\"58\">\u751f\u4ea7\u63a7\u5236<\/text>\n      <g transform=\"translate(18,82)\">\n        <rect class=\"chip\" width=\"164\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"82\" y=\"19\" text-anchor=\"middle\">IAST\uff08\u6d4b\u8bd5\uff09<\/text>\n      <\/g>\n      <g transform=\"translate(18,114)\">\n        <rect class=\"chip\" width=\"164\" height=\"28\"\/>\n        <text class=\"txt chipText\" x=\"82\" y=\"19\" text-anchor=\"middle\">RASP\uff08\u8fd0\u884c\u9632\u62a4\uff09<\/text>\n      <\/g>\n    <\/g>\n\n    <path class=\"flow arrow\" d=\"M 230 200 L 260 200\"\/>\n    <path class=\"flow arrow\" d=\"M 450 200 L 480 200\"\/>\n    <path class=\"flow arrow\" d=\"M 700 200 L 730 200\"\/>\n    <path class=\"flow arrow\" d=\"M 930 200 L 960 200\"\/>\n\n  <\/svg>\n\n  <figcaption class=\"gp-rds-caption\">\n    \u5fc5\u987b\u5728\u6574\u4e2a CI\/CD \u6d41\u6c34\u7ebf\u4e2d\u6301\u7eed\u5b9e\u65bd\u5b89\u5168\u63a7\u5236\uff0c\u4ee5\u9632\u6b62\u6f0f\u6d1e\u3001\n    \u964d\u4f4e\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u98ce\u9669\uff0c\u5e76\u786e\u4fdd\u7b26\u5408\u76d1\u7ba1\u8981\u6c42\u7684\u8f6f\u4ef6\u4ea4\u4ed8\u3002\n  <\/figcaption>\n<\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u53d7\u76d1\u7ba1\u884c\u4e1a\u4e2d\u7684 CI\/CD \u5b89\u5168<\/strong><\/h2>\n\n\n\n<p>\u5728\u94f6\u884c\u3001\u4fdd\u9669\u3001\u533b\u7597\u3001\u516c\u5171\u90e8\u95e8\u4ee5\u53ca\u5173\u952e\u57fa\u7840\u8bbe\u65bd\u7b49\u53d7\u76d1\u7ba1\u884c\u4e1a\u4e2d\uff0cCI\/CD \u6d41\u6c34\u7ebf\u5904\u7406\u7740\u9ad8\u5ea6\u654f\u611f\u7684\u8d44\u4ea7\uff0c\u5305\u62ec\u6e90\u4ee3\u7801\u3001\u51ed\u8bc1\u3001\u6784\u5efa\u4ea7\u7269\u548c\u90e8\u7f72\u914d\u7f6e\u3002\u4e00\u65e6\u6d41\u6c34\u7ebf\u88ab\u5165\u4fb5\uff0c\u53ef\u80fd\u5bfc\u81f4\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u653b\u51fb\u3001\u6570\u636e\u6cc4\u9732\u3001\u5408\u89c4\u8fdd\u89c4\u4ee5\u53ca\u91cd\u5927\u8fd0\u8425\u98ce\u9669\u3002<\/p>\n\n\n\n<p>\u8d8a\u6765\u8d8a\u591a\u7684\u6cd5\u89c4\u548c\u5b89\u5168\u6846\u67b6\u8981\u6c42\u7ec4\u7ec7\u80fd\u591f\u8bc1\u660e\u5176\u5bf9\u8f6f\u4ef6\u4ea4\u4ed8\u6d41\u7a0b\u7684\u63a7\u5236\u80fd\u529b\u3002\u8fd9\u4e9b\u8981\u6c42\u901a\u5e38\u6d89\u53ca\u53ef\u8ffd\u6eaf\u6027\u3001\u8bbf\u95ee\u63a7\u5236\u3001\u804c\u8d23\u5206\u79bb\u4ee5\u53ca\u5ba1\u8ba1\u80fd\u529b\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u5728\u53d7\u76d1\u7ba1\u73af\u5883\u4e2d\uff0cCI\/CD \u6d41\u6c34\u7ebf\u5fc5\u987b\u88ab\u89c6\u4e3a<strong>\u751f\u4ea7\u7ea7\u7cfb\u7edf<\/strong>\uff0c\u5e76\u5177\u5907\u4e0e\u751f\u4ea7\u7cfb\u7edf\u540c\u7b49\u7ea7\u522b\u7684\u5b89\u5168\u4fdd\u969c\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u7684 CI\/CD \u5b89\u5168\u98ce\u9669<\/strong><\/h2>\n\n\n\n<p>\u5982\u679c\u7f3a\u4e4f\u7cfb\u7edf\u6027\u7684\u5b89\u5168\u8bbe\u8ba1\uff0cCI\/CD \u6d41\u6c34\u7ebf\u5bb9\u6613\u66b4\u9732\u4e8e\u591a\u79cd\u98ce\u9669\u4e4b\u4e2d\u3002\u5e38\u89c1\u95ee\u9898\u5305\u62ec\u4e3a\u6d41\u6c34\u7ebf\u7ec4\u4ef6\u5206\u914d\u8fc7\u9ad8\u6743\u9650\u3001\u8ba4\u8bc1\u673a\u5236\u8584\u5f31\u4ee5\u53ca\u4e0d\u5b89\u5168\u7684\u51ed\u8bc1\u7ba1\u7406\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p>\u5176\u4ed6\u5e38\u89c1\u98ce\u9669\u8fd8\u5305\u62ec\u4e0d\u5b89\u5168\u7684\u7b2c\u4e09\u65b9\u96c6\u6210\u3001\u6784\u5efa\u4ea7\u7269\u5b8c\u6574\u6027\u9a8c\u8bc1\u7f3a\u5931\uff0c\u4ee5\u53ca\u5bf9\u6d41\u6c34\u7ebf\u6d3b\u52a8\u7684\u65e5\u5fd7\u8bb0\u5f55\u548c\u76d1\u63a7\u4e0d\u8db3\u3002\u8fd1\u5e74\u6765\uff0c\u653b\u51fb\u8005\u8d8a\u6765\u8d8a\u591a\u5730\u5c06 CI\/CD \u6d41\u6c34\u7ebf\u4f5c\u4e3a\u8f6f\u4ef6\u4f9b\u5e94\u94fe\u653b\u51fb\u7684\u5165\u53e3\uff0c\u5229\u7528\u81ea\u52a8\u5316\u6d41\u7a0b\u4e2d\u7684\u914d\u7f6e\u7f3a\u9677\u6ce8\u5165\u6076\u610f\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u7406\u89e3\u8fd9\u4e9b\u98ce\u9669\uff0c\u662f\u8bbe\u8ba1\u7b26\u5408\u4f01\u4e1a\u4e0e\u76d1\u7ba1\u8981\u6c42\u7684\u5b89\u5168 CI\/CD \u67b6\u6784\u7684\u7b2c\u4e00\u6b65\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u6838\u5fc3 CI\/CD \u5b89\u5168\u63a7\u5236<\/strong><\/h2>\n\n\n\n<p>\u6709\u6548\u7684 CI\/CD \u5b89\u5168\u4f9d\u8d56\u4e8e\u4e00\u7ec4\u57fa\u7840\u6027\u63a7\u5236\u63aa\u65bd\uff0c\u8fd9\u4e9b\u63a7\u5236\u5e94\u5728\u6240\u6709\u6d41\u6c34\u7ebf\u4e2d\u4e00\u81f4\u5b9e\u65bd\u3002\u5173\u952e\u63a7\u5236\u5305\u62ec\u5bf9 CI\/CD \u7cfb\u7edf\u5b9e\u65bd\u5f3a\u8eab\u4efd\u4e0e\u8bbf\u95ee\u7ba1\u7406\u3001\u5b89\u5168\u7684\u51ed\u8bc1\u5b58\u50a8\u4e0e\u8f6e\u6362\u673a\u5236\uff0c\u4ee5\u53ca\u5bf9\u6784\u5efa\u548c\u90e8\u7f72\u6743\u9650\u7684\u4e25\u683c\u9650\u5236\u3002<\/p>\n\n\n\n<p>\u5176\u4ed6\u91cd\u8981\u63a7\u5236\u8fd8\u5305\u62ec\u6e90\u4ee3\u7801\u4e0e\u6784\u5efa\u4ea7\u7269\u5b8c\u6574\u6027\u9a8c\u8bc1\u3001\u5f3a\u5236\u4ee3\u7801\u5ba1\u67e5\u4e0e\u5ba1\u6279\u6d41\u7a0b\uff0c\u4ee5\u53ca\u5bf9\u6d41\u6c34\u7ebf\u6d3b\u52a8\u7684\u5168\u9762\u65e5\u5fd7\u8bb0\u5f55\u4e0e\u76d1\u63a7\u3002\u901a\u8fc7\u7f51\u7edc\u9694\u79bb\u3001\u52a0\u56fa\u7684\u6784\u5efa\u73af\u5883\u4ee5\u53ca\u5bf9\u5236\u54c1\u4ed3\u5e93\u7684\u8bbf\u95ee\u63a7\u5236\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u964d\u4f4e\u653b\u51fb\u9762\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u63a7\u5236\u5171\u540c\u6784\u6210\u4e86\u7b26\u5408\u4f01\u4e1a\u7ea7\u4e0e\u5408\u89c4\u8981\u6c42\u7684 CI\/CD \u5b89\u5168\u57fa\u7ebf\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>DevSecOps \u89c6\u89d2\u4e0b\u7684 CI\/CD \u5b89\u5168<\/strong><\/h2>\n\n\n\n<p>CI\/CD \u5b89\u5168\u662f DevSecOps \u7684\u6838\u5fc3\u7ec4\u6210\u90e8\u5206\u3002\u5728 DevSecOps \u6a21\u5f0f\u4e2d\uff0c\u5b89\u5168\u4e0d\u518d\u662f\u4e8b\u540e\u9636\u6bb5\uff0c\u800c\u662f\u901a\u8fc7\u81ea\u52a8\u5316\u548c\u7b56\u7565\u6267\u884c\u5d4c\u5165\u5230\u5f00\u53d1\u548c\u8fd0\u7ef4\u6d41\u7a0b\u4e2d\u3002<\/p>\n\n\n\n<p>\u5b89\u5168\u6d4b\u8bd5\u6d3b\u52a8\uff08\u5982 SAST\u3001DAST \u548c SCA\uff09\u901a\u5e38\u88ab\u96c6\u6210\u5230 CI\/CD \u6d41\u6c34\u7ebf\u4e2d\uff0c\u4ee5\u4fbf\u5728\u5f00\u53d1\u65e9\u671f\u53d1\u73b0\u95ee\u9898\u3002\u5728\u53d7\u76d1\u7ba1\u73af\u5883\u4e2d\uff0cDevSecOps \u8fd8\u5f3a\u8c03\u6cbb\u7406\u3001\u53ef\u8ffd\u6eaf\u6027\u548c\u5408\u89c4\u8bc1\u636e\u751f\u6210\uff0c\u786e\u4fdd\u5b89\u5168\u63a7\u5236\u5728\u6240\u6709\u6d41\u6c34\u7ebf\u4e2d\u4e00\u81f4\u3001\u53ef\u5ba1\u8ba1\u5730\u6267\u884c\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>CI\/CD \u5b89\u5168\u5de5\u5177\u6982\u89c8<\/strong><\/h2>\n\n\n\n<p>\u4f01\u4e1a\u73af\u5883\u4e2d\u5b58\u5728\u591a\u79cd\u652f\u6301 CI\/CD \u5b89\u5168\u7684\u5de5\u5177\uff0c\u5305\u62ec\u6e90\u4ee3\u7801\u5206\u6790\u5de5\u5177\u3001\u4f9d\u8d56\u9879\u626b\u63cf\u89e3\u51b3\u65b9\u6848\u3001\u51ed\u8bc1\u6cc4\u9732\u68c0\u6d4b\u5de5\u5177\u4ee5\u53ca\u5236\u54c1\u4ed3\u5e93\u7ba1\u7406\u7cfb\u7edf\u3002CI\/CD \u5e73\u53f0\u672c\u8eab\u4e5f\u63d0\u4f9b\u4e86\u57fa\u7840\u7684\u5b89\u5168\u80fd\u529b\uff0c\u4f46\u8fd9\u4e9b\u80fd\u529b\u5fc5\u987b\u7ecf\u8fc7\u5408\u7406\u914d\u7f6e\uff0c\u5e76\u4e0e\u5916\u90e8\u5b89\u5168\u63a7\u5236\u76f8\u7ed3\u5408\u3002<\/p>\n\n\n\n<p>\u5728\u9009\u62e9\u548c\u96c6\u6210 CI\/CD \u5b89\u5168\u5de5\u5177\u65f6\uff0c\u5fc5\u987b\u5145\u5206\u8003\u8651\u76d1\u7ba1\u8981\u6c42\u3001\u73b0\u6709\u6280\u672f\u6808\u4ee5\u53ca\u7ec4\u7ec7\u6210\u719f\u5ea6\u3002\u5de5\u5177\u5e94\u652f\u6301\u81ea\u52a8\u5316\u3001\u53ef\u6269\u5c55\u6027\u4ee5\u53ca\u5408\u89c4\u62a5\u544a\u80fd\u529b\uff0c\u540c\u65f6\u907f\u514d\u5f15\u5165\u8fc7\u9ad8\u7684\u8fd0\u7ef4\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u672c\u7ad9 CI\/CD \u5b89\u5168\u5185\u5bb9\u7684\u7ec4\u7ec7\u65b9\u5f0f<\/strong><\/h2>\n\n\n\n<p>\u672c\u90e8\u5206\u63d0\u4f9b\u9762\u5411\u53d7\u76d1\u7ba1\u884c\u4e1a\u7684 CI\/CD \u5b89\u5168\u6df1\u5ea6\u6587\u7ae0\uff0c\u91cd\u70b9\u5173\u6ce8\u5b9e\u9645\u53ef\u843d\u5730\u7684\u67b6\u6784\u4e0e\u64cd\u4f5c\u95ee\u9898\u3002\u5185\u5bb9\u540c\u65f6\u8986\u76d6\u6280\u672f\u63a7\u5236\u4e0e\u6cbb\u7406\u8981\u6c42\uff0c\u9002\u7528\u4e8e\u4f01\u4e1a\u7ea7\u73af\u5883\u3002<\/p>\n\n\n\n<p>\u4e3b\u9898\u5305\u62ec CI\/CD \u5b89\u5168\u6e05\u5355\u3001\u5b89\u5168\u6d41\u6c34\u7ebf\u8bbe\u8ba1\u3001\u51ed\u8bc1\u7ba1\u7406\u3001\u5236\u54c1\u5b8c\u6574\u6027\u4fdd\u62a4\u4ee5\u53ca\u5b89\u5168\u6d4b\u8bd5\u5de5\u5177\u7684\u96c6\u6210\u65b9\u5f0f\u3002\u6240\u6709\u5185\u5bb9\u5747\u4ee5\u5b9e\u8df5\u4e3a\u5bfc\u5411\uff0c\u5e76\u8003\u8651\u771f\u5b9e\u53d7\u76d1\u7ba1\u7ec4\u7ec7\u6240\u9762\u4e34\u7684\u7ea6\u675f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e0b\u4e00\u6b65<\/strong><\/h2>\n\n\n\n<p>\u5982\u9700\u8fdb\u4e00\u6b65\u6df1\u5165 CI\/CD \u5b89\u5168\uff0c\u8bf7\u4ece\u300a\u4f01\u4e1a\u7ea7 CI\/CD \u5b89\u5168\u68c0\u67e5\u6e05\u5355\u300b\u5f00\u59cb\uff0c\u7136\u540e\u7ee7\u7eed\u9605\u8bfb\u6709\u5173\u51ed\u8bc1\u7ba1\u7406\u3001\u5b89\u5168 CI\/CD \u5e73\u53f0\u4ee5\u53ca\u6d41\u6c34\u7ebf\u5a01\u80c1\u5efa\u6a21\u7684\u4e13\u9898\u6587\u7ae0\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u8d44\u6e90\u65e8\u5728\u5e2e\u52a9\u5de5\u7a0b\u5e08\u3001\u67b6\u6784\u5e08\u548c\u5b89\u5168\u56e2\u961f\u8bbe\u8ba1\u5e76\u8fd0\u884c\u7b26\u5408\u5b89\u5168\u4e0e\u5408\u89c4\u8981\u6c42\u7684 CI\/CD \u6d41\u6c34\u7ebf\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7cbe\u9009\u6587\u7ae0<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f01\u4e1a\u7ea7 CI\/CD \u5b89\u5168\u68c0\u67e5\u6e05\u5355<\/li>\n\n\n\n<li>\u5982\u4f55\u5728\u4f01\u4e1a\u73af\u5883\u4e2d\u5b89\u5168\u4f7f\u7528 GitHub Actions<\/li>\n\n\n\n<li>CI\/CD \u6d41\u6c34\u7ebf\u4e2d\u7684\u51ed\u8bc1\u7ba1\u7406\u6700\u4f73\u5b9e\u8df5<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CI\/CD \u5b89\u5168\u662f\u6307\u7528\u4e8e\u4fdd\u62a4\u6301\u7eed\u96c6\u6210\uff08CI\uff09\u548c\u6301\u7eed\u4ea4\u4ed8\uff08CD\uff09\u6d41\u6c34\u7ebf\u7684\u5b9e\u8df5\u3001\u63a7\u5236\u548c\u6280\u672f\u63aa\u65bd\uff0c\u8986\u76d6\u6574\u4e2a\u8f6f\u4ef6\u5f00\u53d1\u751f &#8230; <a title=\"CI\/CD \u5b89\u5168\" class=\"read-more\" href=\"https:\/\/regulated-devsecops.com\/zh-hans\/ci-cd-security\/\" aria-label=\"\u9605\u8bfb CI\/CD \u5b89\u5168\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":200,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-692","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/pages\/692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=692"}],"version-history":[{"count":0,"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/pages\/692\/revisions"}],"wp:attachment":[{"href":"https:\/\/regulated-devsecops.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}