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

Fix GitLab healthcheck script false positive #364

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

egibs
Copy link
Member

@egibs egibs commented Jul 15, 2024

This PR addresses the critical false positive seen here: wolfi-dev/os#23899

We can ignore the combination of the comment, GET and localhost 8080 strings to ignore this.

I added a sample for this as well.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested a review from hectorj2f July 15, 2024 12:20
# Linux/clean/healthcheck
net/http/request
ref/path/dev
shell/bash_dev_tcp
Copy link
Member Author

@egibs egibs Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bash_dev_tcp rule rather than the bash_dev_tcp_hardcoded_ip rule.

@egibs egibs merged commit d70cd9a into chainguard-dev:main Jul 15, 2024
6 checks passed
@egibs egibs deleted the fix-healthcheck-false-positive branch July 19, 2024 13:21
egibs added a commit to egibs/malcontent that referenced this pull request Aug 5, 2024
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
egibs added a commit to egibs/malcontent that referenced this pull request Sep 25, 2024
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants