scissor-project / open-scissor

OpenSCISSOR provisioning and orchestration
Apache License 2.0
2 stars 0 forks source link

Missing InSpec Tests after merging #63 #67

Open ferrarimarco opened 6 years ago

ferrarimarco commented 6 years ago

Prerequisites

Description

InSpec tests for D-Streamon should be updated after merging #63

References

63

Davidepad commented 6 years ago

@ferrarimarco Please could you explain me better what to update?

Thanks so much!

ferrarimarco commented 6 years ago

Sure!

According to your past commits you should update: https://github.com/scissor-project/open-scissor/blob/master/test/inspec/docker/d-streamon-master/controls/d-streamon-master.rb https://github.com/scissor-project/open-scissor/blob/master/test/inspec/docker/d-streamon-slave/controls/d-streamon-slave.rb

Davidepad commented 6 years ago

Perfect!

So from what I see then update the packages and processes.

Right ?

ferrarimarco commented 6 years ago

According to (for example): https://github.com/scissor-project/open-scissor/commit/f5fc9c624e7c80238c2de4828efc0a0cb9c6d047#diff-1e5d7923c2887adbb1ace5e37c6144fa

  1. Packages: openssh-client, sshpass
  2. /etc/ansible/ansible.cfg file (and it's contents)
  3. ssh key generation
  4. ssh configuration
  5. maybe other things

So in general look for package installations (or removals), file and directory creation, processes, user creation, environment variables, etc...