anchore / ci-tools

Contains scripts for running anchore engine in CI pipelines
Apache License 2.0
34 stars 34 forks source link

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

Open tonkapango opened 4 years ago

tonkapango commented 4 years ago

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?

Btodhunter commented 4 years ago

@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.

gubbin commented 4 years ago

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