API를 사용하여 GitHub 연결 설정
조직에 Broker 앱 설치하기
배포 생성하기
curl --location --request POST 'https://api.snyk.io/rest/tenants/TENANT_ID/brokers/installs/INSTALL_ID/deployments?version=2024-02-08~experimental' \
--header 'Content-Type: application/vnd.api+json' \
--header 'Authorization: token YOUR_SNYK_TOKEN' \
--data-raw '{ \
"data": { \
"type": "broker_deployment", \
"attributes": { \
"broker_app_installed_in_org_id":"ORG_ID_WHERE_APP_WAS_INSTALLED", \
"metadata": { \
"deployment_name": "My Universal Broker Deployment", \
"cluster": "Cluster X Region Y or whatever you need to not lose your deployment." \
} \
} \
} \
}'Broker 배포 실행하기
자격 증명 참조 생성하기
연결 생성하기
연결을 사용하도록 조직 통합 연결하기
Last updated