Add traps, and other intracom API functions - #2978 See merge request artica/pandorafms!2119 Former-commit-id: 42bf67414f74d373ece3f83b4eecf2e4fd17f049