When using a single profile with scaffolding-chef-inspec and attempting to fetch compliance profiles from Chef Automate, the build fails because it is unable to process the profile_dir.
Scaffolding Version
0.22.0
Platform Version
Linux
Replication Case
Build or Run Output
mkdir: created directory '/hab/cache/src'
inspec_audit_tst: Clean the cache
inspec_audit_tst: Setting build environment
inspec_audit_tst: Setting PREFIX=/hab/pkgs/collinmcneese/inspec_audit_tst/0.1.1/20201211160524
inspec_audit_tst: Setting LD_RUN_PATH=
inspec_audit_tst: Setting CFLAGS=
inspec_audit_tst: Setting CXXFLAGS=
inspec_audit_tst: Setting CPPFLAGS=
inspec_audit_tst: Setting LDFLAGS=
inspec_audit_tst: Setting PKG_CONFIG_PATH=
inspec_audit_tst: Preparing to build
inspec_audit_tst: Building
Cannot fetch compliance://admin/ssh-baseline because your compliance token has not been
configured.
Please login using
inspec compliance login https://your_compliance_server --user admin --insecure --token 'PASTE TOKEN HERE'
inspec_audit_tst: Build time: 0m25s
inspec_audit_tst: Exiting on error
Description
When using a single profile with
scaffolding-chef-inspec
and attempting to fetch compliance profiles from Chef Automate, the build fails because it is unable to process theprofile_dir
.Scaffolding Version
0.22.0
Platform Version
Linux
Replication Case
Build or Run Output