~/talk

Dr. Upal is In: Healthcheck your site

Talkat DrupalCamp Twin Cities 2018 · 2018-06-07..06-10· [security, drupal]
links:none on file
slides:none on file

Shows how to run Site Audit via drush or Composer to produce a single static HTML report with per-category percent compliance, and how the Hacked Module can flag many files (example: 723 files—lots of false positives) so you use Diff to extract the actual patch. Covers concrete server checks (free, df -h, top), how to verify web vs CLI PHP versions, and recovery steps: take the site offline, air-gap a backup, restore a clean pre‑compromise copy or rebuild the server if infrastructure is breached.

AI-written summary · about

  1. 0:00Start
  2. 4:58CHECKING THE BASICS
  3. 6:30Security updates, unsupported modules
  4. 6:55Some sites break if updated!
  5. 7:14Overview of your site
  6. 8:33Don't look for specific errors.
  7. 9:07dblog enabled for most sites
  8. 9:52AUTOMATING CHECKS
  9. 11:08mkdir drush
  10. 16:00Technical stats
  11. 16:57Shared hosting Managed hosting (Pantheon, Acquia)
  12. 17:20What was your primary motive?
  13. 20:29top utility
  14. 21:42Typically do not need auditing
  15. 23:16Actual 5.x to 7.x updates are rare
  16. 24:06PHP version (xy) should always match
  17. 26:31AUDITING MODDED CODE
  18. 27:27Post issue & patch if broad benefit..
  19. 27:57Use cweagans/composer-patches
  20. 30:37Minor changes can flag a module
  21. 31:23Install the diff module
  22. 33:27HACKS AND RECOVERY
  23. 34:10Hacked! report, grep utility
  24. 35:26The 'net isn't a clean place!
  25. 37:31Better to be offline than compromised
  26. 38:12You need a working copy to examine
  27. 38:35Requires some sleuthing
  28. 39:17Apply all security updates and patches
  29. 40:00Avoid rebuilding a second time
  30. 40:22Clean up what you can
  31. 43:00REMEDIATION
  32. 43:21Disable bad-practice modules
  33. 44:10Executes PHP code in content
  34. 45:09Slows down content retrival
  35. 46:23Limits # of revisions by type
  36. 47:13Remove, drush cr && drush updb
  37. 49:06Messy docroot
  38. 50:22Web profiler
  39. 51:12XDebug Profiler
  40. 51:57MISTAKES WERE MADE
  41. 52:30Articles and Basic Pages everywhere
  42. 52:56Differentiation only in name, not use or data
  43. 53:38Can be done manually or using Migrate
  44. 54:36Separates content from layout
  45. 55:09Causes gradual performance loss
  46. 55:36Isolated features easier to replace
  47. 57:04Bring in external help on arebuild
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.