summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb
blob: 90a0403ae3123ad4900c692757968fd754fba6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Cookbook:: end_to_end
# Recipe:: _windows_defender
#
# Copyright:: Copyright (c) Chef Software Inc.
#

windows_defender "Configure Windows Defender" do
  realtime_protection true
  intrusion_protection_system true
  lock_ui true
  scan_archives true
  scan_scripts true
  scan_email true
  scan_removable_drives true
  scan_network_files false
  scan_mapped_drives false
  action :enable
end

windows_defender_exclusion "Exclude PNG files" do
  extensions "png"
  process_paths 'c:\\windows\\system32'
  action :add
end