Repository navigation
feat(exploitation): état de santé surveillé, conservation et accès aux données - #22
Merged
Merged
Conversation
…x données - public/sante.php : état en JSON (base, tâche quotidienne, sauvegarde, registre, horodatage, autorité d'horodatage), 200 ou 503, sans donnée personnelle ; table etat pour les derniers passages. - Surveillance externe toutes les 30 minutes (GitHub Actions). - Durée de conservation : campagne_fin, suppression deux ans après, avis 30 et 7 jours avant. - Page de retrait : export JSON des données enregistrées ; retrait de la liste publique annoncé en minutes. Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.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.
Surveillance
public/sante.php: état en JSON, sans donnée personnelle — base, tâche quotidienne (dernier passage, problèmes), dernière sauvegarde, registre horodaté (entrée du jour ou de la veille, horodatée), signatures non horodatées depuis 24 h, autorité d'horodatage (interrogée au plus toutes les 5 min). HTTP 200 / 503 ; un contrôle jamais exécuté est « en attente »..github/workflows/surveillance.yml: lecture toutes les 30 min, trois essais ; échec → e-mail de GitHub.RGPD
campagne_fin: suppression de toutes les signatures deux ans après la fin de campagne (durée annoncée dans le texte d'information), avis à contact 30 et 7 jours avant.Vérifié :
bash tests/flow.sh(santé en attente puis en alerte 503, export JSON, avis à 30 jours, suppression au terme).