recently we've discovered a few critical folders being shared using public shared links.
We tried to export a certain filter which included shared links but in the csv it doesn't show any shared links, also attempting to export via api doesn't allow to get the shared link or an indication that a shared link was used.
We want to do it for both SharePoint online and Box.
Through the web I can get to the shared link and get the URL something that cannot be access via API.
This is an example of what I'm trying to export.(marked in red)