Twitter and the social media platform Discord have policies about how they would handle the material. But those rules have gray areas and can be unevenly enforced.
https://www.nytimes.com/2023/04/08/technology/leaked-pentagon-documents-twitter-discord.html