mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Sandbox profile for Go ecosystem (#361)
* fix: Sandbox profile for Go ecosystem * fix: Sandbox violations for network bind
This commit is contained in:
@@ -30,6 +30,7 @@ func TestProfileEnvContract(t *testing.T) {
|
||||
"UV_PUBLISH_TOKEN=x",
|
||||
"POETRY_PYPI_TOKEN_PYPI=x",
|
||||
"AWS_SECRET_ACCESS_KEY=x",
|
||||
"GOOGLE_APPLICATION_CREDENTIALS=x",
|
||||
"GITHUB_TOKEN=x",
|
||||
"OP_SERVICE_ACCOUNT_TOKEN=x",
|
||||
"CLOUDFLARE_API_TOKEN=x",
|
||||
@@ -51,6 +52,7 @@ func TestProfileEnvContract(t *testing.T) {
|
||||
{profile: "uv", wantKept: []string{"UV_PUBLISH_TOKEN"}},
|
||||
{profile: "uvx", wantKept: []string{"UV_PUBLISH_TOKEN"}},
|
||||
{profile: "poetry", wantKept: []string{"POETRY_PYPI_TOKEN_PYPI"}},
|
||||
{profile: "go", wantKept: []string{}},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user