chore: Claude Code 권한 허용목록에 점검용 조회 명령 추가
NAS 복구·배포 점검 과정에서 사용한 읽기 전용 명령을 허용목록에 추가. - docker-compose 포트 매핑 조회 (frontend 3001 확인) - frontend/nginx.conf·deploy/nginx-reverse-proxy.conf 라우팅 조회 - stock.shium.net 응답 및 /api 경로 확인 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -160,7 +160,23 @@
|
||||
"Bash(/usr/bin/grep -nE \"^ [a-z0-9_-]+:\" docker-compose.yml)",
|
||||
"Bash(/usr/bin/grep -nE \"^#{1,3} \" deploy/NAS-SETUP-GUIDE.md)",
|
||||
"Bash(/usr/bin/head -30)",
|
||||
"Bash(/usr/bin/grep -nE \"stage\\\\\\(|DEPLOY_DIR|sh '|sh \\\\\"\" Jenkinsfile)"
|
||||
"Bash(/usr/bin/grep -nE \"stage\\\\\\(|DEPLOY_DIR|sh '|sh \\\\\"\" Jenkinsfile)",
|
||||
"Bash(/usr/bin/awk '/^ [a-z0-9_-]+:/{svc=$1} /ports:/{p=1;next} p&&/^ *- /{print \" \"svc\" \"$2} p&&!/^ *- /{p=0}' docker-compose.yml)",
|
||||
"Bash(/usr/bin/grep -nE \"^ [a-z0-9_-]+:|ports:|^ - \\\\\"\" docker-compose.yml)",
|
||||
"Bash(/usr/bin/head -40)",
|
||||
"Bash(/usr/bin/grep -rn \"proxy_pass\\\\|location /api\\\\|location /\" frontend/nginx.conf frontend/default.conf docker/nginx*.conf)",
|
||||
"Bash(/usr/bin/grep -nE \"server_name|location|proxy_pass|listen\" deploy/nginx-reverse-proxy.conf)",
|
||||
"Bash(/usr/bin/grep -nE \"listen|server_name|location|proxy_pass|try_files|root\" frontend/nginx.conf)",
|
||||
"Bash(/usr/bin/grep -A2 \"^ frontend:\" docker-compose.yml)",
|
||||
"Bash(/usr/bin/head -1)",
|
||||
"Bash(/usr/bin/grep -nE \"3001\" docker-compose.yml)",
|
||||
"Bash(/usr/bin/grep -nE \"3001|3000|:80\\\\\"\")",
|
||||
"Bash(/usr/bin/grep -E \"^[+-].*\\(ports|[0-9]{4}:\\)\")",
|
||||
"Bash(/usr/bin/curl -sk -o /tmp/stock.html -w \" HTTP %{http_code} / %{size_download} bytes / %{time_total}s\\\\n\" --max-time 10 https://stock.shium.net/)",
|
||||
"Bash(/usr/bin/head -c 300 /tmp/stock.html)",
|
||||
"Bash(/usr/bin/curl -sk -o /dev/null -w \" /api/v1/market-data/prices → HTTP %{http_code}\\\\n\" --max-time 10 \"https://stock.shium.net/api/v1/market-data/prices?codes=005930\")",
|
||||
"Bash(/usr/bin/tail -5)",
|
||||
"Bash(/usr/bin/head -2)"
|
||||
]
|
||||
},
|
||||
"enableAllProjectMcpServers": true,
|
||||
|
||||
Reference in New Issue
Block a user