Will OnGuard agent stores the user credentials(password)?
If yes, then where will it store the credentials on Windows and MAC OS X?
OnGuard agent needs user credentials (username and password) only when the agent mode is set to authentication or authentication + health checks as shown below.
On Windows, the OnGuard agent stores credentials in "Windows Credential Manager".
On Mac OSx, the credentials are stored in "User Defaults System".
Note: The OnGuard Agent stores the user credentials after successful authentication, even the if the health checks did not pass(EX : Quarantine/not-healthy).
The credentials cache Interval can be configured under Administration >> Agent and Software Updates >> OnGuard Settings >> Global Agent Settings.