Skip to content

Commit fed7c3c

Browse files
committed
Some beta-checklist updates
1 parent e288fca commit fed7c3c

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,6 @@ Use SQLite's `VACUUM INTO` command for safe, atomic backups of a running databas
336336
```bash
337337
# Local development
338338
sqlite3 storage/production.sqlite3 "VACUUM INTO 'backup.sqlite3';"
339-
340-
# Docker
341-
docker exec clinch sqlite3 /rails/storage/production.sqlite3 "VACUUM INTO '/rails/storage/backup.sqlite3';"
342339
```
343340

344341
This creates an optimized copy of the database that's safe to make even while Clinch is running.

config/initializers/filter_parameter_logging.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# Use this to limit dissemination of sensitive information.
55
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
66
Rails.application.config.filter_parameters += [
7-
:passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
7+
:passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc, :backup
88
]

docs/beta-checklist.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,14 @@ This checklist ensures Clinch meets security, quality, and documentation standar
155155
- [x] Docker Compose example
156156
- [ ] Production deployment guide
157157
- [x] Backup and restore documentation
158-
- [ ] Migration strategy documentation
159158

160159
## Security Hardening
161160

162161
### Headers & CSP
163-
- [ ] Review Content Security Policy
164-
- [ ] HSTS configuration
165-
- [ ] X-Frame-Options
166-
- [ ] X-Content-Type-Options
167-
- [ ] Referrer-Policy
162+
- [x] Content Security Policy (comprehensive policy in config/initializers/content_security_policy.rb)
163+
- [x] X-Frame-Options (DENY in production config)
164+
- [x] X-Content-Type-Options (nosniff - Rails default)
165+
- [x] Referrer-Policy (strict-origin-when-cross-origin in production config)
168166

169167
### Rate Limiting
170168
- [ ] Login attempt rate limiting
@@ -180,8 +178,7 @@ This checklist ensures Clinch meets security, quality, and documentation standar
180178

181179
### Logging & Monitoring
182180
- [x] Sentry integration (optional)
183-
- [ ] Document what should be logged
184-
- [ ] Document what should NOT be logged (tokens, passwords)
181+
- [x] Parameter filtering configured (passwords, tokens, secrets, backup codes, emails filtered from logs)
185182
- [ ] Audit log for admin actions
186183

187184
## Known Limitations & Risks

0 commit comments

Comments
 (0)