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] Use a dedicated path for container app http health probes #3112

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

[RULE] Use a dedicated path for container app http health probes #3112

BernieWhite opened this issue Oct 13, 2024 · 0 comments
Labels
pillar: reliability Aligned to the Reliability pillar. rule: container-apps Rules for Container Apps

Comments

@BernieWhite
Copy link
Collaborator

Existing rule

No response

Suggested rule

This rule is similar to #3111, however in this rule we are only checking existing health probes if they have been configured. If the health probes have not been configured then this rule passes.

If a health probe of type httpGet is configured it must set a path that is not / i.e. the root of the application.

Pillar

None

Additional context

See similar: https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.AppService.WebProbePath/

@BernieWhite BernieWhite added pillar: reliability Aligned to the Reliability pillar. rule: container-apps Rules for Container Apps labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pillar: reliability Aligned to the Reliability pillar. rule: container-apps Rules for Container Apps
Projects
None yet
Development

No branches or pull requests

1 participant