การสร้างกลยุทธ์การพัฒนาที่ปลอดภัย

GitHub ระดับกลาง

Stan Konkin

ML Enthusiast, DataCamp

ทำไมการพัฒนาที่ปลอดภัยจึงสำคัญ

 

  • 🔑 จำเป็นสำหรับโปรเจกต์: รักษาความปลอดภัยของโค้ด
  • 💻 ระบบอัตโนมัติด้านความปลอดภัย: ลดงานที่ต้องทำเอง
  • ป้องกันปัญหาตั้งแต่ต้น: แก้ช่องโหว่ก่อนที่จะลุกลาม

Secure Development

GitHub ระดับกลาง

GitHub Advanced Security: สิ่งที่ต้องรู้

 

  • Code Scanning: ระบุช่องโหว่ในโค้ด
  • 🔒 Secret Scanning: ตรวจจับและปกป้องข้อมูลสำคัญ
  • 📊 Dependency Graph & Dependabot: จัดการ dependency และอัปเดตความปลอดภัยอัตโนมัติ

GitHub Advanced Security

1 docs.github.com/en/get-started/learning-about-github/about-github-advanced-security
GitHub ระดับกลาง

ทำความเข้าใจ Dependency Graph

 

 

  • 📊 แสดงภาพรวม: ดู dependency ทั้งหมดของโปรเจกต์
  • ระบุความเสี่ยง: ค้นหาช่องโหว่ใน dependency chain
  • 🚀 ติดตามการอัปเดต: ตรวจสอบการเปลี่ยนแปลงของ dependency

 

Dependency graph.jpg

GitHub ระดับกลาง

เพิ่ม Dependency เข้า Repository

requirements-analysis.txt

pandas==1.2.4
numpy==1.20.3
matplotlib==3.4.2
...

requirements-ml.txt

pandas==1.3.0
numpy==1.21.0
scikit-learn==0.24.2
...

setup.py

name="ecommerce-data-hub",
version="0.1",
packages=find_packages(),
...

new files.jpg

GitHub ระดับกลาง

เปิด Dependency Graph

เปิด repository ecommerce-data-hub

GitHub ระดับกลาง

เปิด Dependency Graph

เปิดแท็บ Insights

GitHub ระดับกลาง

เปิด Dependency Graph

คลิกตัวเลือก Dependency graph

GitHub ระดับกลาง

เปิด Dependency Graph

การแจ้งเตือนใน Dependency Graph

GitHub ระดับกลาง

เปิด Dependency Graph

Opening5.jpg

GitHub ระดับกลาง

เปิดใช้งาน Dependabot Alerts

เปิดใช้งาน Dependabot Alerts

GitHub ระดับกลาง

ตรวจสอบ Dependabot Alerts ในแท็บ Security

ตรวจสอบ Dependabot Alerts ในแท็บ Security

GitHub ระดับกลาง

ดู Dependabot Alerts

ดู Dependabot Alerts

GitHub ระดับกลาง

รีวิวและ Merge การอัปเดตความปลอดภัย

การรีวิวและ Merge การอัปเดตความปลอดภัย

GitHub ระดับกลาง

ตรวจสอบ Alerts ที่อัปเดตแล้ว

ตรวจสอบ Alerts ที่อัปเดตแล้ว

GitHub ระดับกลาง

สรุปทุกอย่างเข้าด้วยกัน

 

  • 📊 Dependency Graph: แสดงภาพรวม dependency
  • Dependabot Alerts: รับแจ้งเตือนเมื่อพบช่องโหว่
  • 🚀 Dependabot Updates: แก้ปัญหาอัตโนมัติด้วย PR

Secure Development

GitHub ระดับกลาง

มาฝึกกันเถอะ!

GitHub ระดับกลาง

Preparing Video For Download...