搜索

PythonReactSEOPDF
GitHub Skill

sharepoint-audit

Guide and run a SharePoint audit locally. Collect inputs, confirm PowerShell 7.4+ and Python 3.10+ are available, call PowerShell with certificate auth via wrapper, parse audit.json, and render Markdown/HTML. Use only local shell commands.

aiskillstore☆ 124 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

SharePoint Audit Skill

When to use

  • A user needs to audit SharePoint Online permissions for one site or a CSV-defined batch.
  • The operator can run PowerShell 7.4+, Python 3.10+, and PnP.PowerShell locally.

What to do

  1. Ask for: Tenant ID, App (Client) ID, PFX path, internal domains, site URL or CSV, and confirm PFX_PASS is set.
  2. Run:
    • pwsh ./sharepoint-audit-agent/agent/powershell/Install-Modules.ps1
    • python ./sharepoint-audit-agent/agent/python/audit_agent.py … --output ./runs
  3. On success, show ./runs/<timestamp>/site-*/report.html and remind the user that the file contains sensitive data.

Rules

  • Only run local commands. Do not fetch from the internet beyond module installs.
  • Never echo secrets. Read PFX password from env var.
  • Default Sites.Selected scope to Read; only pass --sites-selected-permission Write if the user explicitly authorizes it.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!