According to https://www.inspec.io/docs/reference/profiles/ you can selectively include controls from another profile, this is not working in my installation
my directory structure is this -
inspectests - apps - controls - Standard_Checks - controls - services - autocb - controls - includes.rb - javaversion.rb
In the includes.rb file in my autocb/controls I have this -
include_controls 'Standard_Checks' require_controls 'apps' do control 'httpd' end
When I run 'inspec exec autocb' the javaversion.rb test executes, all of the standard checks execute but the report has the following -
Profile: apps (apps) Version: 1.0.0 Target: local:// No tests executed.
I was expecting the httpd control to be called