1단계: 서비스 계정 IaC 템플릿 다운로드 (API)
IaC 템플릿 검색
curl -X POST \
'https://api.snyk.io/rest/orgs/YOUR-ORGANIZATION-ID/cloud/permissions?version=2022-12-21~beta' \
-H 'Authorization: token YOUR-API-TOKEN' \
-H 'Content-Type:application/vnd.api+json' -d '{
"data": {
"attributes": {
"type": "tf",
"platform": "google"
},
"type": "permissions"
}
}'JSON 이스케이프 해제
jq 사용
jq 사용수동으로 콘텐츠 변환
다음 단계는 무엇입니까?
Last updated