While it is possible, I think highly unlikely that a airline is going to go after someone for posting their salary their personal salary information.
As long as you aren’t posting company sensitive information and saying/doing anything that is going to bring bad PR to the company or question ones professionalism. You should be fine, bear that in mind.