Policy is blocking a go_install
and I can't get it past the aqua policy allow
command
#2389
Replies: 2 comments 12 replies
-
Let me confirm your situation.
Is my understanding correct? https://aquaproj.github.io/docs/reference/security/policy-as-code/#policy-types aqua looks for Policy files from 1. Manage global config and policy file with Git (Recommended)
2. Specify the policy file with
|
Beta Was this translation helpful? Give feedback.
-
I will close for now and reopen when I can reproduce. Can you confirm that AQUA_POLICY_CONFIG is required or not please? |
Beta Was this translation helpful? Give feedback.
-
aqua info
aqua < v2.10.0
OS (Windows, Linux, macOS, etc):
Darwin
CPU Architecture (amd64, arm64, etc):
arm64
Overview
I've run the following commands (and done this directly in the global aqua directory).
I disabled policy check a while back due to a blocker and not it doesn't seem to honor the setting. Ideally I want to use it, but now it's not honoring this check either so it finally brought it back to my attention. I just ran an update and got rid of the brew managed version so I think it's showing up for me as I wasn't updated.
I just cleared out my settings and this is all that shows up for AQUA in the environment variables.
How to reproduce
Expected behaviour
I thought running the aqua policy against it would work.
Actual behaviour
Blocks this and other packages from my local registry. Most of these are
go_install
type packages. However, I have onegithub_release
type and it also fails.Important Factoids
I can't remember what caused this in the past as I ran into it again. Kinda stuck on those tools. Not sure why i can't get those allowed. Disabling policy globally temporarily solves this blocker.
Beta Was this translation helpful? Give feedback.
All reactions