If I were the CEO I would take the example as proof positive the employee was unable to commit and honor his marriage contract, thereby identifying him as a security risk for the company, i.e. a person likely to be enticed to trade corporate secrets to their competitors for selfish gain, even if temporarily.
Bradly Manning comes to mind, too.
Happily married folks don’t as often get seduced into leaking data in the bedroom.
Homosexual men, even those in “unions”, cheat far more than the married man with a mistress. The married homosexual men have accommodations with their partners to have sex on the side, and per surveys, did so often.
Now such sexual immorality is only adverse information if you are heterosexual.