microsoft / microsoft/PSRule

[FEATURE] Add support for roleDefinitions functions

Open
#3,325 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Your suggestion

The roleDefinitions function has been added to Bicep, and would be good to have support by PSRule.

Alternatives

n/a

Additional context

ERROR: InvalidTemplate - Deployment template validation failed: 'The template resource ... is not valid: The template function 'roleDefinitions' is not valid. Please see https://aka.ms/arm-functions for usage details.

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.

Research direction

No files or tests are named. Start by locating the existing ARM template function handling and its tests, then compare the requested roleDefinitions support with the Bicep v0.42.1 behavior. Done means templates using roleDefinitions are accepted instead of producing the reported InvalidTemplate validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devops, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.