Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 'Get-MonkeyCompliance' is not recognized as a name of a cmdlet, function, script file #128

Open
CloudHotShot opened this issue Dec 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@CloudHotShot
Copy link

CloudHotShot commented Dec 11, 2024

What happened?
Error: Get-MonkeyCompliance function not found

How to reproduce it
Steps to reproduce the behavior:

  1. Download latest version
  2. Perform Import-Module cmd
  3. Set variables
  4. Execute cmd Invoke-Monkey365 -PromptBehavior SelectAccount -Instance Azure -Collect All -subscriptions $azureSubscriptionId -TenantID $azureTenantId -ExportTo CLIXML

Expected behavior
Expected output per documentation

Screenshots or Logs
[New-AzureOutputPsObject] - The term 'Get-MonkeyCompliance' is not recognized as a name of a
| cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included,
| verify that the path is correct and try again.. LineNumber: At
| ....\monkey365\core\modules\monkeyOutput\private\New-AzureOutputPsObject.ps1:74 char:56 + …
| compliance = $InputObject.compliance | Get-MonkeyCompliance;

From where are you running Monkey365?
Please, complete the following information:

  • Resource: workstation
  • OS: Windows 11
  • PowerShell Version 7.x
  • Monkey365 Version: latest
  • Others:

Additional context
None

@CloudHotShot CloudHotShot added bug Something isn't working status/needs-triage Needs triage labels Dec 11, 2024
silverhack added a commit that referenced this issue Dec 12, 2024
@silverhack silverhack removed the status/needs-triage Needs triage label Dec 12, 2024
@silverhack
Copy link
Owner

Hi @CloudHotShot many thanks for catching this, it's really appreciated.

I can confirm that it's a bug with the name of the function and now it's fixed on dev branch. Could you please check and do let me know?

Thanks,

@CloudHotShot
Copy link
Author

I ran all modes for Azure and no issues thnx!

@silverhack
Copy link
Owner

Thank you a lot for reply back, it's really appreciated. And thanks for using Monkey365.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants