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

feat: Add logging to Get-AzKeyVaultAccessPolicies #271 #283

Merged
merged 4 commits into from
Mar 18, 2022

Conversation

pimentacodit888
Copy link
Contributor

Write-Host when all the policies are successfully retrieving from key vault and also added details in verbose for each policy.
The following fields are printed in verbose logging: Tenant Id; Object Id; Keys; Secrets; Certificates; Storage
Closes #271

Note: The fields Keys, Secrets, Certificates and Storage only display information about the access permissions of the policy, not the sensitive data.
E.g. keys : {Get, List, Set, Delete}

@netlify
Copy link

netlify bot commented Mar 17, 2022

✔️ Deploy Preview for arcus-scripting ready!

🔨 Explore the source changes: d873b13

🔍 Inspect the deploy log: https://app.netlify.com/sites/arcus-scripting/deploys/62345346204d400008240fe9

😎 Browse the preview: https://deploy-preview-283--arcus-scripting.netlify.app

@pim-simons pim-simons self-assigned this Mar 17, 2022
@pim-simons
Copy link
Contributor

Great work @pimentacodit888! Thanks for your contribution 👍🏻
@stijnmoreels do you want to review as well or can we merge this to main?

Copy link
Member

@stijnmoreels stijnmoreels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for this! ❤️ Will help a long way in defect detection, as consumers will know it succeeded.

Just added some minor suggestions to include the 'Azure Key Vault' in the statements (like we do in the existing logging statements). When things get run parallel, it's good that we still know what's going on. 😄

@pim-simons pim-simons merged commit d2eca71 into arcus-azure:master Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add logging to Get-AzKeyVaultAccessPolicies
3 participants