Credential aliases for Discovery
Credential aliases for Discovery allow an administrator to use specific credentials on Discovery schedules. You can configure behaviors for your aliases that determine how strictly the system enforces their use.
Without credential aliases, Discovery schedules can access all credentials that are defined in the instance. This behavior might not be desirable in some circumstances, particularly for credentials with elevated privileges. Credential aliases provide more control over which credentials a Discovery schedule is allowed to use and prevents the unnecessary exposure of credentials with elevated privileges.
How credential aliases work
A business rule called Insert Discovery Affinity & Cred Aliases (previously named Insert Discovery Affinity) runs when a record (a task for performing Discovery) is inserted into the ECC Queue.
The business rule attaches the credential aliases defined in the Discovery schedule to the probe, so when the probe reaches the MID Server on its way to performing discovery, the MID Server knows exactly which credentials it can use to attempt to access the device the probe was sent to scan.
The MID Server filters credentials by affinity and then by tags, if any exist. Credentials must match all credential tags. The MID Server iterates until it finds a credential that works.
If the business rule determines that an affinity exists for the device, the rule
identifies the proper credential_id to use. This is the
sys_id of the record in the Credentials
[discovery_credentials] table.
When the platform encounters an affinity with a credential alias value, defined as credential_alias in the business rule, the business rule determines whether or not the credential referenced by the affinity has the specified alias. If it does, the business rule selects the credential_id of the alias and passes that value to the MID Server.
If a credential alias is defined for a schedule and the schedule is configured to use that alias, the schedule will ignore any previously existing credential-to-target affinity—but only if the credential itself is not associated with any other credential alias. If the credential does not have any credential alias, any other affinities that exist for the target system are checked.
Create a Discovery credential alias
Create the alias and then add that alias to a credential in the credential record. You can add a credential to multiple aliases and add multiple credentials to a single alias.