Skip to content

Switch back to simple InSpec service description #17

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

Closed
chris-rock opened this issue Mar 8, 2017 · 2 comments · Fixed by #54
Closed

Switch back to simple InSpec service description #17

chris-rock opened this issue Mar 8, 2017 · 2 comments · Fixed by #54
Assignees

Comments

@chris-rock
Copy link
Member

As highlighted in #16, the inspec test (https://github.com/dev-sec/postgres-baseline/blob/master/controls/postgres_spec.rb#L69-L73) for:

describe service(postgres.service) do
   it { should be_installed }
   it { should be_running }
   it { should be_enabled }
end

do not work well across all operating systems. We need to investigate if this is caused by docker or by inspec.

@schurzi
Copy link
Contributor

schurzi commented Feb 5, 2021

This seems to be fixed now. Please re-open if it is still a problem.

@schurzi schurzi closed this as completed Feb 5, 2021
@professormahi
Copy link
Contributor

I'm adding the Ansible version of the hardening progress at dev-sec/ansible-collection-hardening#725. Unfortunately, I have this issue on both Ubuntu 20.04 and 22.04.

@rndmh3ro rndmh3ro reopened this Dec 7, 2023
professormahi added a commit to professormahi/postgres-baseline that referenced this issue Dec 8, 2023
Signed-off-by: Mahdi Fooladgar <professormahi_f@yahoo.com>
@schurzi schurzi linked a pull request Dec 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants