Curvature invariants and symmetric spaces