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] Disable local auth for Redis Cache instances #3113

Open
BernieWhite opened this issue Oct 13, 2024 · 0 comments
Open

[RULE] Disable local auth for Redis Cache instances #3113

BernieWhite opened this issue Oct 13, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed pillar: security Aligned to the Security pillar. rule: redis Rules for Azure Cache for Redis

Comments

@BernieWhite
Copy link
Collaborator

Existing rule

No response

Suggested rule

Redis Cache supports disabling access key-based access by setting the disableAccessKeyAuthentication propety to true.

e.g.

{
    "name": "sfvgsfdfsfsd",
    "type": "Microsoft.Cache/redis",
    "apiVersion": "2024-04-01-preview",
    "location": "eastus",
    "dependsOn": [],
    "properties": {
        "sku": {
            "name": "Standard",
            "family": "C",
            "capacity": 0
        },
        "redisConfiguration": {
            "aad-enabled": "true"
        },
        "enableNonSslPort": false,
        "redisVersion": "6",
        "disableAccessKeyAuthentication": true
    }
}

Pillar

Security

Additional context

Similar rules: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.Cosmos.DisableLocalAuth/

@BernieWhite BernieWhite added pillar: security Aligned to the Security pillar. rule: redis Rules for Azure Cache for Redis help wanted Extra attention is needed good first issue Good for newcomers labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed pillar: security Aligned to the Security pillar. rule: redis Rules for Azure Cache for Redis
Projects
None yet
Development

No branches or pull requests

1 participant