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

Support & enable audit logging for Key Vault and AKS for dev & cspr environments #1375

Merged
merged 9 commits into from
Feb 27, 2025

Conversation

jfchevrette
Copy link
Collaborator

@jfchevrette jfchevrette commented Feb 20, 2025

What this PR does

  • Add a Log Analytics workspace in global
    • New config flag log.enableLogAnalytics - defaults to false, true for dev and cspr)
  • Add support for Key Vault audit logging via Diagnostic Dettings
  • Enable Key Vault audit logging for the following Key Vaults in (dev & cspr only)
    • svc: svc
    • mgmt: cx, mgmt, msi
  • Enable AKS audit logging for svc and mgmt clusters (dev & cspr only)
    • kube-audit
    • Container logs

Why

These logs are being enabled only for dev/cspr environments to help with troubleshooting. Int, stage and production will use a different logging mechanism that is only available in EV2

Jira:

Special notes for your reviewer

Suggest reviewing commit by commit

Copy link
Collaborator

@geoberle geoberle left a comment

Choose a reason for hiding this comment

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

nice work!
can you enable log analytics for eventgrid as well?

@jfchevrette
Copy link
Collaborator Author

nice work! can you enable log analytics for eventgrid as well?

Added in 75ca2cf

geoberle
geoberle previously approved these changes Feb 24, 2025
Copy link

Please rebase pull request.

Copy link

Please rebase pull request.

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.

3 participants