Skip to content

Feature/scrum 31 - #20

Merged
blosny merged 7 commits into
mainfrom
feature/SCRUM-31
Apr 22, 2026
Merged

blosny merged 7 commits into
mainfrom
feature/SCRUM-31

Conversation

@ardaysuf

Copy link
Copy Markdown
Collaborator

Bu geliştirme ile backend servisimiz, Stage 5 Web Dashboard entegrasyonu için güvenli ve erişilebilir hale getirilmiştir.

Yapılan Teknik Değişiklikler:

  • Güvenlik Katmanı (Helmet): helmet kütüphanesi sisteme entegre edildi. Bu sayede HTTP başlıkları (XSS, Content-Security-Policy, Clickjacking koruması vb.) otomatik olarak güvenli standartlara çekildi.
  • Kısıtlayıcı CORS Politikası: app.enableCors() yapılandırması güncellendi. Artık backend'imiz sadece beyaz listedeki (Whitelist) kökenlerden (http://localhost:5173 ve Render Dashboard URL) gelen istekleri kabul edecektir.
  • Dinamik Port Yönetimi: Uygulamanın hem lokalde hem de Render.com üzerinde sorunsuz çalışması için process.env.PORT kontrolü finalize edildi.

Doğrulama ve Testler:

  • npm run test komutuyla mevcut Chaos Engine Unit Testlerinin (9/9 PASS) güvenlik ayarlarıyla uyumlu çalıştığı doğrulandı.
  • Manuel testlerde CORS başlıklarının tarayıcı üzerinden doğru şekilde iletildiği gözlemlendi.

Not: Bu branch, bir önceki SCRUM-30 (Strategy Tests) geliştirmelerini de içermektedir.

@gitguardian

gitguardian Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
29141854 Triggered Generic Password 9f7e8fc ai-service/database.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@blosny
blosny merged commit e88fc50 into main Apr 22, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants