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: check_2_7 not working as intended #560

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tbfpartner
Copy link

  • #L152 use jq on first if statement, as it is used on the second if statement too (dependency already given)
  • #L154 fixed key which is searched for
  • fixed several wrongly placed closing brackets

- #L152 use jq on first if statement, as it is used on the second if statement too (dependency already given)
- #L154 fixed key which is searched for
- fixed several wrongly placed closing brackets
@tbfpartner
Copy link
Author

tbfpartner commented Nov 19, 2024

running command on host

cat /etc/docker/daemon.json

{
  "some-redacted-stuff": "some-redacted-stuff",
  "tlsverify": true,
  "tlscacert": "some-redacted-stuff",
  "tlscert": "some-redacted-stuff",
  "tlskey": "some-redacted-stuff",
  "hosts": [
    "tcp://0.0.0.0:2376",
    "some-redacted-stuff"
  ]
}

snippet of script output
2024-11-19T22:52:06.870556029Z [PASS] 2.7 - Ensure TLS authentication for Docker daemon is configured (Scored)

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.

1 participant