{
  "slug":        "autoupdates",
  "properties":  {
    "slug":                  "autoupdates",
    "name":                  "Automatic Updates",
    "sidebar_name":          "Auto Updates",
    "show_module_menu_item": false,
    "show_module_options":   true,
    "storage_key":           "autoupdates",
    "tagline":               "Take back full control of WordPress automatic updates",
    "show_central":          true,
    "access_restricted":     true,
    "premium":               false,
    "run_if_whitelisted":    true,
    "run_if_verified_bot":   true,
    "run_if_wpcli":          true,
    "order":                 60
  },
  "wpcli":       {
    "enabled": true
  },
  "sections":    [
    {
      "slug":        "section_automatic_updates_for_wordpress_components",
      "primary":     true,
      "title":       "Automatic Updates For WordPress Components",
      "title_short": "WordPress Components",
      "beacon_id":   236,
      "summary":     [
        "Purpose - Control how automatic updates for each WordPress component is handled.",
        "Recommendation - You should at least allow minor updates for the WordPress core."
      ]
    },
    {
      "slug":        "section_options",
      "title":       "Auto-Update Options",
      "title_short": "Auto-Update Options",
      "beacon_id":   234,
      "summary":     "Purpose - Make adjustments to how automatic updates are handled on your site."
    },
    {
      "slug":        "section_enable_plugin_feature_automatic_updates_control",
      "title":       "Enable Module: Automatic Updates",
      "title_short": "Disable Module",
      "beacon_id":   234,
      "summary":     [
        "Purpose - Automatic Updates lets you manage the WordPress automatic updates engine so you choose what exactly gets updated automatically.",
        "Recommendation - Keep the Automatic Updates feature turned on."
      ]
    },
    {
      "slug":   "section_non_ui",
      "hidden": true
    }
  ],
  "options":     [
    {
      "key":         "enable_autoupdates",
      "section":     "section_enable_plugin_feature_automatic_updates_control",
      "advanced":    true,
      "default":     "Y",
      "type":        "checkbox",
      "link_info":   "https://shsec.io/3w",
      "link_blog":   "https://shsec.io/hj",
      "beacon_id":   234,
      "name":        "Enable Automatic Updates",
      "summary":     "Enable (or Disable) The Automatic Updates module",
      "description": "Un-Checking this option will completely disable the Automatic Updates module"
    },
    {
      "key":         "enable_autoupdate_disable_all",
      "section":     "section_automatic_updates_for_wordpress_components",
      "advanced":    true,
      "default":     "N",
      "type":        "checkbox",
      "link_info":   "https://shsec.io/3v",
      "link_blog":   "https://shsec.io/k6",
      "beacon_id":   405,
      "name":        "Disable All",
      "summary":     "Completely Disable WordPress Automatic Updates",
      "description": "When selected, regardless of any other settings, all WordPress automatic updates on this site will be completely disabled!"
    },
    {
      "key":           "autoupdate_core",
      "section":       "section_automatic_updates_for_wordpress_components",
      "default":       "core_minor",
      "type":          "select",
      "value_options": [
        {
          "value_key": "core_never",
          "text":      "Never"
        },
        {
          "value_key": "core_minor",
          "text":      "Minor Versions Only"
        },
        {
          "value_key": "core_major",
          "text":      "Major and Minor Versions"
        }
      ],
      "link_info":     "https://shsec.io/k5",
      "link_blog":     "",
      "beacon_id":     237,
      "name":          "WordPress Core Updates",
      "summary":       "Decide how the WordPress Core will automatically update, if at all",
      "description":   "At least automatically upgrading minor versions is recommended (and is the WordPress default)."
    },
    {
      "key":         "enable_autoupdate_plugins",
      "section":     "section_automatic_updates_for_wordpress_components",
      "default":     "N",
      "type":        "checkbox",
      "link_info":   "",
      "link_blog":   "",
      "name":        "Plugins",
      "summary":     "Automatically Update Plugins",
      "description": "Note: Automatic updates for plugins are disabled on WordPress by default."
    },
    {
      "key":         "enable_autoupdate_themes",
      "section":     "section_automatic_updates_for_wordpress_components",
      "advanced":    true,
      "default":     "N",
      "type":        "checkbox",
      "link_info":   "",
      "link_blog":   "",
      "name":        "Themes",
      "summary":     "Automatically Update Themes",
      "description": "Note: Automatic updates for themes are disabled on WordPress by default."
    },
    {
      "key":         "update_delay",
      "section":     "section_options",
      "premium":     true,
      "type":        "integer",
      "default":     0,
      "link_info":   "https://shsec.io/e5",
      "link_blog":   "",
      "beacon_id":   137,
      "name":        "Update Delay",
      "summary":     "Delay Automatic Updates For Period Of Stability",
      "description": "Shield will delay upgrades until the new update has been available for the set number of days."
    },
    {
      "key":           "autoupdate_plugin_self",
      "section":       "section_options",
      "advanced":      true,
      "default":       "auto",
      "type":          "select",
      "value_options": [
        {
          "value_key": "auto",
          "text":      "Let The Plugin Decide"
        },
        {
          "value_key": "disabled",
          "text":      "Disabled"
        },
        {
          "value_key": "immediate",
          "text":      "As Soon As Possible"
        }
      ],
      "link_info":     "https://shsec.io/3x",
      "link_blog":     "",
      "beacon_id":     409,
      "name":          "Auto Update Plugin",
      "summary":       "Always Automatically Update This Plugin",
      "description":   "Regardless of any other settings, automatically update the Shield plugin."
    },
    {
      "key":         "enable_upgrade_notification_email",
      "section":     "section_options",
      "default":     "N",
      "type":        "checkbox",
      "link_info":   "",
      "link_blog":   "",
      "name":        "Send Report Email",
      "summary":     "Send email notices after automatic updates",
      "description": "You can turn on/off email notices from automatic updates by un/checking this box."
    },
    {
      "key":         "override_email_address",
      "section":     "section_options",
      "sensitive":   true,
      "default":     "",
      "type":        "email",
      "link_info":   "",
      "link_blog":   "",
      "name":        "Report Email Address",
      "summary":     "Where to send upgrade notification reports",
      "description": "If this is empty, it will default to the Site Admin email address"
    },
    {
      "key":          "delay_tracking",
      "section":      "section_non_ui",
      "transferable": false,
      "sensitive":    true,
      "type":         "array",
      "default":      []
    },
    {
      "key":          "selected_plugins",
      "section":      "section_non_ui",
      "transferable": false,
      "type":         "array",
      "default":      []
    }
  ],
  "definitions": {
    "action_hook_priority": 1000
  }
}