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

add testing for OpenBSD and FreeBSD #642

Merged
merged 28 commits into from
Mar 31, 2023
Merged

add testing for OpenBSD and FreeBSD #642

merged 28 commits into from
Mar 31, 2023

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Feb 25, 2023

No description provided.

Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi
Copy link
Contributor Author

schurzi commented Feb 25, 2023

weird find of the day, inspec handles OpenBSD as UNIX and thinks it needs to use type instead of which to determine if a command exists.
https://github.com/inspec/inspec/blob/4b9cf11096a02a6d2396a8976276d1a0c9c5746a/lib/inspec/resources/command.rb#L87-L88

@schurzi schurzi marked this pull request as ready for review February 25, 2023 14:33
@schurzi schurzi requested a review from rndmh3ro February 25, 2023 14:33
@schurzi
Copy link
Contributor Author

schurzi commented Feb 25, 2023

So @rndmh3ro what do you think? Are these tests a benefit or are the just a nuisance in the long run?

The remaining errors would need to be addressed but the testing basically works as expected.

@schurzi
Copy link
Contributor Author

schurzi commented Feb 25, 2023

I was originally also planning to add tests for SmartOS, but this in an extra can of worms ...

@schurzi schurzi linked an issue Feb 27, 2023 that may be closed by this pull request
@schurzi
Copy link
Contributor Author

schurzi commented Mar 9, 2023

add waivers for unsupported controls
add bsd support to metadata for ssh role

schurzi added 5 commits March 15, 2023 21:13
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
schurzi added 7 commits March 15, 2023 22:22
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
.github/workflows/ssh_hardening_bsd.yml Outdated Show resolved Hide resolved
.github/workflows/ssh_hardening_bsd.yml Outdated Show resolved Hide resolved
molecule/ssh_hardening_bsd/verify.yml Outdated Show resolved Hide resolved
molecule/ssh_hardening_bsd/verify.yml Outdated Show resolved Hide resolved
schurzi added 3 commits March 27, 2023 21:18
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi
Copy link
Contributor Author

schurzi commented Mar 27, 2023

everything should now be taken care of. Ready for review @rndmh3ro

@rndmh3ro rndmh3ro merged commit 29f8a2f into master Mar 31, 2023
@rndmh3ro rndmh3ro deleted the ssh_bsd_vm branch March 31, 2023 07:50
@rndmh3ro
Copy link
Member

Great work @schurzi! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support BSD and other operating systems CI with VM based tests
2 participants