Cli-microsoft365: New sample script: Report on SharePoint Document Library files containing Client Id or Secret

Created on 19 Aug 2020  路  4Comments  路  Source: pnp/cli-microsoft365

Could you please assign this to me?

Docs | 聽
-- | --
Author |Joseph Velliah
Original Post |https://sprider.blog/report-on-sharepoint-files-containing-pii
Description |The big challenge with using APIs that require authentication in your JavaScript is that you鈥檙e forced to expose your API credentials to use them. Anyone who knows how to view source or view requests in their browser鈥檚 Developer Tools can view those credentials, steal them, and use them to access the API as you. This script can be used to scan and report on SharePoint Document Library files (specified file types) containing Client Id or Secret.
Keywords |SharePoint Online Office 365 CLI PowerShell PII Audit

docs work in progress

Most helpful comment

@waldekmastykarz, Please close this issue as we closed pull request https://github.com/pnp/cli-microsoft365/pull/1809

All 4 comments

All yours! Thank you! 馃憦

@waldekmastykarz

Can I use m365 for this sample?
Submited a pull request https://github.com/pnp/cli-microsoft365/pull/1809

As suggested by Garry in the pull request, I have updated the title and description.

@waldekmastykarz, Please close this issue as we closed pull request https://github.com/pnp/cli-microsoft365/pull/1809

Was this page helpful?
0 / 5 - 0 ratings