I started to implement these today but have given up as they appear too 'buggy' to me.
I set the port profile as below, note the STP Guard setting
However when comparing once its been applied to a port, the STP Guard shows as "n/a" as shown below:
Also, if you edit a port and disable the port profile, it still shows up when viewing switch ports:
Also, the profile will not let you have a blank Native VLAN which the port itself does
Furthermore, even if you disable the port profile on the ports, when you then edit the port profile, it says it will be applied to 'n' ports.
So I will park it until these anomalies are fixed