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

Investigate ScubaGear logging capability #1326

Open
6 tasks
tkol2022 opened this issue Sep 23, 2024 · 0 comments
Open
6 tasks

Investigate ScubaGear logging capability #1326

tkol2022 opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement This issue or pull request will add new or improve existing functionality hands-on-prototyping Reviewing an M365 feature by performing hands-on prototyping

Comments

@tkol2022
Copy link
Collaborator

💡 Summary

Based on recent changes to the AAD provider code the Get-PrivilegedUser was refactored and I added Write-Warning statements to display debug/trace messages to the console. I added these statements as a temporary method to track the detailed execution of the AAD provider which is impossible to do otherwise. I recommend that we add a permanent logging / trace capability to ScubaGear that would support:

  • Displaying trace messages that would support testing. The developer / tester can view the detailed execution of the AAD functions, including the specific users and groups being processed by the code.
  • Help the Scuba team troubleshoot bugs when users report that the tool is either crashing or not behaving as expected. For example, if the user reports that the tool is not detecting the expected users or groups configured in their environment, the Scuba team would have a method of examining the output from the tool to assist in analyzing the situation.

The scope of this issue is to perform a hands-on exploration of various technical solutions that could be added to ScubaGear to support the capability described above. This could be a logger, a new command line parameter, etc.

Acceptance criteria

How do we know when this work is done?

  • Develop a list of potential options
  • Try them out in the ScubaGear code
  • Determine which ones seem to be the most feasible
  • Present the findings to the team at the stand-up meeting
  • Document the team's feedback and add final notes to the issue
  • Create a new coding issue to implement the new capability
@tkol2022 tkol2022 added enhancement This issue or pull request will add new or improve existing functionality hands-on-prototyping Reviewing an M365 feature by performing hands-on prototyping labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue or pull request will add new or improve existing functionality hands-on-prototyping Reviewing an M365 feature by performing hands-on prototyping
Projects
None yet
Development

No branches or pull requests

1 participant