<commit_before>#
# Cookbook Name:: webserver
# Recipe:: default
#
# Copyright (c) 2015 The Authors, All Rights Reserved.
# Block ICMPv4 and ICMPv6 Echo Request messages in the public profile.
powershell_script 'Block ICMPv4 Echo Request messages' do
  code <<-EOH
    Get-NetFirewallPortFilter -Protocol ICMPv4 |
    Get-NetFirewallRule |
    Where-Object {
      ($_.Profile -eq "Public") -and
      ($_.Direction -eq "Inbound") -and
      ($_.Action -eq "Allow") } |
    Set-NetFirewallRule -Action Block -IcmpType 8 -Enabled True
  EOH<commit_msg>fix comment<commit_after>#
# Cookbook Name:: webserver
# Recipe:: default
#
# Copyright (c) 2015 The Authors, All Rights Reserved.
# Block ICMPv4 Echo Request messages in the public profile.
powershell_script 'Block ICMPv4 Echo Request messages' do
  code <<-EOH
    Get-NetFirewallPortFilter -Protocol ICMPv4 |
    Get-NetFirewallRule |
    Where-Object {
      ($_.Profile -eq "Public") -and
      ($_.Direction -eq "Inbound") -and
      ($_.Action -eq "Allow") } |
    Set-NetFirewallRule -Action Block -IcmpType 8 -Enabled True
  EOH
{'fraction_non_alphanumeric': 0.10855565777368906, 'fraction_numerical': 0.015639374425023, 'mean_word_length': 3.3870967741935485, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1208710', 'n_tokens_mistral': 361, 'n_tokens_neox': 342, 'n_words': 114}