summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb
new file mode 100644
index 0000000000..90a0403ae3
--- /dev/null
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/_windows_defender.rb
@@ -0,0 +1,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