You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this ^ profile as an example inspec check/exec/json, the inspec.lock file is not found and because of that vendored dependencies are not used.
Output:
$ rm -rf ~/.inspec/cache;bundleexecinspeccheck ~/tmp2/acme-inspec-profile.tar.gz -ldebug[2016-11-24T16:22:19+00:00]DEBUG: Resolve /Users/apop/tmp2/acme-inspec-profile.tar.gzintocache /Users/apop/.inspec/cache[2016-11-24T16:22:19+00:00]DEBUG: Dependencydoes not existinthecache /Users/apop/tmp2/acme-inspec-profile.tar.gz[2016-11-24T16:22:19+00:00]DEBUG: Copy /Users/apop/.inspec/cache/._ba076c553ff3b839a15dff7813a53d6bb1f8c269a53607ebb30e0fe2b0a0d8e1.tar.gztocachedirectory[2016-11-24T16:22:19+00:00]DEBUG: Copy /Users/apop/.inspec/cache/ba076c553ff3b839a15dff7813a53d6bb1f8c269a53607ebb30e0fe2b0a0d8e1.tar.gztocachedirectory[2016-11-24T16:22:19+00:00]DEBUG: Copy /Users/apop/.inspec/cache/._fd3ee6bdf16d529ef9031d7bbdf23052c1b9635e8799a52a34bc1f1fe07ef921.tar.gztocachedirectory[2016-11-24T16:22:19+00:00]DEBUG: Copy /Users/apop/.inspec/cache/fd3ee6bdf16d529ef9031d7bbdf23052c1b9635e8799a52a34bc1f1fe07ef921.tar.gztocachedirectoryI,[2016-11-24T16:22:19.243807#40340] INFO -- : Checking profile in /Users/apop/tmp2/acme-inspec-profile.tar.gzI,[2016-11-24T16:22:19.243927#40340] INFO -- : Metadata OK.[2016-11-24T16:22:19+00:00]DEBUG: Startingtraversalofdependencies["linux-patch-benchmark","windows-patch-benchmark"][2016-11-24T16:22:19+00:00]WARN: URLtargethttps://github.com/dev-sec/linux-patch-benchmark.gittransformedtohttps://github.com/dev-sec/linux-patch-benchmark/archive/master.tar.gz.Considerusingthegitfetcher[2016-11-24T16:22:19+00:00]DEBUG: FetchingURL: https://github.com/dev-sec/linux-patch-benchmark/archive/master.tar.gz[2016-11-24T16:22:20+00:00]DEBUG: Archivestoredattemporarylocation: /var/folders/hl/zf_j1bvs7_b18rj7bbsm35p00000gp/T/inspec-dl-20161124-40340-wr2za4.tar.gz[2016-11-24T16:22:20+00:00]DEBUG: Dependencydoes not existinthecache{:cwd=>"./", :backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :name=>"linux-patch-benchmark", :url=>"https://github.com/dev-sec/linux-patch-benchmark.git"}[2016-11-24T16:22:20+00:00]DEBUG: Fetchedarchivemovedto: /Users/apop/.inspec/cache/54e9cd10a75f0ce7060bd67ff1d24b0c3e9255a1513adde11d9f72aa4bd1962e.tar.gz[2016-11-24T16:22:20+00:00]DEBUG: Usingcacheddependencyfor{:cwd=>"./",:backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :name=>"linux-patch-benchmark", :url=>"https://github.com/dev-sec/linux-patch-benchmark.git"}[2016-11-24T16:22:20+00:00]DEBUG: Addingdependencylinux-patch-benchmark({:url=>"https://github.com/dev-sec/linux-patch-benchmark/archive/master.tar.gz",:sha256=>"54e9cd10a75f0ce7060bd67ff1d24b0c3e9255a1513adde11d9f72aa4bd1962e"})[2016-11-24T16:22:20+00:00]WARN: URLtargethttps://github.com/dev-sec/windows-patch-benchmark.gittransformedtohttps://github.com/dev-sec/windows-patch-benchmark/archive/master.tar.gz.Considerusingthegitfetcher[2016-11-24T16:22:20+00:00]DEBUG: FetchingURL: https://github.com/dev-sec/windows-patch-benchmark/archive/master.tar.gz[2016-11-24T16:22:22+00:00]DEBUG: Archivestoredattemporarylocation: /var/folders/hl/zf_j1bvs7_b18rj7bbsm35p00000gp/T/inspec-dl-20161124-40340-bv0xlf.tar.gz[2016-11-24T16:22:22+00:00]DEBUG: Usingcacheddependencyfor{:cwd=>"./",:backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :name=>"windows-patch-benchmark", :url=>"https://github.com/dev-sec/windows-patch-benchmark.git"}[2016-11-24T16:22:22+00:00]DEBUG: Usingcacheddependencyfor{:cwd=>"./",:backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :name=>"windows-patch-benchmark", :url=>"https://github.com/dev-sec/windows-patch-benchmark.git"}[2016-11-24T16:22:22+00:00]DEBUG: Addingdependencywindows-patch-benchmark({:url=>"https://github.com/dev-sec/windows-patch-benchmark/archive/master.tar.gz",:sha256=>"fd3ee6bdf16d529ef9031d7bbdf23052c1b9635e8799a52a34bc1f1fe07ef921"})[2016-11-24T16:22:22+00:00]DEBUG: Dependencytraversalcomplete.[2016-11-24T16:22:22+00:00]DEBUG: Usingcacheddependencyfor{:url=>"https://github.com/dev-sec/linux-patch-benchmark/archive/master.tar.gz",:sha256=>"54e9cd10a75f0ce7060bd67ff1d24b0c3e9255a1513adde11d9f72aa4bd1962e",:backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :attributes=>nil}[2016-11-24T16:22:22+00:00]DEBUG: Loadinglibraries/linux_updates.rbinto#<Inspec::ProfileContext:0x007f982d243a48>[2016-11-24T16:22:22+00:00]DEBUG: Usingcacheddependencyfor{:url=>"https://github.com/dev-sec/windows-patch-benchmark/archive/master.tar.gz",:sha256=>"fd3ee6bdf16d529ef9031d7bbdf23052c1b9635e8799a52a34bc1f1fe07ef921",:backend=>#<#<Class:0x007f982ba01778>:0x007f982b9e2c88>, :attributes=>nil}[2016-11-24T16:22:22+00:00]DEBUG: Loadinglibraries/windows_updates.rbinto#<Inspec::ProfileContext:0x007f982c9b5098>[2016-11-24T16:22:22+00:00]DEBUG: Loadinglinux-patch-benchmark-master/controls/patches.rbinto#<Inspec::ProfileContext:0x007f982d243a48>[2016-11-24T16:22:22+00:00]DEBUG: Loadingwindows-patch-benchmark-master/controls/patches.rbinto#<Inspec::ProfileContext:0x007f982c9b5098>[2016-11-24T16:22:22+00:00]DEBUG: Loadinggood/controls/._patch.rbinto#<Inspec::ProfileContext:0x007f982c35fc70>[2016-11-24T16:22:22+00:00]DEBUG: Loadinggood/controls/patch.rbinto#<Inspec::ProfileContext:0x007f982c35fc70>I,[2016-11-24T16:22:22.620609#40340] INFO -- : Found 7 controls.W,[2016-11-24T16:22:22.620644#40340] WARN -- : Control verify-kb has no descriptionW,[2016-11-24T16:22:22.620658#40340] WARN -- : Control important-count has no descriptionW,[2016-11-24T16:22:22.620668#40340] WARN -- : Control important-patches has no descriptionW,[2016-11-24T16:22:22.620677#40340] WARN -- : Control important-patches has no tests definedW,[2016-11-24T16:22:22.620686#40340] WARN -- : Control optional-count has no descriptionW,[2016-11-24T16:22:22.620697#40340] WARN -- : Control optional-patches has no descriptionW,[2016-11-24T16:22:22.620716#40340] WARN -- : Control optional-patches has no tests definedW,[2016-11-24T16:22:22.620724#40340] WARN -- : Control verify-patches has no descriptionW,[2016-11-24T16:22:22.620733#40340] WARN -- : Control patches has no descriptionW,[2016-11-24T16:22:22.620741#40340] WARN -- : Control patches has no tests definedLocation: /Users/apop/tmp2/acme-inspec-profile.tar.gzProfile: acme-inspec-profileControls: 7Timestamp: 2016-11-24T16:22:19+00:00Valid: true
The text was updated successfully, but these errors were encountered:
acme-inspec-profile.tar.gz
Using this ^ profile as an example
inspec check/exec/json
, theinspec.lock
file is not found and because of that vendored dependencies are not used.Output:
The text was updated successfully, but these errors were encountered: