Content Audit

Hi,

Once we deploy a nuget package to tentacle servers. We are looking for a way to audit contents of nuget pacakge vs the deployed content.

Basically file to file comparison of source and destination. Is it possible as it is a requirement for us as per compliance.

thanks,
Nitin

Hi Nitin,

Thanks for getting in touch! Unfortunately this is not something you can natively do in Octopus.

However, you may be able to do so yourself by scripting something into the predeploy.ps1 script. You will need to compare the contents of the nuget against where we extract the package. If any of your processes add files (logs etc) you will need to take that into account.

You can get the path of where we extract the files from the step.
Octopus.Tentacle.CurrentDeployment.PackageFilePath
Octopus.Action.Package.CustominstallationDirectory

Let me know how you go. :slight_smile:

Regards,
Daniel