Package Audit (C4B)
Package Audit (C4B)
Know who installed what package and when.
Reporting is very important, and auditing not only when your installations occurred but who installed them can be critical. There is nothing that presents this kind of information as easily as you will be able to gather it with Chocolatey for Business (C4B) and Package Audit.
choco list (
choco list -lo in Chocolatey CLI v1.x), add
--audit to see information on who installed and when.
- Chocolatey (
- Chocolatey for Business (C4B) Edition.
- Chocolatey Licensed Extension (
See It In Action
Packages installed prior to installation of Chocolatey Licensed Extension will only mention Id and Version of each package.
When shown, the user and domain are for the user who actually performed the installation. The "Original User" is the user who requested the install (outside of Self-Service, it would be the same as the installing user). The Installation Date and Time are in ISO 8601 UTC time.
To see all feature videos for Chocolatey for Business, please visit https://chocolatey.org/resources/features#c4b.
Options and Switches
How do I take advantage of this feature?
You must have a Business edition of Chocolatey. Business editions are great for organizations that need to manage the total software management lifecycle.
I'm a licensed customer, now what?
Once you have Chocolatey for Business properly set up, any installations or upgrades performed will be automatically audited. All existing installs will not have audit information, so we recommend the first thing you install after Chocolatey is chocolatey.extension v1.12.0+.
How does it work?
It just works. When you install/upgrade packages, the auditing information is automatically tracked. To see the information, you simply call
choco list --audit (
choco list -lo --audit in Chocolatey CLI v1.x) and if you want to see it in machine parseable format, add
-r to the end of the command.
I only see the audit information on packages I've installed updated since switching over to C4B.
This is expected. You need Chocolatey Licensed Extension v1.12.0+ installed and configured prior to installing/upgrading apps.
What is the difference between user and original user?
User is the user that performed the installation/upgrade. When using the self-service feature, original user will be the original user who requested the install/upgrade.