vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jakub Jelen e9a555
# I do not know about any better place where to put profile files
Jakub Jelen e9a555
addFilter(r'openssh-askpass.x86_64: W: non-conffile-in-etc /etc/profile.d/gnome-ssh-askpass.c?sh')
Jakub Jelen e9a555
Jakub Jelen e9a555
# The ssh-keysign is not supposed to have standard permissions
Jakub Jelen e9a555
addFilter(r'openssh.x86_64: E: non-standard-executable-perm /usr/libexec/openssh/ssh-keysign 2555')
Jakub Jelen e9a555
addFilter(r'openssh.x86_64: E: setgid-binary /usr/libexec/openssh/ssh-keysign ssh_keys 2555')
Jakub Jelen e9a555
addFilter(r'openssh.x86_64: W: non-standard-gid /usr/libexec/openssh/ssh-keysign ssh_keys')
Jakub Jelen e9a555
Jakub Jelen e9a555
# The -cavs subpackage is internal without documentation
Jakub Jelen e9a555
# The -askpass is not intended to be used directly so it is missing documentation
Jakub Jelen e9a555
addFilter(r'openssh-(askpass|cavs).x86_64: W: no-documentation')
Jakub Jelen e9a555
Jakub Jelen e9a555
# sshd config and sysconfig is not supposed to be world readable
Jakub Jelen e9a555
addFilter(r'non-readable /etc/(ssh/sshd_config|sysconfig/sshd)')
Jakub Jelen e9a555
Jakub Jelen e9a555
# The /var/empty/sshd is supposed to have the given permissions
Jakub Jelen e9a555
addFilter(r'non-standard-dir-perm /var/empty/sshd 711')
Jakub Jelen e9a555
addFilter(r'non-standard-dir-in-var empty')
Jakub Jelen e9a555
Jakub Jelen e9a555
# Spelling false-positives
Jakub Jelen e9a555
addFilter(r'spelling-error (Summary\(en_US\)|.* en_US) (mls|su|sudo|rlogin|rsh|untrusted) ')