microsoft / microsoft/PSRule

Migrate to DCR-based custom logs

Open
#2,836 0 comments 0 reactions 1 assignee View on GitHub

@ElinoraWhite is already working on this.

Since Sep 8, 2022.

feature: output
Dominant language
C#
Stars
474
Forks
65
Avg merge
22h 25m
Merged PRs (30d)
26

Description

Currently PSRule for Azure Monitor uses the preview Data Collector API.

A new option is available that supports Azure AD identities, using DCR-based custom log collection.

This will support microsoft/PSRule#2837

https://docs.microsoft.com/en-us/azure/azure-monitor/logs/custom-logs-migrate
https://docs.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal
https://docs.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api
https://docs.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview

  • Add Bicep code for deploying custom log/ data collection endpoint/ data collection rule.
  • Add convention for importing results using service principal.
  • Add fall back for configuring service principal with standard Azure environment variables.
  • Update documentation.
  • Add support for x-ms-client-request-id header.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.