chore(libmarathon): add CodeQL suppression for database secret storage

Add suppression comment for alert #4 (rust/cleartext-logging) at database.rs:506.
This is database persistence, not logging - the secret field must be stored
for session functionality. False positive will be dismissed in GitHub UI.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 13:10:40 +00:00
parent 303ea7d8e0
commit 841d758316

View File

@@ -503,6 +503,7 @@ pub fn save_session(conn: &mut Connection, session: &crate::networking::Session)
session.last_active,
session.entity_count as i64,
session.state.to_string(),
// codeql[rust/cleartext-logging] - This is database persistence, not logging
session.secret.as_ref().map(|b| b.as_ref()),
],
)?;