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

[RULE] Migrate to Grafana 10 #2878

Closed
BernieWhite opened this issue May 21, 2024 · 1 comment · Fixed by #2883
Closed

[RULE] Migrate to Grafana 10 #2878

BernieWhite opened this issue May 21, 2024 · 1 comment · Fixed by #2883
Assignees
Labels
help wanted Extra attention is needed pillar: reliability Aligned to the Reliability pillar. rule: managed-grafana Rules for Managed Grafana
Milestone

Comments

@BernieWhite
Copy link
Collaborator

Existing rule

No response

Suggested rule

Support for version 9 within managed grafana is deprecated and will retire on 31 August 2024.

Pillar

Reliability

Additional context

Resource provider is Microsoft.Dashboard/grafana.

Similar rules:

  • https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.AppGw.MigrateV2/
  • ---
    # Synopsis: FrontDoor WAF should have at least 2 Rule Groups. One for OWASP and one for Microsoft_BotManagerRuleSet.
    apiVersion: github.com/microsoft/PSRule/v1
    kind: Rule
    metadata:
    name: Azure.FrontDoorWAF.RuleGroups
    ref: AZR-000308
    tags:
    release: GA
    ruleSet: 2022_09
    Azure.WAF/pillar: Security
    spec:
    type:
    - Microsoft.Network/frontdoorwebapplicationfirewallpolicies
    condition:
    allOf:
    # WAF policy has at least two rule groups. OWASP 3.1 is the minimum. Microsoft_BotManagerRuleSet 0.1 is the minimum.
    - field: Properties.managedRules.managedRuleSets
    greaterOrEquals: 2
    - field: Properties.managedRules.managedRuleSets[0].ruleSetType
    equals: 'Microsoft_DefaultRuleSet'
    - field: Properties.managedRules.managedRuleSets[0].ruleSetVersion
    version: '>=2.0'
    - field: Properties.managedRules.managedRuleSets[1].ruleSetType
    equals: 'Microsoft_BotManagerRuleSet'
    - field: Properties.managedRules.managedRuleSets[1].ruleSetVersion
    version: '>=1.0'
@BernieWhite BernieWhite added help wanted Extra attention is needed pillar: reliability Aligned to the Reliability pillar. rule: managed-grafana Rules for Managed Grafana labels May 21, 2024
@BenjaminEngeset
Copy link
Contributor

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed pillar: reliability Aligned to the Reliability pillar. rule: managed-grafana Rules for Managed Grafana
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants