Skip to content

[Bug]: Initialize-MonkeyScan iterates through directories unnecessarily #146

@bill-e-ghote

Description

@bill-e-ghote

Installed monkey365 using:
Install-Module -Scope CurrentUser -Name monkey365

Used 'Get-Help Invoke-Monkey365 -Examples' -- example 1.
$assets = Invoke-Monkey365 -ExportTo CSV -PromptBehavior SelectAccount -IncludeEntraID -Instance Microsoft365 -Collect SharePointOnline

The following warning was observed:
WARNING: File exchange-atp-safe-attachments-for-sharepoint-onedrive-and-teams-disabled.json was not found in
C:\Users<redacted>\OneDrive - \Documents\WindowsPowerShell\Modules\monkey365\0.95.2\rules\findings

There were numerous JSON files in the directory hierarchy but confirmed that one is not included.
No output was generated by the execution. The $assets variable is empty after running the module.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions