InSpec Profile: share
This shows the implementation of the share InSpec profile.
It’s goal is to share the libraries between all profiles.
Libraries
system
The system library provides easy access to system
dependents informations:
- system.platform: take- inspec.platformand mangle things a bit to be useful- system.platform[:family]provides a family name for Arch
- system.platform[:name]modify- amazonto- amazonlinux
- system.platform[:release]tweak for Arch and Amazon Linux:- Archis always- base-later
- Amazon Linuxrelease- 2018became- 1
 
- system.platform[:finger]is just the concatenation of the name and the first release number (except for Ubuntu which gives- 20.04for example)
 
