question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Get List of Shared-Links

See original GitHub issue

First - Thank you for this fantastic tool. Being a Box Administrator would be extremely difficult without the CLI.

I’m using @box/cli/2.0.0 win32-x64 node-v10.10.0 . It has the feature to

box shared-links:get <url>

that allows me to get the details of an existing shared-link.

REQUEST: Can you add a feature to list all existing shared-links in my enterprise? This is a needed feature for security audits. As an administrator, I need to be sure that sensitive info isn’t accidentally shared by my users and the first step is to see what has been shared.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
grugknucklecommented, Mar 13, 2019

@mattwiller Using the Admin Console does allow me to produce the data - yes - but it requires a human being to log in and make the request. For my particular use case, I have bot which periodically performs administrative maintenance tasks like moving files and folders around. This bot uses the CLI binaries and the box-node-sdk.

One of the tasks I’d like to perform is an audit of the shared links. Because I don’t trust that my users understand the security implications of sharing folders and files to “People with the Link”. See this and this for detail about what I mean. Having the ability to programatically audit all of the enterprises’ shared links will permit me to do things like

  • Determine which folders / files are public facing
  • Determine if sensitive information is unintentionally exposed
  • Notify the person or people responsible for those links so that they can modify the link to have an expiration date or password, or even just delete the link.

Of course, all of this can still done by first exporting a .csv file from the admin console, but it’s an extra step that a human has to remember to perform.

I recognize that for my use case, this feature request might be more appropriate for one of the Box SDKs - since the SDK doesn’t have this feature either. But I thought that if I asked for the feature here, you might eventually implement it there.

EDIT: Come to think of it, the ‘Shared Links’ API is pretty sparse in any case. Considering the potential for critical data breaches (see the links above), I feel like the API should have much better C.R.U.D. functionality for these shared-links.

0reactions
stale[bot]commented, Aug 9, 2022

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box CLI and feel free to open another PR/issue at any time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I get the list of all the shared links to the single file?
You can use listSharedLinks to list the shared links for a particular item for a particular user, but unfortunately it's not possible to...
Read more >
Find All Shared Links in SharePoint Online Document Library
Requirement: We wanted to find all links shared through the “Share” Feature in SharePoint Online. PowerShell to Generate Shared Links Report in SharePoint ......
Read more >
How to get list of shared links of files of a folder in Dropbox
No, unfortunately the Dropbox API doesn't currently provide a way to get these links in bulk. We'll consider it a feature request.
Read more >
Find links shared with you in Safari on iPhone - Apple Support
In Safari on iPhone, easily find links friends share with you in Messages, Mail, and other apps.
Read more >
Search Results (including Shared Links) - API Reference
A list of files, folders and web links that matched the search query, including the additional information about any shared links through which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found