You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice work on Secant ! I would like to make a suggestion to make it easier for people to check their applications before pushing to the AppDB. You could use TestInfra or even better InSpec.
For example implement the SSH assertion as follows :
title'SSHD configuration'# you add controls herecontrol'ssh_config'do# A unique ID for this controlimpact0.7# The criticality, if this control fails.title'SSH password authentication'# A human-readable titledesc'SSH server should be configured to not use password authentication'describefile('/etc/ssh')do# The actual testit{shouldbe_directory}enddescribefile('/etc/ssh/sshd_config')doit{shouldbe_file}enddescribesshd_config('/etc/ssh/sshd_config')doits('PasswordAuthentication'){shouldbe_in["no",nil]}endend
Would you be amenable to a PR ?
The text was updated successfully, but these errors were encountered:
Hello !
Nice work on Secant ! I would like to make a suggestion to make it easier for people to check their applications before pushing to the AppDB. You could use TestInfra or even better InSpec.
For example implement the SSH assertion as follows :
With TestInfra (:snake:)
Similarly with InSpec (:gem:)
Would you be amenable to a PR ?
The text was updated successfully, but these errors were encountered: