{"id":3206,"date":"2025-12-12T15:31:12","date_gmt":"2025-12-12T06:31:12","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=3206"},"modified":"2025-12-16T10:06:19","modified_gmt":"2025-12-16T01:06:19","slug":"3206","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=3206","title":{"rendered":"Snowflake\u3068GitHub\u306eAPI\u9023\u643a"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">&#x1f4a1; Snowflake\u3068GitHub\u306eAPI\u9023\u643a\u306e\u6982\u8981<\/h2>\n\n\n\n<p>Snowflake\u304cGitHub\u3068\u9023\u643a\u3059\u308b\u969b\u3001API\u7d71\u5408\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08API Integration Object\uff09\u304c\u8a8d\u8a3c\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306e\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3054\u63d0\u793a\u306e\u8a2d\u5b9a\u306f\u3001Snowflake\u304cGitHub\u306eAPI\u306b\u30bb\u30ad\u30e5\u30a2\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e<strong>\u4fe1\u983c\u95a2\u4fc2<\/strong>\u3068<strong>\u8a8d\u8a3c\u60c5\u5831<\/strong>\u3092\u5b9a\u7fa9\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#x1f4cc; \u76ee\u7684<\/h3>\n\n\n\n<p>Snowflake\u304b\u3089GitHub API\u3092\u547c\u3073\u51fa\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bf\u30b9\u30af\u3092<strong>\u30bb\u30ad\u30e5\u30a2\u306b<\/strong>\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>GitHub\u4e0a\u306e\u30b3\u30fc\u30c9\u5909\u66f4\u5c65\u6b74\u3092Snowflake\u306b\u53d6\u308a\u8fbc\u3080\u3002<\/li>\n\n\n\n<li>Snowflake\u306e\u30c7\u30fc\u30bf\u5909\u66f4\u306b\u57fa\u3065\u3044\u3066\u3001GitHub\u306eIssue\u3084Pull Request\u3092\u64cd\u4f5c\u3059\u308b\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f6e0;&#xfe0f; \u5404\u8a2d\u5b9a\u9805\u76ee\u306e\u8a73\u7d30\u89e3\u8aac<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Name<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5f79\u5272:<\/strong> API\u7d71\u5408\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e00\u610f\u306a\u8b58\u5225\u5b50\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u4f8b:<\/strong> <code>GITHUB_API_INTEGRATION_PROD<\/code><\/li>\n\n\n\n<li><strong>\u7279\u5fb4:<\/strong> \u7d71\u5408\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u3001SQL\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u540d\u3067\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Allowed Prefixes (\u8a31\u53ef\u3055\u308c\u305f\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5f79\u5272:<\/strong> Snowflake\u304c\u5916\u90e8API\u3068\u3057\u3066\u547c\u3073\u51fa\u3057\u3092\u8a31\u53ef\u3059\u308bURL\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\uff08URL\u306e\u5148\u982d\u90e8\u5206\uff09\u3092\u5236\u9650\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u30ac\u30fc\u30c9\u30ec\u30fc\u30eb\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7279\u5fb4:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3:<\/strong> \u3053\u3053\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044URL\u306b\u306f\u3001\u3053\u306e\u7d71\u5408\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li><strong>GitHub OAuth:<\/strong> <strong><code>github.com<\/code><\/strong> \u3092\u3053\u306e\u30ea\u30b9\u30c8\u306b\u542b\u3081\u308b\u3053\u3068\u3067\u3001GitHub App\u3092\u901a\u3058\u305fOAuth\u8a8d\u8a3c\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002OAuth\u8a8d\u8a3c\u306f\u3053\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u8a2d\u5b9a\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u8a2d\u5b9a\u4f8b:<\/strong> <code>https:\/\/api.github.com\/repos\/<\/code>, <code>https:\/\/github.com<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Allowed Authentication Secrets (\u8a31\u53ef\u3055\u308c\u305f\u8a8d\u8a3c\u30b7\u30fc\u30af\u30ec\u30c3\u30c8)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5f79\u5272:<\/strong> Snowflake\u304c\u3053\u306eAPI\u7d71\u5408\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3059\u308b\u8a8d\u8a3c\u60c5\u5831\uff08\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\uff09\u3092\u5236\u9650\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7a2e\u985e:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>All:<\/strong> Snowflake\u5185\u306b\u5b58\u5728\u3059\u308b\u3059\u3079\u3066\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f7f\u7528\u3092\u8a31\u53ef\u3057\u307e\u3059\uff08\u975e\u63a8\u5968\uff09\u3002<\/li>\n\n\n\n<li><strong>None:<\/strong> \u8a8d\u8a3c\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4f7f\u7528\u305b\u305a\u3001OAuth\u306a\u3069\u4ed6\u306e\u8a8d\u8a3c\u65b9\u6cd5\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>Specific secrets:<\/strong> Snowflake\u5185\u306b\u4f5c\u6210\u3055\u308c\u305f\u7279\u5b9a\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08Secret Object\uff09\u306e\u307f\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. OAuth Authentication (OAuth\u8a8d\u8a3c)<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Allow OAuth (Snowflake GitHub App)<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5f79\u5272:<\/strong> GitHub App\u3092\u5229\u7528\u3057\u305fOAuth 2.0\u8a8d\u8a3c\u3092\u6709\u52b9\u306b\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7279\u5fb4:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u3053\u308c\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001Snowflake\u304cGitHub App\u3092\u4ecb\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u304b\u3089GitHub\u30c7\u30fc\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u59d4\u4efb\u3057\u3066\u3082\u3089\u3046\u30d7\u30ed\u30bb\u30b9\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>OAuth\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3084\u79d8\u5bc6\u9375\u3092\u76f4\u63a5\u5171\u6709\u3059\u308b\u3053\u3068\u306a\u304f\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u4ed8\u4e0e\u3059\u308b\u305f\u3081\u3001<strong>\u975e\u5e38\u306b\u30bb\u30ad\u30e5\u30a2\u306a\u8a8d\u8a3c\u65b9\u6cd5<\/strong>\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u524d\u63d0\u6761\u4ef6:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u524d\u8ff0\u306e <strong>Allowed Prefixes<\/strong> \u306b <code>github.com<\/code> \u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>#x1f4a1; Snowflake\u3068GitHub\u306eAPI\u9023\u643a\u306e\u6982\u8981 Snowflake\u304cGitHub\u3068\u9023\u643a\u3059\u308b\u969b\u3001API\u7d71\u5408\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08API Integration Object\uff09\u304c\u8a8d\u8a3c\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u30b2\u30fc\u30c8\u30a6\u30a7<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3206","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3206"}],"version-history":[{"count":2,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3206\/revisions"}],"predecessor-version":[{"id":3233,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3206\/revisions\/3233"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}