Unattended upgrades are installed and enabled on a lot of Ubuntu machines. Fewer people have ever seen what they would do.
sudo unattended-upgrade -v --dry-run
The Ubuntu docs describe --dry-run as simulating what would happen without changing anything. With -v you get a readable account of which packages match your allowed origins and which would be installed.
It answers the question I care about: is this thing really going to update my system, or is a config setting quietly blocking it? If the output says no packages are allowed to upgrade while apt list --upgradable shows plenty, the origin patterns in /etc/apt/apt.conf.d/50unattended-upgrades are the place to look.
Real runs write their logs to /var/log/unattended-upgrades, so you can also read what happened last night:
ls /var/log/unattended-upgrades
I would run it after any edit to that config file. A typo there can make the whole run do nothing, and the dry run is how you find out.
Caveat: by default it covers security updates only. A dry run that shows nothing can mean the normal updates are waiting for you to run them.
Further reading: Ubuntu Server docs: Automatic updates, On this site: let unattended-upgrades reboot at 04:00 instead of never, On this site: apt autoremove –purge also deletes the leftover config files