When the port_security trap is enabled, if there's a new MAC that violates the pre-defined port security configuration, a trap will be sent out.
Sources for this description
D-Link official switch MIBsD-Link MIB copies (LibreNMS/Observium Community)Netdisco MIB archive copies