Does Factor of safety be calculated on max principal stress or principal stress at zero shear??

I have a problem in deciding which stress to be used in the FoS calculation.. But my princ. stress at zero shear is maximum than the maximum princ. stress.. help me out...

SolidworksSimulation