-
Notifications
You must be signed in to change notification settings - Fork 34
inline_scan doesn't seem to honor -b correctly #27
Comments
@davidmankin I've verified the same issue on my workstation. I'm looking into what is causing that issue. In my test, the policy bundle was still loaded & activated correctly, however I am also getting the |
Upon further inspection, the This leads me to think that your policy bundle might be invalid as my policy bundle is loading & activating correctly. |
I am getting errors like what was mentioned by OP: When I swap out this custom whitelist: with this default empty one provided, the error goes away: @Btodhunter would you happen to know what the issue with the custom whitelist is that causes the bundle to fail? Regardless of whitelist I still get these logs: |
After further testing, it looks like the issue was due to not setting the |
Hi @Btodhunter , |
Followup on #9
The problem
When I try to use the -b flag to point to a policy bundle I get an error that makes me think it doesn't understand the flag. (It tries to scan an image called policy_bundle.json)
Environment
OS X Mojave; bash script calling version 0.6.0 of inline_scan downloaded from github.
Details
When I try to use the -b flag to point to a policy bundle (either by relative path or absolute) I get the following error:
Actual Behaviour
Seems to run okay but with default policy bundle.
Expected Behaviour
How do you reproduce the error?
Surprisingly it seems somewhat flaky. It never seems to load the policy bundle but it does seem to vary whether it gives the "Error loading tar component" error.
The text was updated successfully, but these errors were encountered: