demo_docs/Docs/Tài liệu nâng cao.md
2025-05-14 09:42:59 +07:00

17 lines
612 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### **1. Tích hợp Security vào Pipeline**
- **SAST (Static Application Security Testing):** SonarQube, ESLint.
- **DAST (Dynamic Application Security Testing):** OWASP ZAP.
- **Cấu hình trong DroneCI:**
```
- name: Run SonarQube
image: sonarsource/sonar-scanner-cli
commands:
- sonar-scanner -Dsonar.projectKey=my-project
```
### **2. Giám sát và Alerting**
- **Công cụ:** Prometheus (metrics) + Grafana (dashboard) + Alertmanager.
- **Metrics cần theo dõi:**
- Error rate, Latency, CPU/Memory usage.
- Số lần deploy thành công/thất bại.