Import policiies list

POST {{base_url}}/api/policy_management/v4/policies

Request Body

{"disable_applications_on_conflict"=>true, "ensure_applications"=>true, "ignore_policy_and_tenant_ids"=>true, "subject"=>{"policy"=>[{"id"=>"86d99a71-488e-432b-a565-9301815736a3", "created_at"=>"2021-03-22T12:35:41.198960354Z", "updated_at"=>"2021-07-06T11:00:43.649721621Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.protection.disaster_recovery", "origin"=>"upstream", "enabled"=>false, "settings"=>{"internetAccess"=>true}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"5ee0110a-ad68-4eb2-aa8a-243d1d46215f", "created_at"=>"2021-03-22T12:35:41.147850852Z", "updated_at"=>"2021-07-06T11:00:43.663260582Z", "deleted_at"=>nil, "tenant_id"=>"1952007", "type"=>"policy.protection.total", "name"=>"New licensing protection plan", "origin"=>"upstream", "enabled"=>true, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"342906c2-e1cb-4cbd-aa3c-71738c39877b", "created_at"=>"2021-04-13T15:04:06.371418445Z", "updated_at"=>"2021-07-06T11:00:43.635209322Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.active_protection", "origin"=>"upstream", "enabled"=>false, "settings"=>{"backup_protection_whitelist_enabled"=>false, "cryptomining_action_on_detection"=>"ALERT_TERMINATE", "cryptomining_protection_enabled"=>true, "network_client_protection_enabled"=>true, "network_client_protection_restore_path"=>"C:\\ProgramData\\Acronis\\Restored Network Files", "network_server_protection_enabled"=>false, "password_protection_enabled"=>false, "ransomware_action_on_detection"=>"ALERT_TERMINATE_RECOVER", "ransomware_protection_enabled"=>true, "self_defense_enabled"=>true, "uninstaller_password_hash"=>""}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"422e7d2c-0241-4406-b9a0-a33eb3c0b44d", "created_at"=>"2021-03-22T12:35:41.155426642Z", "updated_at"=>"2021-07-06T11:00:43.661625269Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.active_protection", "origin"=>"upstream", "enabled"=>true, "settings"=>{"backup_protection_whitelist_enabled"=>false, "cryptomining_action_on_detection"=>"ALERT_TERMINATE", "cryptomining_protection_enabled"=>true, "network_client_protection_enabled"=>true, "network_client_protection_restore_path"=>"C:\\ProgramData\\Acronis\\Restored Network Files", "network_server_protection_enabled"=>false, "password_protection_enabled"=>false, "ransomware_action_on_detection"=>"ALERT_TERMINATE_RECOVER", "ransomware_protection_enabled"=>true, "self_defense_enabled"=>true, "uninstaller_password_hash"=>""}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"activeProtection"}, {"id"=>"bdcb8401-d689-4cfc-8200-61263249f07f", "created_at"=>"2021-03-22T12:35:41.206536103Z", "updated_at"=>"2021-07-06T11:00:43.64600218Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.backup.machine", "name"=>"New licensing protection plan", "origin"=>"upstream", "enabled"=>true, "settings"=>{"compression"=>"normal", "format"=>"auto", "multi_volume_snapshotting_enabled"=>true, "preserve_file_security_settings"=>true, "reattempts"=>{"enabled"=>true, "interval"=>{"type"=>"seconds", "count"=>30}, "max_attempts"=>30}, "silent_mode_enabled"=>true, "splitting"=>{"size"=>9223372036854775807}, "vm_snapshot_reattempts"=>{"enabled"=>true, "interval"=>{"type"=>"minutes", "count"=>5}, "max_attempts"=>3}, "vss"=>{"enabled"=>true, "provider"=>"target_system_defined"}, "archive"=>{"name"=>"[Machine Name]-[Plan ID]-[Unique ID]A"}, "performance_window"=>{"enabled"=>true, "presets"=>[{"disk_limit"=>{"value"=>0, "type"=>"percent"}, "id"=>"high", "network_limit"=>{"value"=>0, "type"=>"percent"}, "timetable"=>[{"time_from"=>{"hour"=>0, "minute"=>0}, "time_to"=>{"hour"=>23, "minute"=>59, "second"=>59}, "days_of_week"=>["sun", "mon", "tue", "wed", "thu", "fri", "sat"]}]}, {"cpu_priority"=>"low", "disk_limit"=>{"value"=>25, "type"=>"percent"}, "id"=>"low", "network_limit"=>{"value"=>25, "type"=>"percent"}, "timetable"=>nil}]}, "retention"=>{"rules"=>[{"backup_set"=>["daily"], "max_age"=>{"type"=>"days", "count"=>7}}, {"backup_set"=>["weekly"], "max_age"=>{"type"=>"weeks", "count"=>4}}, {"backup_set"=>["monthly"], "max_age"=>{"type"=>"months", "count"=>6}}], "after_backup"=>true}, "vault"=>{"type"=>"cloud", "use_policy_credentials"=>true}, "alerts"=>{"enabled"=>false, "max_days_without_backup"=>5}, "email_notifications"=>{"enabled"=>false, "reattmpts"=>{"enabled"=>true, "interval"=>{"type"=>"seconds", "count"=>30}, "max_attempts"=>30}, "subject"=>"", "batching"=>{"enabled"=>false, "timeout"=>{"type"=>"seconds", "count"=>720}}}, "owner_id"=>"4a2a9d65-c66b-2abb-aa2a-d890a8dc93f3", "scheduling"=>{"backup_sets"=>[{"type"=>"auto", "schedule"=>{"alarms"=>{"time"=>{"weekdays"=>["mon", "tue", "wed", "thu", "fri"], "rand_max_delay"=>{"type"=>"minutes", "count"=>30}, "repeat_at"=>[{"hour"=>15, "minute"=>45}]}}, "prevent_sleep"=>true, "type"=>"weekly"}}], "enabled"=>true, "rand_max_delay"=>{"type"=>"minutes", "count"=>30}, "scheme"=>"always_incremental", "task_failure"=>{"enabled"=>false, "interval"=>{"type"=>"hours", "count"=>1}, "max_attempts"=>1}, "weekly_backup_day"=>"mon"}, "windows_event_log"=>{"enabled"=>false, "level"=>"errors_and_warnings"}, "cbt"=>"enable_and_use", "fast_backup_enabled"=>true, "quiesce_snapshotting_enabled"=>true}, "template_source_id"=>"", "plan_hash"=>"BD5C4FE1-FAB9-395A-DB17-0111C8BB2FBD", "source_type"=>"machines", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"491de6af-7bf7-44a8-8f48-b7c0ac059933", "created_at"=>"2021-04-13T15:04:06.406129855Z", "updated_at"=>"2021-07-06T11:00:43.627559745Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.dlp_device_control", "origin"=>"upstream", "enabled"=>false, "settings"=>{"Devices"=>{"Security"=>{"BluetoothHid"=>{"Regular"=>{"Exclude"=>false}}, "InprocCopyPaste"=>{"Regular"=>{"Exclude"=>false}}, "UsbAudio"=>{"Regular"=>{"Exclude"=>false}}, "UsbFirewireNIC"=>{"Regular"=>{"Exclude"=>false}}, "UsbHid"=>{"Regular"=>{"Exclude"=>true}}, "UsbScanner"=>{"Regular"=>{"Exclude"=>false}}, "UsbVideo"=>{"Regular"=>{"Exclude"=>false}}}, "Types"=>{"Ports"=>{"FireWire"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "USB"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}}, "Redirected"=>{"ClipboardIncoming"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "ClipboardOutgoing"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "MappedDrives"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "USB"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}}, "Standard"=>{"Bluetooth"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "CDDVD"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Clipboard"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "EncryptedRemovable"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Floppy"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "MTP"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Printer"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Removable"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Screenshot"=>{"Regular"=>{"Permission"=>"Allow"}}}}}, "General"=>{"DeviceNotifications"=>false, "HookerAllowlist"=>nil}}, "issues"=>[{"link"=>"", "severity"=>"critical", "error"=>{"domain"=>"General", "code"=>"BadRequestError", "reason"=>"BadRequestError", "context"=>{"error"=>"converter is not found, schemas: 2.0->1.0, type: policy.security.dlp_device_control"}}}], "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"cc261d5a-3648-46e2-a200-8f6fdaf13cd2", "created_at"=>"2021-03-22T12:35:41.220921286Z", "updated_at"=>"2021-07-06T11:00:43.644256926Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.dlp_device_control", "origin"=>"upstream", "enabled"=>true, "settings"=>{"Devices"=>{"Security"=>{"BluetoothHid"=>{"Regular"=>{"Exclude"=>false}}, "InprocCopyPaste"=>{"Regular"=>{"Exclude"=>false}}, "UsbAudio"=>{"Regular"=>{"Exclude"=>false}}, "UsbFirewireNIC"=>{"Regular"=>{"Exclude"=>false}}, "UsbHid"=>{"Regular"=>{"Exclude"=>true}}, "UsbScanner"=>{"Regular"=>{"Exclude"=>false}}, "UsbVideo"=>{"Regular"=>{"Exclude"=>false}}}, "Types"=>{"Ports"=>{"FireWire"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "USB"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}}, "Redirected"=>{"ClipboardIncoming"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "ClipboardOutgoing"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "MappedDrives"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "USB"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}}, "Standard"=>{"Bluetooth"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "CDDVD"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Clipboard"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "EncryptedRemovable"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Floppy"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "MTP"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Printer"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Removable"=>{"Regular"=>{"AlertDeny"=>false, "Permission"=>"Allow"}}, "Screenshot"=>{"Regular"=>{"Permission"=>"Allow"}}}}}, "General"=>{"DeviceNotifications"=>false, "HookerAllowlist"=>nil}}, "issues"=>[{"link"=>"", "severity"=>"critical", "error"=>{"domain"=>"General", "code"=>"BadRequestError", "reason"=>"BadRequestError", "context"=>{"error"=>"converter is not found, schemas: 2.0->1.0, type: policy.security.dlp_device_control"}}}], "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"DLPDeviceControl"}, {"id"=>"a0d0fc52-74e2-4212-a34b-db252cc90bd7", "created_at"=>"2021-04-13T15:04:06.424341186Z", "updated_at"=>"2021-07-06T11:00:43.621242135Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.backups_scanning", "origin"=>"upstream", "enabled"=>false, "settings"=>{"antimalware_scan_enabled"=>true, "archive_cred_id"=>"", "extra_type"=>"EXTERNAL_SCAN", "scan_type"=>"LAST", "targets_type"=>"LOCATION", "vulnerability_assessment_scan_enabled"=>false}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"35847154-cf3a-4b0f-a0ce-27a0bdb68cdf", "created_at"=>"2021-04-13T15:04:06.418410151Z", "updated_at"=>"2021-07-06T11:00:43.623462533Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.vulnerability_assessment", "origin"=>"upstream", "enabled"=>false, "settings"=>{"check_linux_packages"=>true, "check_third_party_applications"=>true, "check_windows_components"=>true, "mac_settings"=>{"check_apple_products"=>true, "check_third_party_products"=>true}, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"rand_max_delay"=>{"count"=>3600, "type"=>"seconds"}, "repeat_at"=>[{"hour"=>10, "minute"=>0, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri", "sat", "sun"]}}, "prevent_sleep"=>true, "type"=>"daily"}}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"e5846c74-8c27-45e9-ab62-3d6aa3023336", "created_at"=>"2021-04-13T15:04:06.413721353Z", "updated_at"=>"2021-07-06T11:00:43.625868211Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.patch_management", "origin"=>"upstream", "enabled"=>false, "settings"=>{"microsoft"=>{"update_option"=>"ALL"}, "other"=>{"update_option"=>"ONLY_MAJOR"}, "restart"=>"NEVER", "restart_in"=>0, "safety_backup"=>{"backup_plan_id"=>"", "enable_safety_backup"=>false}, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"rand_max_delay"=>{"count"=>3600, "type"=>"seconds"}, "repeat_at"=>[{"hour"=>15, "minute"=>20, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "wait_backup_completion"=>true}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"ca86aa1b-bcce-4e63-873b-33bd957268be", "created_at"=>"2021-04-13T15:04:06.399749109Z", "updated_at"=>"2021-07-06T11:00:43.629384133Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.url_filtering", "origin"=>"upstream", "enabled"=>false, "settings"=>{"categories"=>{"advertisement"=>"ALLOW", "advice"=>"ALLOW", "blogs"=>"ALLOW", "business"=>"ALLOW", "computers_and_software"=>"ALLOW", "drugs"=>"ALLOW", "education"=>"ALLOW", "entertainment"=>"ALLOW", "file_sharing"=>"ALLOW", "financial"=>"ALLOW", "gambling"=>"ALLOW", "games"=>"ALLOW", "government"=>"ALLOW", "hacking"=>"ALLOW", "hate"=>"ALLOW", "health"=>"ALLOW", "hobbies"=>"ALLOW", "hosting"=>"ALLOW", "illegal"=>"ALLOW", "internet_messenger"=>"ALLOW", "job_search"=>"ALLOW", "mature_content"=>"ALLOW", "narcotics"=>"ALLOW", "news"=>"ALLOW", "online_dating"=>"ALLOW", "online_pay"=>"ALLOW", "online_photos"=>"ALLOW", "online_shop"=>"ALLOW", "porn"=>"ALLOW", "portals"=>"ALLOW", "radio_music"=>"ALLOW", "religion"=>"ALLOW", "search_engines"=>"ALLOW", "social_networks"=>"ALLOW", "sports"=>"ALLOW", "suicide"=>"ALLOW", "tabloids"=>"ALLOW", "time_wasters"=>"ALLOW", "travel"=>"ALLOW", "videos"=>"ALLOW", "violent_cartoons"=>"ALLOW", "weapons"=>"ALLOW", "webmail"=>"ALLOW", "webproxy"=>"ALLOW"}, "categories_access"=>"ALERT", "website_access"=>"ALWAYS_ASK_USER"}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"49162eb9-4683-4ce1-8ffa-13d14f5fc202", "created_at"=>"2021-04-13T15:04:06.39280112Z", "updated_at"=>"2021-07-06T11:00:43.631275736Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.antimalware_protection", "origin"=>"upstream", "enabled"=>false, "settings"=>{"advanced_antimalware_protection"=>{"enabled"=>true}, "behavior_engine_settings"=>{"action_on_detection"=>"QUARANTINE_PROCESS", "enabled"=>true}, "exploit_prevention_settings"=>{"action_on_detection"=>"STOP_PROCESS", "enabled"=>true, "techniques"=>["RETURN_ORIENTED_PROGRAMMING", "MEMORY", "CODE_INJECTION", "PRIVILEGE_ESCALATION"]}, "on_access_scan_settings"=>{"action_on_detection"=>"QUARANTINE", "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_mode"=>"SMART_ON_ACCESS"}, "on_demand_scans"=>[{"action_on_detection"=>"QUARANTINE", "disable_schedule_on_battery_power"=>true, "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_only_new_and_changed_files"=>true, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>3600, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>13, "minute"=>45, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri", "sat", "sun"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "third_party_antivirus_scan_type"=>"QUICK_SCAN"}, {"action_on_detection"=>"QUARANTINE", "disable_schedule_on_battery_power"=>true, "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_archive_files"=>{"max_archive_size"=>100, "max_archive_size_unit"=>"KB", "max_number_of_files"=>10, "max_recursion_depth"=>1}, "scan_only_new_and_changed_files"=>true, "scan_removable_drives"=>{"cd_dvd"=>false, "network_drives"=>false, "usb"=>false}, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>3600, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>15, "minute"=>30, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["fri"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "third_party_antivirus_scan_type"=>"FULL_SCAN"}], "quarantine_period"=>30}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"5d9ae7e1-8fa4-4731-a8e4-87434cd11f94", "created_at"=>"2021-04-13T15:04:06.377725107Z", "updated_at"=>"2021-07-06T11:00:43.633455195Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.data_protection_map", "origin"=>"upstream", "enabled"=>false, "settings"=>{"exceptions"=>{"hidden_files_and_folders_enabled"=>true, "system_files_and_folders_enabled"=>true}, "extensions"=>[".7z", ".abc", ".accdb", ".apk", ".bin", ".bz2", ".bzip2", ".cab", ".cer", ".csv", ".dbf", ".dbx", ".deb", ".doc", ".docx", ".dot", ".dotx", ".dwg", ".dxf", ".eml", ".emlx", ".gpg", ".gz", ".gzip", ".iwa", ".json", ".key", ".keynote", ".mdb", ".msg", ".odp", ".oos", ".p12", ".pages", ".pdf", ".pgp", ".pot", ".pps", ".ppt", ".pptx", ".pst", ".rar", ".rtf", ".sdp", ".sdw", ".sldasm", ".slddrw", ".sldprt", ".sxi", ".sxw", ".tar.gz", ".tsv", ".txt", ".vdx", ".vsd", ".vss", ".vst", ".vsx", ".vtw", ".vtx", ".xls", ".xlsx", ".xlw", ".xml", ".xps", ".zip"], "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>15, "minute"=>55, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri"]}}, "prevent_sleep"=>true, "type"=>"daily"}}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"00e3a5fd-645a-4d51-8728-4a668e240bca", "created_at"=>"2021-04-13T15:04:06.362335859Z", "updated_at"=>"2021-07-06T11:00:43.637040187Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.windows_defender", "origin"=>"upstream", "enabled"=>false, "settings"=>{"check_for_signatures_before_running_scan"=>true, "disable_archive_scanning"=>false, "disable_auto_exclusions"=>false, "disable_behavior_monitoring"=>false, "disable_catchup_full_scan"=>true, "disable_catchup_quick_scan"=>true, "disable_email_scanning"=>false, "disable_io_antivirus_protection"=>false, "disable_privacy_mode"=>true, "disable_realtime_monitoring"=>false, "disable_removable_drive_scanning"=>false, "disable_restore_point"=>true, "disable_scanning_mapped_network_drives_for_full_scan"=>true, "disable_scanning_network_files"=>true, "disable_script_scanning"=>false, "high_threat_default_action"=>"QUARANTINE", "low_threat_default_action"=>"QUARANTINE", "maps_reporting"=>"DISABLED", "moderate_threat_default_action"=>"QUARANTINE", "quarantine_purge_items_after_delay"=>30, "randomize_schedule_task_times"=>true, "real_time_scan_direction"=>0, "remediation_schedule_day"=>"never", "remediation_schedule_time"=>"02:00:00", "reporting_additional_action_time_out"=>0, "reporting_critical_failure_time_out"=>0, "reporting_non_critical_time_out"=>0, "scan_avg_cpuload_factor"=>30, "scan_only_if_idle_enabled"=>true, "scan_parameters"=>"FULL_SCAN", "scan_purge_items_after_delay"=>0, "scan_schedule_day"=>"fri", "scan_schedule_quick_scan_time"=>"10:00:00", "scan_schedule_time"=>"12:00:00", "severe_threat_default_action"=>"QUARANTINE", "signature_au_grace_period"=>0, "signature_disable_update_on_startup_without_engine"=>false, "signature_fallback_order"=>"MicrosoftUpdateServer|MMPC", "signature_schedule_day"=>"everyday", "signature_schedule_time"=>"12:00:00", "signature_update_catchup_interval"=>1, "signature_update_interval"=>3, "submit_samples_consent"=>"NEVER_SEND", "ui_lockdown"=>false, "unknown_threat_default_action"=>"ANY"}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"24b46c80-d6a6-4712-ad95-4016365f2897", "created_at"=>"2021-04-13T15:04:06.356316076Z", "updated_at"=>"2021-07-06T11:00:43.63878635Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.microsoft_security_essentials", "origin"=>"upstream", "enabled"=>false, "settings"=>{"check_for_signatures_before_running_scan"=>true, "disable_archive_scanning"=>false, "disable_catchup_full_scan"=>false, "disable_history_results"=>true, "disable_privacy_mode"=>false, "disable_removable_drive_scanning"=>false, "disable_restore_point"=>true, "high_threat_default_action"=>"QUARANTINE", "low_threat_default_action"=>"QUARANTINE", "maps_reporting"=>"DISABLED", "moderate_threat_default_action"=>"QUARANTINE", "quarantine_purge_items_after_delay"=>30, "scan_avg_cpuload_factor"=>30, "scan_only_if_idle_enabled"=>true, "scan_parameters"=>"FULL_SCAN", "scan_schedule_day"=>"fri", "scan_schedule_time"=>"12:00:00", "severe_threat_default_action"=>"QUARANTINE", "signature_fallback_order"=>"MicrosoftUpdateServer|MMPC", "signature_schedule_day"=>"everyday", "signature_schedule_time"=>"12:00:00", "signature_update_interval"=>3, "submit_samples_consent"=>false}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"8e46677b-42e3-4083-b245-6ec5c6ede2b8", "created_at"=>"2021-03-22T12:35:41.237261622Z", "updated_at"=>"2021-07-06T11:00:43.640570091Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.windows_defender", "origin"=>"upstream", "enabled"=>false, "settings"=>{"check_for_signatures_before_running_scan"=>true, "disable_archive_scanning"=>false, "disable_auto_exclusions"=>false, "disable_behavior_monitoring"=>false, "disable_catchup_full_scan"=>true, "disable_catchup_quick_scan"=>true, "disable_email_scanning"=>false, "disable_io_antivirus_protection"=>false, "disable_privacy_mode"=>true, "disable_realtime_monitoring"=>false, "disable_removable_drive_scanning"=>false, "disable_restore_point"=>true, "disable_scanning_mapped_network_drives_for_full_scan"=>true, "disable_scanning_network_files"=>true, "disable_script_scanning"=>false, "high_threat_default_action"=>"QUARANTINE", "low_threat_default_action"=>"QUARANTINE", "maps_reporting"=>"DISABLED", "moderate_threat_default_action"=>"QUARANTINE", "quarantine_purge_items_after_delay"=>30, "randomize_schedule_task_times"=>true, "real_time_scan_direction"=>0, "remediation_schedule_day"=>"never", "remediation_schedule_time"=>"02:00:00", "reporting_additional_action_time_out"=>0, "reporting_critical_failure_time_out"=>0, "reporting_non_critical_time_out"=>0, "scan_avg_cpuload_factor"=>30, "scan_only_if_idle_enabled"=>true, "scan_parameters"=>"FULL_SCAN", "scan_purge_items_after_delay"=>0, "scan_schedule_day"=>"fri", "scan_schedule_quick_scan_time"=>"10:00:00", "scan_schedule_time"=>"12:00:00", "severe_threat_default_action"=>"QUARANTINE", "signature_au_grace_period"=>0, "signature_disable_update_on_startup_without_engine"=>false, "signature_fallback_order"=>"MicrosoftUpdateServer|MMPC", "signature_schedule_day"=>"everyday", "signature_schedule_time"=>"12:00:00", "signature_update_catchup_interval"=>1, "signature_update_interval"=>3, "submit_samples_consent"=>"NEVER_SEND", "ui_lockdown"=>false, "unknown_threat_default_action"=>"ANY"}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"1078dc08-3e0e-441b-9fbd-66c46bc261eb", "created_at"=>"2021-03-22T12:35:41.228129514Z", "updated_at"=>"2021-07-06T11:00:43.642347849Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.vulnerability_assessment", "origin"=>"upstream", "enabled"=>true, "settings"=>{"check_linux_packages"=>true, "check_third_party_applications"=>true, "check_windows_components"=>true, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"rand_max_delay"=>{"count"=>3600, "type"=>"seconds"}, "repeat_at"=>[{"hour"=>11, "minute"=>0, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri", "sat", "sun"]}}, "prevent_sleep"=>true, "type"=>"daily"}}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"VulnerabilityAssessment"}, {"id"=>"0f2cf2eb-ec86-4390-b24b-efddabda4cb9", "created_at"=>"2021-03-22T12:35:41.193453195Z", "updated_at"=>"2021-07-06T11:00:43.651497346Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.microsoft_security_essentials", "origin"=>"upstream", "enabled"=>false, "settings"=>{"check_for_signatures_before_running_scan"=>true, "disable_archive_scanning"=>false, "disable_catchup_full_scan"=>false, "disable_history_results"=>true, "disable_privacy_mode"=>false, "disable_removable_drive_scanning"=>false, "disable_restore_point"=>true, "high_threat_default_action"=>"QUARANTINE", "low_threat_default_action"=>"QUARANTINE", "maps_reporting"=>"DISABLED", "moderate_threat_default_action"=>"QUARANTINE", "quarantine_purge_items_after_delay"=>30, "scan_avg_cpuload_factor"=>30, "scan_only_if_idle_enabled"=>true, "scan_parameters"=>"FULL_SCAN", "scan_schedule_day"=>"fri", "scan_schedule_time"=>"12:00:00", "severe_threat_default_action"=>"QUARANTINE", "signature_fallback_order"=>"MicrosoftUpdateServer|MMPC", "signature_schedule_day"=>"everyday", "signature_schedule_time"=>"12:00:00", "signature_update_interval"=>3, "submit_samples_consent"=>false}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"bca98151-dbac-4855-b4c1-07f28874e7cb", "created_at"=>"2021-03-22T12:35:41.187238814Z", "updated_at"=>"2021-07-06T11:00:43.653209523Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.backups_scanning", "origin"=>"upstream", "enabled"=>false, "settings"=>{"antimalware_scan_enabled"=>true, "archive_cred_id"=>"", "extra_type"=>"EXTERNAL_SCAN", "scan_type"=>"LAST", "targets_type"=>"LOCATION", "vulnerability_assessment_scan_enabled"=>false}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>""}, {"id"=>"0089e90c-f286-4420-b2cf-84c76fe33140", "created_at"=>"2021-03-22T12:35:41.180976824Z", "updated_at"=>"2021-07-06T11:00:43.654987811Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.url_filtering", "origin"=>"upstream", "enabled"=>true, "settings"=>{"categories"=>{"advertisement"=>"BLOCK", "advice"=>"ALLOW", "blogs"=>"ALLOW", "business"=>"ALLOW", "computers_and_software"=>"ALLOW", "drugs"=>"ALLOW", "education"=>"ALLOW", "entertainment"=>"ALLOW", "file_sharing"=>"ALLOW", "financial"=>"ALLOW", "gambling"=>"BLOCK", "games"=>"BLOCK", "government"=>"ALLOW", "hacking"=>"BLOCK", "hate"=>"BLOCK", "health"=>"ALLOW", "hobbies"=>"ALLOW", "hosting"=>"ALLOW", "illegal"=>"BLOCK", "internet_messenger"=>"ALLOW", "job_search"=>"ALLOW", "mature_content"=>"BLOCK", "narcotics"=>"BLOCK", "news"=>"ALLOW", "online_dating"=>"BLOCK", "online_pay"=>"ALLOW", "online_photos"=>"ALLOW", "online_shop"=>"ALLOW", "porn"=>"BLOCK", "portals"=>"ALLOW", "radio_music"=>"ALLOW", "religion"=>"ALLOW", "search_engines"=>"ALLOW", "social_networks"=>"BLOCK", "sports"=>"ALLOW", "suicide"=>"BLOCK", "tabloids"=>"ALLOW", "time_wasters"=>"BLOCK", "travel"=>"ALLOW", "videos"=>"ALLOW", "violent_cartoons"=>"BLOCK", "weapons"=>"ALLOW", "webmail"=>"ALLOW", "webproxy"=>"ALLOW"}, "categories_access"=>"ALERT", "website_access"=>"ALWAYS_ASK_USER"}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"URLFiltering"}, {"id"=>"b8c40021-d2d8-4ef1-be2c-96879cbc7b63", "created_at"=>"2021-03-22T12:35:41.175487828Z", "updated_at"=>"2021-07-06T11:00:43.656618495Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.patch_management", "origin"=>"upstream", "enabled"=>true, "settings"=>{"microsoft"=>{"update_option"=>"ALL"}, "other"=>{"update_option"=>"ONLY_MAJOR"}, "restart"=>"NEVER", "restart_in"=>0, "safety_backup"=>{"backup_plan_id"=>"", "enable_safety_backup"=>false}, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"rand_max_delay"=>{"count"=>3600, "type"=>"seconds"}, "repeat_at"=>[{"hour"=>16, "minute"=>0, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "wait_backup_completion"=>true}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"PatchManagement"}, {"id"=>"34e7e196-659d-4a33-a83a-bed1d51a984e", "created_at"=>"2021-03-22T12:35:41.169002645Z", "updated_at"=>"2021-07-06T11:00:43.658260503Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.antimalware_protection", "origin"=>"upstream", "enabled"=>true, "settings"=>{"advanced_antimalware_protection"=>{"enabled"=>true}, "behavior_engine_settings"=>{"action_on_detection"=>"QUARANTINE_PROCESS", "enabled"=>true}, "exploit_prevention_settings"=>{"action_on_detection"=>"STOP_PROCESS", "enabled"=>true, "techniques"=>["RETURN_ORIENTED_PROGRAMMING", "MEMORY", "CODE_INJECTION", "PRIVILEGE_ESCALATION"]}, "on_access_scan_settings"=>{"action_on_detection"=>"QUARANTINE", "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_mode"=>"SMART_ON_ACCESS"}, "on_demand_scans"=>[{"action_on_detection"=>"QUARANTINE", "disable_schedule_on_battery_power"=>true, "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_only_new_and_changed_files"=>true, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>3600, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>14, "minute"=>0, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri", "sat", "sun"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "third_party_antivirus_scan_type"=>"QUICK_SCAN"}, {"action_on_detection"=>"QUARANTINE", "disable_schedule_on_battery_power"=>true, "enabled"=>true, "portable_executable_analysis_enabled"=>true, "scan_archive_files"=>{"max_archive_size"=>100, "max_archive_size_unit"=>"KB", "max_number_of_files"=>10, "max_recursion_depth"=>1}, "scan_only_new_and_changed_files"=>true, "scan_removable_drives"=>{"cd_dvd"=>false, "network_drives"=>false, "usb"=>false}, "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>3600, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>16, "minute"=>0, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["fri"]}}, "prevent_sleep"=>true, "type"=>"daily"}, "third_party_antivirus_scan_type"=>"FULL_SCAN"}], "quarantine_period"=>30}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"AntiMalwareProtection|ExploitPrevention|AdvancedAntimalwareProtection"}, {"id"=>"88c0126c-392c-45a9-8abb-50897c446ddb", "created_at"=>"2021-03-22T12:35:41.162883729Z", "updated_at"=>"2021-07-06T11:00:43.659960661Z", "deleted_at"=>nil, "parent_ids"=>["5ee0110a-ad68-4eb2-aa8a-243d1d46215f"], "tenant_id"=>"1952007", "type"=>"policy.security.data_protection_map", "origin"=>"upstream", "enabled"=>true, "settings"=>{"exceptions"=>{"hidden_files_and_folders_enabled"=>true, "system_files_and_folders_enabled"=>true}, "extensions"=>[".7z", ".abc", ".accdb", ".apk", ".bin", ".bz2", ".bzip2", ".cab", ".cer", ".csv", ".dbf", ".dbx", ".deb", ".doc", ".docx", ".dot", ".dotx", ".dwg", ".dxf", ".eml", ".emlx", ".gpg", ".gz", ".gzip", ".iwa", ".json", ".key", ".keynote", ".mdb", ".msg", ".odp", ".oos", ".p12", ".pages", ".pdf", ".pgp", ".pot", ".pps", ".ppt", ".pptx", ".pst", ".rar", ".rtf", ".sdp", ".sdw", ".sldasm", ".slddrw", ".sldprt", ".sxi", ".sxw", ".tar.gz", ".tsv", ".txt", ".vdx", ".vsd", ".vss", ".vst", ".vsx", ".vtw", ".vtx", ".xls", ".xlsx", ".xlw", ".xml", ".xps", ".zip"], "schedule"=>{"activation"=>{"action"=>"run", "timeout"=>{"count"=>4294967295, "type"=>"seconds"}}, "alarms"=>{"time"=>{"repeat_at"=>[{"hour"=>15, "minute"=>45, "second"=>0}], "run_later"=>false, "wake_on_lan"=>false, "weekdays"=>["mon", "tue", "wed", "thu", "fri"]}}, "prevent_sleep"=>true, "type"=>"daily"}}, "template_source_id"=>"", "plan_hash"=>"", "source_type"=>"", "days_without_backup_alert"=>nil, "ls_features"=>"DataProtectionMap"}]}}