<commit_before>class Tfsec < Formula
  desc "Static analysis powered security scanner for your terraform code"
  homepage "https://github.com/tfsec/tfsec"
  url "https://github.com/tfsec/tfsec/archive/v0.38.0.tar.gz"
  sha256 "a5fbc76a766afa67b8fc49c5c5cc2670c1a60e8dae78dc44337f13d62ee67584"
  license "MIT"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "521862e32e40c4f607593837b8d1c70f24f30ec735ebc0e5c63de158827503af"
    sha256 cellar: :any_skip_relocation, big_sur:       "862ca3dbd15be8d7d491ace960ab763f8d7efc57dfd60e19dd753f063a26e617"
    sha256 cellar: :any_skip_relocation, catalina:      "9b55abc68caf9a6098ed3d6b1ebc74bdd769984aef446ca6d120b8180cae75e6"
    sha256 cellar: :any_skip_relocation, mojave:        "cc7488e7ec2dc021a2621d91094f6c8cccb0ef50c9db73bc7b98d540db7942c7"
  end

  depends_on "go" => :build

  resource "testfile" do
    url "https://raw.githubusercontent.com/tfsec/tfsec/2d9b76a/example/brew-validate.tf"
    sha256 "3ef5c46e81e9f0b42578fd8ddce959145cd043f87fd621a12140e99681f1128a"
  end

  def install
    system "scripts/install.sh", "v#{version}"
    bin.install "tfsec"
  end

  test do
    resource("testfile").stage do
      assert_match "No problems detected!", shell_output("#{bin}/tfsec .")
    end
  end
end<commit_msg>tfsec: update 0.38.0 bottle.<commit_after>class Tfsec < Formula
  desc "Static analysis powered security scanner for your terraform code"
  homepage "https://github.com/tfsec/tfsec"
  url "https://github.com/tfsec/tfsec/archive/v0.38.0.tar.gz"
  sha256 "a5fbc76a766afa67b8fc49c5c5cc2670c1a60e8dae78dc44337f13d62ee67584"
  license "MIT"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "1643c0006207353356c24e937041be40509ef86e8582ae4efaa2e57bd4637a5b"
    sha256 cellar: :any_skip_relocation, big_sur:       "e2473c1206894a43607b0f44e1d2ea8a2f1653498d004fe96b7826670075ad3e"
    sha256 cellar: :any_skip_relocation, catalina:      "50fed7bda9757aaa20069eda9a4c7139e6387fc9a8ed6f81b6b1a28c9b68a75f"
    sha256 cellar: :any_skip_relocation, mojave:        "85b965c1714c3ae67517d1eb497e6b1799c3f16653c63d8d16243786735b8592"
  end

  depends_on "go" => :build

  resource "testfile" do
    url "https://raw.githubusercontent.com/tfsec/tfsec/2d9b76a/example/brew-validate.tf"
    sha256 "3ef5c46e81e9f0b42578fd8ddce959145cd043f87fd621a12140e99681f1128a"
  end

  def install
    system "scripts/install.sh", "v#{version}"
    bin.install "tfsec"
  end

  test do
    resource("testfile").stage do
      assert_match "No problems detected!", shell_output("#{bin}/tfsec .")
    end
  end
end
{'fraction_non_alphanumeric': 0.0836697247706422, 'fraction_numerical': 0.2, 'mean_word_length': 4.913232104121475, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3550012', 'n_tokens_mistral': 1428, 'n_tokens_neox': 1153, 'n_words': 166}