Azure / Azure/azure-policy

Unable to use definition "azure-policy/built-in-policies/policyDefinitions/Key Vault/Secrets_ActivePeriod.json"

Open
#981 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Open Policy Agent
Stars
1.7k
Forks
1.2k
Avg merge
2d 54m
Merged PRs (30d)
3

Description

When I try to create a policy with the definition from Secrets_ActivePeriod.json I get 4 errors

line 1 "Missing property "policyRule""
line 2 "Property properties is not allowed"
line 51 "Property id is not allowed."
line 52 "Property name is not allowed."

Am I doing something wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by opening azure-policy/built-in-policies/policyDefinitions/Key Vault/Secrets_ActivePeriod.json and comparing its structure with the Azure Policy definition format expected by the creation workflow. Use the four reported validation errors as the checklist; done means the definition is accepted without those errors and can be used to create a policy.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.