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

Complete tests for MySQL hardening #658

Open
schurzi opened this issue Apr 11, 2023 · 0 comments
Open

Complete tests for MySQL hardening #658

schurzi opened this issue Apr 11, 2023 · 0 comments

Comments

@schurzi
Copy link
Contributor

schurzi commented Apr 11, 2023

Description

Our current testcase does not support arch, fedoraand amazon linux.

Solution

We want to adapt the test in a way, that supports these linux flavors.

Alternatives

No response

Additional information

In arch the tests currently fail in a prepare step. (https://github.com/dev-sec/ansible-collection-hardening/actions/runs/4664154825/jobs/8256129503)

  TASK [dev-sec.mysql : Ensure MySQL Python libraries are installed.] ************
  Tuesday 11 April 2023  05:23:19 +0000 (0:00:00.043)       0:00:03.575 *********
  fatal: [instance]: FAILED! => {"changed": false, "cmd": ["/usr/sbin/pacman", "--upgrade", "--print-format", "%n", "mysql-python"], "msg": "Failed to list package mysql-python", "rc": 1, "stderr": "error: 'mysql-python': could not find or read package\n", "stderr_lines": ["error: 'mysql-python': could not find or read package"], "stdout": "loading packages...\n", "stdout_lines": ["loading packages..."]}
@schurzi schurzi changed the title Fix tests for MySQL hardening Complete tests for MySQL hardening Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant