mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
40265d0e6f
#9609 This PR also fixes #10777. The issue is: We were using `svc.AppConfig` instead of `svc.ds.AppConfig` to retrieve the SMTP credentials. `svc.AppConfig` obfuscates credentials, whereas `svc.ds.AppConfig` does not. To help prevent this from happening again I've renamed `svc.AppConfig` to `svc.AppConfigObfuscated`. I've also added a new test SMTP server (https://github.com/axllent/mailpit) that supports Basic Authentication and tests that make use of it to catch these kind of bugs (the tests are executed when running `go test` with `MAIL_TEST=1`). - [X] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - ~[ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md)~ - ~[ ] Documented any permissions changes~ - ~[ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements)~ - ~[ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features.~ - [X] Added/updated tests - [X] Manual QA for all new/changed functionality - ~For Orbit and Fleet Desktop changes:~ - ~[ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux.~ - ~[ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).~ |
||
---|---|---|
.. | ||
api | ||
app | ||
backup_db | ||
bomutils-docker | ||
ci | ||
dbutils | ||
desktop | ||
file-server | ||
fleet-docker | ||
fleetctl-docker | ||
fleetctl-npm | ||
inspect-cert | ||
installerstore | ||
jira-integration | ||
kubequery | ||
mailpit | ||
mdm | ||
mysql-replica-testing | ||
osquery | ||
osquery-agent-options | ||
osquery-testing | ||
redis-stress | ||
redis-tests | ||
saml | ||
telemetry | ||
testdata | ||
tuf | ||
wix-docker | ||
zendesk-integration |