Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nudge not working with my config #674

Open
Dhuhi009 opened this issue Feb 17, 2025 · 2 comments
Open

Nudge not working with my config #674

Dhuhi009 opened this issue Feb 17, 2025 · 2 comments

Comments

@Dhuhi009
Copy link

Dhuhi009 commented Feb 17, 2025

Hi, I have configured the nudge based on my requirements, but i am not getting the popup on the device, If i set with the basic with the below things alone i am getting the pop up.
osVersionRequirements


requiredInstallationDate
2025-02-25T00:00:00Z
requiredMinimumOSVersion
15.3.1
Any help is appreciated, I was trying with the support video and other resources didn't getting success
Here is my Plist which i am trying to deploy

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>optionalFeatures</key>
    <dict>
      <key>acceptableApplicationBundleIDs</key>
      <array>
        <string>us.zoom.xos</string>
      </array>
      <key>acceptableAssertionApplicationNames</key>
      <array>
        <string>zoom.us</string>
      </array>
      <key>acceptableAssertionUsage</key>
      <true/>
      <key>acceptableCameraUsage</key>
      <true/>
      <key>acceptableUpdatePreparingUsage</key>
      <true/>
      <key>acceptableScreenSharingUsage</key>
      <true/>
      <key>aggressiveUserExperience</key>
      <true/>
      <key>aggressiveUserFullScreenExperience</key>
      <true/>
      <key>asynchronousSoftwareUpdate</key>
      <true/>
      <key>attemptToBlockApplicationLaunches</key>
      <false/>
      <key>attemptToFetchMajorUpgrade</key>
      <true/>
      <key>disableSoftwareUpdateWorkflow</key>
      <false/>
      <key>enforceMinorUpdates</key>
      <true/>
      <key>honorFocusModes</key>
      <false/>
      <key>terminateApplicationsOnLaunch</key>
      <false/>
    </dict>
    <key>osVersionRequirements</key>
    <array>
      <dict>
        <key>aboutUpdateURL</key>
        <string>https://support.apple.com/en-us/108382</string>
        <key>actionButtonPath</key>
        <string>actionButtonPath = "/System/Library/PreferencePanes/SoftwareUpdate.prefPane"</string>
        <key>activelyExploitedCVEsMajorUpgradeSLA</key>
        <integer>5</integer>
        <key>activelyExploitedCVEsMinorUpdateSLA</key>
        <integer>5</integer>
        <key>requiredInstallationDate</key>
        <string>2025-02-25T00:00:00Z</string>
        <key>requiredMinimumOSVersion</key>
        <string>15.3.1</string>
        <key>standardMajorUpgradeSLA</key>
        <integer>5</integer>
        <key>standardMinorUpdateSLA</key>
        <integer>5</integer>
        <key>targetedOSVersionsRule</key>
        <string>"any"</string>
      </dict>
    </array>
    <key>userExperience</key>
    <dict>
      <key>allowGracePeriods</key>
      <false/>
      <key>allowLaterDeferralButton</key>
      <true/>
      <key>allowMovableWindow</key>
      <true/>
      <key>allowUserQuitDeferrals</key>
      <true/>
      <key>allowedDeferrals</key>
      <integer>10</integer>
      <key>allowedDeferralsUntilForcedSecondaryQuitButton</key>
      <integer>3</integer>
      <key>approachingRefreshCycle</key>
      <integer>18000</integer>
      <key>approachingWindowTime</key>
      <integer>72</integer>
      <key>calendarDeferralUnit</key>
      <string>imminentWindowTime</string>
      <key>elapsedRefreshCycle</key>
      <integer>300</integer>
      <key>gracePeriodInstallDelay</key>
      <integer>23</integer>
      <key>gracePeriodLaunchDelay</key>
      <integer>1</integer>
      <key>gracePeriodPath</key>
      <string> /private/var/db/.AppleSetupDone</string>
      <key>imminentRefreshCycle</key>
      <integer>10800</integer>
      <key>imminentWindowTime</key>
      <integer>24</integer>
      <key>initialRefreshCycle</key>
      <integer>25200</integer>
      <key>launchAgentIdentifier</key>
      <string>com.github.macadmins.Nudge</string>
      <key>loadLaunchAgent</key>
      <true/>
      <key>maxRandomDelayInSeconds</key>
      <integer>1200</integer>
      <key>noTimers</key>
      <false/>
      <key>nudgeRefreshCycle</key>
      <integer>60</integer>
      <key>randomDelay</key>
      <false/>
    </dict>
    <key>userInterface</key>
    <dict>
      <key>actionButtonPath</key>
      <string>/System/Library/PreferencePanes/SoftwareUpdate.prefPane</string>
      <key>fallbackLanguage</key>
      <string>en</string>
      <key>forceFallbackLanguage</key>
      <true/>
      <key>forceScreenShotIcon</key>
      <true/>
      <key>iconDarkPath</key>
      <string>/Library/Application Support/xyz/xyz logo 1.png</string>
      <key>iconLightPath</key>
      <string>/Library/Application Support/xyz/xyz logo 1.png</string>
      <key>requiredInstallationDisplayFormat</key>
      <string>MM/dd/yyyy</string>
      <key>showActivelyExploitedCVEs</key>
      <true/>
      <key>showDeferralCount</key>
      <true/>
      <key>showDaysRemainingToUpdate</key>
      <true/>
      <key>showRequiredDate</key>
      <true/>
      <key>simpleMode</key>
      <false/>
      <key>singleQuitButton</key>
      <true/>
      <key>updateElements</key>
      <array>
        <dict>
          <key>_language</key>
          <string>en</string>
          <key>actionButtonText</key>
          <string>Update Now</string>
          <key>applicationTerminatedTitleText</key>
          <string>Application Terminated</string>
          <key>customDeferralButtonText</key>
          <string>Remind Me Later</string>
          <key>customDeferralDropdownText</key>
          <string>Choose Deferral Period</string>
          <key>informationButtonText</key>
          <string>More info</string>
          <key>mainContentHeader</key>
          <string>Don’t delay—your device security is at risk.</string>
          <key>mainContentNote</key>
          <string>Important: • You can defer up to &lt;N&gt; times; after that, updates install automatically • Back up data to Google Drive; restart your Mac if it’s been up for 2+ days • Keep your device plugged in; remove external monitors/hubs during the update • Avoid forcing a shutdown or closing the lid • Turn off Cloudflare if active</string>
          <key>mainContentSubHeader</key>
          <string>Upgrade to macOS 15.3 for Enhanced Security &amp; Performance</string>
          <key>mainContentText</key>
          <string>What's new in macOS 15.3: • Critical security patches for known (actively exploited) vulnerabilities • Improves system performance and stability • Ensures regulatory compliance and best practices  Risks if you don’t update: • Higher risk of malware and ransomware attacks • Possible data breaches exposing sensitive info • Loss of support for older macOS versions</string>
          <key>mainHeader</key>
          <string>Your Mac Requires an Important Security Update</string>
          <key>oneDayDeferralButtonText</key>
          <string>defer by 1 day</string>
          <key>oneHourDeferralButtonText</key>
          <string>Defer for 1 Hour</string>
          <key>subHeader</key>
          <string>A friendly reminder from your IT team</string>
        </dict>
      </array>
    </dict>
  </dict>
</plist>

Thanks!!!
@colorenz
Copy link
Contributor

Hey Come to the slack channel and discuss it there ? https://macadmins.slack.com/archives/CDUU7DJQ2

What is in the Logs? open /var/log/nudge.log

if you can't find any logs install the logger pkg.

@Dhuhi009
Copy link
Author

Sure pinged on the slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants