Hello,
is it possible to prefix the inspec exec command with bundle exec?
I have the need for that as I’m installing required tooling using bundler and maintain versions with it.
On a side note, it would even be better if the inspec exec call could be replaced with cinc-auditor exec.
Thanks & Best
I found command and subcommand options which don’t seem to work for this case:
"provisioners": [
{
"command" : "bundle",
"subcommand" : "exec cinc-auditor exec",
"type": "inspec",
"profile": "https://github.com/dev-sec/linux-baseline"
}
],
It’s possible to replace the command only, though:
"provisioners": [
{
"command" : "cinc-auditor",
"subcommand" : "exec",
"type": "inspec",
"profile": "https://github.com/dev-sec/linux-baseline"
}
],
Unfortunately it doesn’t allow space delimited commands for using bundler.