anchore/ci-tools

anchore-inline break in uploading custom policy (-b policy.json)

tonkapango opened this issue · 2 comments

The problem

Some change has precluded the loading of custom policy (policy.json) for inline scan. only output i receive "Unable to activate policy bundle - /anchore-engine/policy.json -- using default policy bundle.

Environment

anchore/inline-scan:latest (9da71f6b0958)

Details

Actual Behaviour

Expected Behaviour

How do you reproduce the error?

@tonkapango Can you give me an example of the custom policy you're using? I'd like to see exactly what is going on. There hasn't been any changes to the way the inline_scan script handles custom policies. The custom policy bundle tests appear to be working as well.

If you're using the CircleCI Orb, this might be related to #26