microsoft / microsoft/PSRule

[FEATURE] Tool to extract information from rules and docs

Open
#2,977 0 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Your suggestion

Currently rules expose metadata such as tags, labels, and annotations. However it's not always easy to programmatically get this information for build and release tasks.

We want to extend PSRule CLI (PSRule.Tool) that can be used to extract this information about rules when pipelines and copilot actions run.

The CLI is for pipeline automation so returning JSON is required so is can be easily consumed by other tools.

The tool should expose a get rule command, this similar to the Get-PSRule powershell cmdlet that uses GetRulePipeline.

Alternatives

n/a

Additional context

No response

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.