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

Add an optional parameter to the key vault resource to send audit logs to the log analytics workspace #4070

Closed
wants to merge 3 commits into from

Conversation

tonybaloney
Copy link
Contributor

Our Well Architected Framework specifies that key vault resources should send audit logs to a log analytics workspace.

This change adds the parameter and if specified configures the audit logs to a log analytics workspace ID.

I've updated the existing templates in this repository to use it, since they're already provisioning a log analytics workspace.

See https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.KeyVault.Logs/

@@ -3,8 +3,12 @@ param name string
param location string = resourceGroup().location
param tags object = {}

@description('The ID of the principal to grant access to the key vault.')
Copy link
Member

Choose a reason for hiding this comment

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

Please add these changes to AVM if needed. We are deprecating infra/core.

Copy link
Member

Choose a reason for hiding this comment

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

Here's the issue: #3327

Here's the PR:#3976

@rajeshkamal5050 rajeshkamal5050 added the no-recent-activity identity issues with no activity label Aug 21, 2024
Copy link
Contributor

Hi @tonybaloney. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-addressed no-recent-activity identity issues with no activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants