{"id":22027,"date":"2018-07-06T10:00:42","date_gmt":"2018-07-06T01:00:42","guid":{"rendered":"https:\/\/www.creationline.com\/?p=22027"},"modified":"2018-07-05T18:38:44","modified_gmt":"2018-07-05T09:38:44","slug":"%e5%92%8c%e8%a8%b3-terraform%e3%81%8b%e3%82%89inspec-controls-%e3%82%92%e8%87%aa%e5%8b%95%e7%94%9f%e6%88%90%e3%81%99%e3%82%8b-getchef-inspec-terraform","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027","title":{"rendered":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform"},"content":{"rendered":"<p>\u672c\u7a3f\u306f<a href=\"https:\/\/blog.chef.io\/2018\/05\/23\/automatically-generating-inspec-controls-from-terraform\/\">Automatically Generating InSpec Controls from Terraform<\/a> 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/inspec\/inspec-iggy\">InSpec-Iggy<\/a>\u3001\u7565\u3057\u3066\u201cIggy\u201d\u306f InSpec\u5411\u3051\u306e\u65b0\u3057\u3044\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3001<a href=\"https:\/\/inspec.io\/\">InSpec<\/a> \u306e\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092<a href=\"https:\/\/www.terraform.io\/\">Terraform<\/a> tfstate \u30d5\u30a1\u30a4\u30eb\uff08\u304a\u3088\u3073\u3001\u6700\u7d42\u7684\u306b\u306f AWS CloudFormation \u3068  Azure Resource Manager \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff09\u304b\u3089\u751f\u6210\u3057\u307e\u3059\u3002Iggy \u306f\u3082\u3068\u3082\u3068Christoph Hartmann\u6c0f\u306e <a href=\"https:\/\/github.com\/chris-rock\/inspec-verify-provision\">inspec-verify-provision<\/a>\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u3001<a href=\"http:\/\/lollyrock.com\/articles\/inspec-terraform\/\">Terraform \u3068 InSpec<\/a>\u306e\u30c6\u30b9\u30c8\u95a2\u9023\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3092\u53d7\u3051\u305f\u3082\u306e\u3067\u3057\u305f\u3002<a href=\"https:\/\/blog.chef.io\/2018\/02\/20\/announcing-inspec-2-0\/\">InSpec 2.0<\/a>\u306e\u30ea\u30ea\u30fc\u30b9\u3068\u3001AWS\u3068Azure \u30b5\u30dd\u30fc\u30c8\u306e\u8ffd\u52a0\u306b\u3088\u3063\u3066\u3001Controls \u306e\u81ea\u52d5\u751f\u6210\u306f\u3055\u3089\u306b\u5b9f\u73fe\u5316\u306b\u8fd1\u3065\u304d\u307e\u3057\u305f\u3002\u305d\u306e\u624b\u9806\u306e\u7c21\u5358\u306a\u30c7\u30e2\u3092\u304a\u898b\u305b\u3057\u307e\u3059:<\/p>\n<h2>inspec \u3067 terraform generate<\/h2>\n<p>\u3053\u308c\u306f\u73fe\u5728\u3001InSpec \u30ea\u30bd\u30fc\u30b9\u3068 Terraform \u306e\u30de\u30c3\u30d4\u30f3\u30b0\u306b\u57fa\u3065\u3044\u3066\u4e00\u9023\u306e InSpec Controls \u3092\u751f\u6210\u3057\u307e\u3059\u3002\u51fa\u529b\u306f (ie. \u201ctest.rb\u201c) \u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089InSpec\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30e2\u3067\u306f <a href=\"https:\/\/github.com\/terraform-providers\/terraform-provider-aws\/tree\/master\/examples\/two-tier\">Terraform \u306e Basic Two-Tier AWS Architecture<\/a> \u304a\u3088\u3073\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059:<\/p>\n<p><code>terraform apply<br \/>\ninspec terraform generate &gt; test.rb<br \/>\ninspec exec test.rb -t aws:\/\/us-west-1<\/code><\/p>\n<p>\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308bInSpec-Iggy (0.2.0) \u304a\u3088\u3073 InSpec (2.1.83) \u3067\u306f\u6b21\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059:<\/p>\n<pre class=\"prettyprint\">$ inspec exec test.rb -t aws:\/\/us-west-1\n\nProfile: tests from test.rb (tests from test.rb)\nVersion: (not specified)\nTarget:  aws:\/\/us-west-1\n\n  &#x2714;  aws_ec2_instance::i-0ed224373e440f72b: Iggy terraform.tfstate aws_ec2_instance::i-0ed224373e440f72b\n     &#x2714;  EC2 Instance i-0ed224373e440f72b should exist\n     &#x2714;  EC2 Instance i-0ed224373e440f72b id should cmp == \"i-0ed224373e440f72b\"\n     &#x2714;  EC2 Instance i-0ed224373e440f72b instance_type should cmp == \"t2.micro\"\n     &#x2714;  EC2 Instance i-0ed224373e440f72b key_name should cmp == \"mattray-tf\"\n     &#x2714;  EC2 Instance i-0ed224373e440f72b subnet_id should cmp == \"subnet-fbc7f29c\"\n  &#x2714;  aws_security_group::sg-7770ba0f: Iggy terraform.tfstate aws_security_group::sg-7770ba0f\n     &#x2714;  EC2 Security Group sg-7770ba0f should exist\n     &#x2714;  EC2 Security Group sg-7770ba0f description should cmp == \"Used in the terraform\"\n     &#x2714;  EC2 Security Group sg-7770ba0f vpc_id should cmp == \"vpc-0eacdb69\"\n  &#x2714;  aws_security_group::sg-0a70ba72: Iggy terraform.tfstate aws_security_group::sg-0a70ba72\n     &#x2714;  EC2 Security Group sg-0a70ba72 should exist\n     &#x2714;  EC2 Security Group sg-0a70ba72 description should cmp == \"Used in the terraform\"\n     &#x2714;  EC2 Security Group sg-0a70ba72 vpc_id should cmp == \"vpc-0eacdb69\"\n  &#x2714;  aws_subnet::subnet-fbc7f29c: Iggy terraform.tfstate aws_subnet::subnet-fbc7f29c\n     &#x2714;  VPC Subnet subnet-fbc7f29c should exist\n     &#x2714;  VPC Subnet subnet-fbc7f29c availability_zone should cmp == \"us-west-1a\"\n     &#x2714;  VPC Subnet subnet-fbc7f29c cidr_block should cmp == \"10.0.1.0\/24\"\n     &#x2714;  VPC Subnet subnet-fbc7f29c vpc_id should cmp == \"vpc-0eacdb69\"\n  &#x2714;  aws_vpc::vpc-0eacdb69: Iggy terraform.tfstate aws_vpc::vpc-0eacdb69\n     &#x2714;  VPC vpc-0eacdb69 should exist\n     &#x2714;  VPC vpc-0eacdb69 cidr_block should cmp == \"10.0.0.0\/16\"\n     &#x2714;  VPC vpc-0eacdb69 dhcp_options_id should cmp == \"dopt-d76783b2\"\n     &#x2714;  VPC vpc-0eacdb69 instance_tenancy should cmp == \"default\"\n\nProfile Summary: 5 successful controls, 0 control failures, 0 controls skipped\nTest Summary: 19 successful, 0 failures, 0 skipped\n<\/pre>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/4AJ8MS4BaQ0\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/p>\n<h2>Inspec \u3067 terraform extract<\/h2>\n<p>\u3053\u308c\u306f\u73fe\u5728 terraform.tfstate \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30bf\u30b0\u4ed8\u3051\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u63a2\u3057\u3066\u30de\u30b7\u30f3\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u3092\u62bd\u51fa\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u73fe\u5728\u958b\u767a\u4e2d\u306e\u6a5f\u80fd\u3067\u3059\u304c\u3001\u30c7\u30e2\u3067\u306f\u6b21\u306e\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><code>$ inspec terraform extract -t terraform.tfstate<br \/>\ninspec exec https:\/\/github.com\/dev-sec\/apache-baseline -t ssh:\/\/54.183.205.70 -i mattray-tf<br \/>\ninspec exec https:\/\/github.com\/dev-sec\/linux-baseline -t ssh:\/\/54.183.205.70 -i mattray-tf<br \/>\ninspec exec https:\/\/github.com\/mattray\/hong-kong-compliance -t aws:\/\/us-west-2<\/code><\/p>\n<p>\u3053\u308c\u306b\u306f\u3061\u3087\u3063\u3068\u3057\u305f\u201c\u3072\u306d\u308a\u201d\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u6709\u52b9\u3067\u3059\u3002<\/p>\n<p><code>inspec exec https:\/\/github.com\/dev-sec\/apache-baseline -t ssh:\/\/ubuntu@54.183.205.70 -i mattray-tf<br \/>\n...<br \/>\nProfile Summary: 5 successful controls, 8 control failures, 1 control skipped<br \/>\nTest Summary: 103 successful, 14 failures, 1 skipped<\/code><\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/J3N1DVxUBI4\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/p>\n<h2>InSpec-Iggy \u3092\u4f7f\u3063\u3066\u307f\u3088\u3046<\/h2>\n<p>InSpec-Iggy \u306fRubygems\u304b\u3089\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002gem install inspec-iggy \u3057\u3066\u4eca\u3059\u3050\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u958b\u767a\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u3001GitHub\u3067\u8a73\u7d30\u306a\u60c5\u5831\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>InSpec \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u66f8\u3044\u3066\u307f\u3088\u3046<\/h2>\n<p>InSpec \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u66f8\u304f\u305f\u3081\u306e\u6a5f\u80fd\u306f\u307e\u3060\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u79c1\u304c InSpec  \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4e00\u4f8b\u3092\u66f8\u304d\u3001Rubygems \u3068 <a href=\"https:\/\/github.com\/mattray\/inspec-plugin-example\">GitHub<\/a> \u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u3082\u3063\u3068\u5b66\u3073\u305f\u3044\u65b9\u306f\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>Iggy\u306e\u672a\u6765<\/h2>\n<p>Chef\u306f\u6642\u4ee3\u306e\u5148\u7aef\u3092\u884c\u304f\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u9280\u884c\u30b0\u30eb\u30fc\u30d7\u3068\u5354\u540c\u3067\u3001\u30b7\u30f3\u30ac\u30dd\u30fc\u30eb\u304a\u3088\u3073\u9999\u6e2f\u5411\u3051\u306e\u30af\u30e9\u30a6\u30c9\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u306e\u81ea\u52d5\u5316\u306b\u53d6\u308a\u7d44\u3093\u3067\u304d\u307e\u3057\u305f\u3002\u79c1\u305f\u3061\u306fInSpec \u3068 Terraform \u306e\u7d71\u5408\u4e8b\u4f8b\u3068\u8981\u4ef6\u306b\u3064\u3044\u3066\u60c5\u5831\u53ce\u96c6\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u7686\u3055\u307e\u304b\u3089\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3082\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002InSpec-Iggy \u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067Apache\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u3059\u3002Iggy \u306f\u307e\u30601.0\u306b\u3082\u9054\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u304c\u3001\u3088\u308a\u591a\u304f\u306eTerraform\u30ea\u30bd\u30fc\u30b9\u5411\u3051\u306e\u3001\u3088\u308a\u5f37\u529b\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u69cb\u7bc9\u3057\u3001\u3088\u308a\u826f\u3044Inspecterraform extract\u4f53\u9a13\u3092\u30e6\u30fc\u30b6\u306b\u304a\u5c4a\u3051\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002AWS CloudFormation \u3082\u307e\u305f\u6d3b\u767a\u306a\u958b\u767a\u6bb5\u968e\u306b\u3042\u308a\u3001Azure Resource Manager \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3082\u540c\u69d8\u306b\u958b\u767a\u304c\u9032\u3080\u4e88\u5b9a\u3067\u3059\u3002\u30e6\u30fc\u30b6\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3068\u30ea\u30bd\u30fc\u30b9\u3059\u3079\u3066\u306b\u304a\u3051\u308bInSpec\u306e\u30ab\u30d0\u30fc\u7bc4\u56f2\u3092\u62e1\u5f35\u3059\u308b\u305f\u3081\u306b\u3001\u7686\u69d8\u304b\u3089\u306e\u30a4\u30f3\u30d7\u30c3\u30c8\u3084\u30c6\u30b9\u30c8\u7d50\u679c\u3068\u30d1\u30c3\u30c1\u9069\u7528\u72b6\u6cc1\u306a\u3069\u306e\u60c5\u5831\u3092\u3054\u63d0\u4f9b\u304f\u3060\u3055\u308b\u3053\u3068\u3092\u697d\u3057\u307f\u306b\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002 InSpec-Iggy\u3001\u7565\u3057\u3066\u201cIggy\u201d\u306f InSpec\u5411\u3051\u306e\u65b0\u3057 [&#8230;]<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36,16],"tags":[81,129],"class_list":["post-22027","post","type-post","status-publish","format-standard","hentry","category-chef","category-author","tag-chef","tag-inspec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-06T01:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u8352\u4e95\u88d5\u8cb4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u8352\u4e95\u88d5\u8cb4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027\"},\"author\":{\"name\":\"\u8352\u4e95\u88d5\u8cb4\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/c1c93375cf9b47146262643c82878852\"},\"headline\":\"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform\",\"datePublished\":\"2018-07-06T01:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027\"},\"wordCount\":84,\"keywords\":[\"Chef\",\"InSpec\"],\"articleSection\":[\"Chef\",\"\u8457\u8005\uff08Author\uff09\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027\",\"name\":\"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"datePublished\":\"2018-07-06T01:00:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/c1c93375cf9b47146262643c82878852\"},\"description\":\"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\\\/5\\\/23 \u306e\u548c\u8a33\u3067\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/22027#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chef\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/c1c93375cf9b47146262643c82878852\",\"name\":\"\u8352\u4e95\u88d5\u8cb4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/h-arai-230x230.jpg\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/h-arai-230x230.jpg\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/h-arai-230x230.jpg\",\"caption\":\"\u8352\u4e95\u88d5\u8cb4\"},\"description\":\"VPoE\u3068\u3057\u3066\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u7d44\u7e54\u3065\u304f\u308a\u306b\u65e5\u3005\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002 \u6c96\u7e04\u5728\u4f4f\u3067\u3001\u4ed5\u4e8b\u306e\u5408\u9593\u306b\u6d77\u3078\u901a\u3044\u306a\u304c\u3089\u3086\u3063\u305f\u308a\u3068\u66ae\u3089\u3057\u3066\u3044\u307e\u3059\u3002 \u3044\u3061\u3083\u308a\u3070\u3061\u3087\u30fc\u3067\u30fc\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/h-arai\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2018-07-06T01:00:42+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png","type":"image\/png"}],"author":"\u8352\u4e95\u88d5\u8cb4","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"\u8352\u4e95\u88d5\u8cb4","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027"},"author":{"name":"\u8352\u4e95\u88d5\u8cb4","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/c1c93375cf9b47146262643c82878852"},"headline":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform","datePublished":"2018-07-06T01:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027"},"wordCount":84,"keywords":["Chef","InSpec"],"articleSection":["Chef","\u8457\u8005\uff08Author\uff09"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027","name":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2018-07-06T01:00:42+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/c1c93375cf9b47146262643c82878852"},"description":"Chef, \u8457\u8005\uff08Author\uff09 |\u672c\u7a3f\u306fAutomatically Generating InSpec Controls from Terraform 2018\/5\/23 \u306e\u548c\u8a33\u3067\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/22027#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Chef","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef"},{"@type":"ListItem","position":4,"name":"[\u548c\u8a33] Terraform\u304b\u3089InSpec Controls \u3092\u81ea\u52d5\u751f\u6210\u3059\u308b #getchef #InSpec #Terraform"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/c1c93375cf9b47146262643c82878852","name":"\u8352\u4e95\u88d5\u8cb4","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/07\/h-arai-230x230.jpg","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/07\/h-arai-230x230.jpg","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/07\/h-arai-230x230.jpg","caption":"\u8352\u4e95\u88d5\u8cb4"},"description":"VPoE\u3068\u3057\u3066\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u7d44\u7e54\u3065\u304f\u308a\u306b\u65e5\u3005\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002 \u6c96\u7e04\u5728\u4f4f\u3067\u3001\u4ed5\u4e8b\u306e\u5408\u9593\u306b\u6d77\u3078\u901a\u3044\u306a\u304c\u3089\u3086\u3063\u305f\u308a\u3068\u66ae\u3089\u3057\u3066\u3044\u307e\u3059\u3002 \u3044\u3061\u3083\u308a\u3070\u3061\u3087\u30fc\u3067\u30fc","url":"https:\/\/www.creationline.com\/tech-blog\/author\/h-arai"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/22027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=22027"}],"version-history":[{"count":9,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/22027\/revisions"}],"predecessor-version":[{"id":22036,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/22027\/revisions\/22036"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=22027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=22027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=22027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}