-
Notifications
You must be signed in to change notification settings - Fork 2
fix(acs-ci): configure gsutil Boto CA bundle #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ sandbox: | |
| GCS_BUCKET: test-platform-results-public | ||
| CLOUDSDK_CORE_CUSTOM_CA_CERTS_FILE: /etc/openshell-tls/ca-bundle.pem | ||
| CURL_CA_BUNDLE: /etc/openshell-tls/ca-bundle.pem | ||
| BOTO_CONFIG: /tmp/openshell-boto.cfg | ||
|
|
||
| source: | ||
| repo: https://github.com/stackrox/acs-triage-agent.git | ||
|
|
@@ -33,6 +34,10 @@ source: | |
| payloads: | ||
| - source: CI-NIGHTLY.md | ||
| destination: /sandbox/CI-NIGHTLY.md | ||
| - content: | | ||
| [Boto] | ||
| ca_certificates_file = /etc/openshell-tls/ca-bundle.pem | ||
| destination: /tmp/openshell-boto.cfg | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using a predictable filename in |
||
|
|
||
| agent: | ||
| type: claude | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a predictable filename in
/tmpcan lead to a race condition. A malicious actor could create a symbolic link at this path to trick the application into overwriting an arbitrary file or using a malicious Boto configuration. It is safer to create this file in a more secure, less predictable location, for instance under the/sandboxdirectory.