Repository navigation
feat(security): hardening OWASP + CI/CD GitHub (gitleaks, headers, SSRF) - #15
Merged
Merged
Conversation
Centraliza senhas de fixture no conftest com config temporário, limpa plaintext dos testes, ajusta exemplo em AUTH.md e allowlist histórica para o security-scan (gitleaks) passar no main. Co-authored-by: avilarezende <avilarezende@gmail.com>
Aplica controles ASVS/Top 10: política de senha, cabeçalhos de segurança, CORS seguro, anti-SSRF em IA, logs de autenticação, cookie SSO mais restrito, nginx (HSTS/CSP/TLS), pip-audit na CI e docs/OWASP.md. Co-authored-by: avilarezende <avilarezende@gmail.com>
Adiciona workflow_dispatch, GITLEAKS_CONFIG, fail-fast=false no CD, documenta sync Origin→GitHub e script scripts/sync-github.sh. Co-authored-by: avilarezende <avilarezende@gmail.com>
Bump fastapi 0.142.2, starlette 1.3.1, pytest 9.0.3 e pytest-asyncio 1.3.0. pip-audit na CI passa a auditar só os requirements do projeto. Co-authored-by: avilarezende <avilarezende@gmail.com>
Adiciona scripts/dev_serve_portal.py para Cloud Agents (porta 8080). Co-authored-by: avilarezende <avilarezende@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Sincroniza com o GitHub as correções de CI (gitleaks) e o hardening OWASP Top 10, além de alinhar workflows Actions/GHCR.
Inclui
.gitleaks.tomlworkflow_dispatch,GITLEAKS_CONFIG, scriptscripts/sync-github.shTestes