Discussion posts and replies are publicly visible
Check the following thread. The same issue was reported in that:
https://community.appian.com/discussions/f/data/35375/generate-record-event-type