Open gubbin opened 4 years ago
@gubbin I've verified that the inline_scan is having issues with the -b option. Can you include a copy of the policy bundle you're trying to activate? I'm also curious about this error Error: No such container: bash
, is this orb job running with the default executor?
I was using the default policy bundle and the default executor. And look at the xargs docker
to the right - there's no container image being specified here.
The problem
When I specify a path to a policy bundle using the
policy_bundle_file_path
param, I get "Failed to activate policy bundle" even though the policy bundle file is there.Environment
CircleCI, anchore/anchore-engine@1.6.3 CircleCI Orb.
Details
I'm going to guess it's because of the missing Docker image name in this line: https://github.com/anchore/ci-tools/blob/e595ab4f4130c0b761cecc54d83b2be183e724bf/circleci-orbs/anchore-engine/src/commands/policy_evaluation.yml#L30 The surrounding output also implies that:
Actual Behaviour
Anchore engine does not load the specified policy
Expected Behaviour
Anchore engine loads the specified policy
How do you reproduce the error?
Specify a policy