Skip to content
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

能否隐藏输出信息里的bucket #32

Open
BlueHtml opened this issue Feb 11, 2023 · 0 comments
Open

能否隐藏输出信息里的bucket #32

BlueHtml opened this issue Feb 11, 2023 · 0 comments

Comments

@BlueHtml
Copy link

上传文件时,输出信息里有bucket的信息,例如:INFO[2023-02-09 07:42:51] Upload /home/runner/work/Note/Note/note/today.txt => cos://bucket1/note/today.txt
当在公开环境中使用时(例如github action),会暴露bucket的信息。而如果存储桶开启了外网访问/公有读,可能会被有心人利用,拼接URL来刷流量,导致高额的流量费用。
能否设置个开关项/参数,开启后就在输出信息里隐藏bucket?(可以设置为默认是关闭的,会显示bucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant